From d88eee8fcf23e20ae76b3dd346b36af693849ccd Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 22 Nov 2018 19:30:14 +0100 Subject: o Working enabling of notifications. --- ble/Bluetooth.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ble/Bluetooth.cpp') diff --git a/ble/Bluetooth.cpp b/ble/Bluetooth.cpp index 2528416..16f4224 100644 --- a/ble/Bluetooth.cpp +++ b/ble/Bluetooth.cpp @@ -8,6 +8,10 @@ namespace trygvis { namespace bluetooth { using namespace std; +const uint8_t BluetoothGattDescriptor::DISABLE_NOTIFICATION_VALUE[] = {0x00, 0x00}; +const uint8_t BluetoothGattDescriptor::ENABLE_INDICATION_VALUE[] = {0x02, 0x00}; +const uint8_t BluetoothGattDescriptor::ENABLE_NOTIFICATION_VALUE[] = {0x01, 0x00}; + // ----------------------------------------------------------------------- // Mac // ----------------------------------------------------------------------- -- cgit v1.2.3