BLE test
Fork of X_NUCLEO_IDB0XA1 by
Diff: x-nucleo-idb0xa1/BlueNRGGap.h
- Revision:
- 191:d22cc4715b0c
- Parent:
- 177:65d9b1b75fca
- Parent:
- 189:30fa96fa8ec4
- Child:
- 203:5b9c78101d45
diff -r b2a22cb6c87c -r d22cc4715b0c x-nucleo-idb0xa1/BlueNRGGap.h --- a/x-nucleo-idb0xa1/BlueNRGGap.h Wed Nov 18 15:17:24 2015 +0000 +++ b/x-nucleo-idb0xa1/BlueNRGGap.h Fri Nov 20 16:59:49 2015 +0100 @@ -62,7 +62,8 @@ #define CONN_P2 (CONN_P(50))//(CONN_P(1000)) #define CONN_L1 (CONN_L(5)) #define CONN_L2 (CONN_L(5)) -#define UUID_BUFFER_SIZE 13 //6*2(16-bit UUIDs)+1 + +#define UUID_BUFFER_SIZE 17 //Either 8*2(16-bit UUIDs) or 4*4(32-bit UUIDs) or 1*16(128-bit UUIDs) +1 #define ADV_DATA_MAX_SIZE 31 /**************************************************************************/ @@ -160,7 +161,6 @@ bool _connecting; bool isSetAddress; bool btle_reinited; - tBleStatus ret; // FIXME: delete this uint8_t *DeviceName; uint8_t deviceAppearance[2];