From b6c6fdf032ff76f31ae37e3f0f20895684f9e9f0 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 22 Nov 2018 23:03:55 +0100 Subject: o Removing unused code. --- ble/LinuxBluetooth.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ble') diff --git a/ble/LinuxBluetooth.cpp b/ble/LinuxBluetooth.cpp index cc6516d..99762cb 100644 --- a/ble/LinuxBluetooth.cpp +++ b/ble/LinuxBluetooth.cpp @@ -110,8 +110,6 @@ public: ByteBuffer readValue(const BluetoothGattCharacteristicPtr &c, ByteBuffer &response) override; - void setCharacteristicNotification(const BluetoothGattDescriptorPtr &c, bool enable) override; - private: void connect(); @@ -337,13 +335,6 @@ ByteBuffer LinuxBluetoothGatt::readValue(const BluetoothGattCharacteristicPtr &c return view; } -void LinuxBluetoothGatt::setCharacteristicNotification(const BluetoothGattDescriptorPtr &d, bool enable) { - uint8_t b[mtu]; - ByteBuffer buffer{b, mtu}; - -// AttPdu::makeWrite(buffer, d->getValueHandle()); -} - void LinuxBluetoothGatt::discoverServices() { uint16_t startHandle = 0x0001; -- cgit v1.2.3