From 86c26db3ff40b87a8d058a67ac5c71f71a3818b6 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 20 Feb 2020 14:43:28 +1100 Subject: extmod/btstack: Implement service registration. Work done in collaboration with Jim Mussared aka @jimmo. --- extmod/modbluetooth.h | 1 + 1 file changed, 1 insertion(+) (limited to 'extmod/modbluetooth.h') diff --git a/extmod/modbluetooth.h b/extmod/modbluetooth.h index 661130802..ed280e389 100644 --- a/extmod/modbluetooth.h +++ b/extmod/modbluetooth.h @@ -63,6 +63,7 @@ // Advertisement packet lengths #define MP_BLUETOOTH_GAP_ADV_MAX_LEN (32) +// These match the spec values for these flags so can be passed directly to the stack. #define MP_BLUETOOTH_CHARACTERISTIC_FLAG_READ (1 << 1) #define MP_BLUETOOTH_CHARACTERISTIC_FLAG_WRITE (1 << 3) #define MP_BLUETOOTH_CHARACTERISTIC_FLAG_NOTIFY (1 << 4) -- cgit v1.2.3