aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/ble-read-characteristic.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/ble-read-characteristic.cpp b/apps/ble-read-characteristic.cpp
index a11b0cf..8efcb3b 100644
--- a/apps/ble-read-characteristic.cpp
+++ b/apps/ble-read-characteristic.cpp
@@ -107,7 +107,6 @@ public:
} else {
cerr << "Enabling notifications" << endl;
cccd->setValue(ByteBuffer::wrapInitialized(BluetoothGattDescriptor::ENABLE_NOTIFICATION_VALUE));
- gatt->setCharacteristicNotification(cccd, true);
gatt->write(cccd);
cout << "sleeping" << endl;