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. --- apps/ble-read-characteristic.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'apps') 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; -- cgit v1.2.3