project

Fork of X_NUCLEO_IDB0XA1 by ST

Revision:
189:30fa96fa8ec4
Parent:
187:2e517d3ddd71
Child:
191:d22cc4715b0c
Child:
201:a9bc2e8b01d7
--- a/x-nucleo-idb0xa1/BlueNRGGap.h	Fri Nov 20 12:14:47 2015 +0100
+++ b/x-nucleo-idb0xa1/BlueNRGGap.h	Fri Nov 20 15:13:14 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
 
 /**************************************************************************/