aboutsummaryrefslogtreecommitdiff
path: root/ble/LinuxBluetooth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ble/LinuxBluetooth.cpp')
-rw-r--r--ble/LinuxBluetooth.cpp9
1 files changed, 0 insertions, 9 deletions
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;