BLE_API wrapper library for STMicroelectronics' BlueNRG Bluetooth Low Energy expansion board shield
Fork of X_NUCLEO_IDB0XA1 by
Diff: x-nucleo-idb0xa1/BlueNRGGap.h
- Revision:
- 224:3f6bba52b307
- Parent:
- 222:aead10288880
- Child:
- 226:2a73f3a97452
diff -r 488e0e8b9b43 -r 3f6bba52b307 x-nucleo-idb0xa1/BlueNRGGap.h --- a/x-nucleo-idb0xa1/BlueNRGGap.h Mon May 23 18:32:06 2016 +0200 +++ b/x-nucleo-idb0xa1/BlueNRGGap.h Thu May 26 15:34:04 2016 +0200 @@ -62,6 +62,9 @@ #define CONN_L1 (0x0008) #define CONN_L2 (0x0008) #define GUARD_INT 5 //msec +#define MIN_INT_CONN 0x0006 //=>7.5msec +#define MAX_INT_CONN 0x0C80 //=>4000msec +#define DEF_INT_CONN 0x0140 //=>400msec (default value for connection interval) #define LOCAL_NAME_MAX_SIZE 9 //8 + 1(AD_DATA_TYPE) #define UUID_BUFFER_SIZE 17 //Either 8*2(16-bit UUIDs) or 4*4(32-bit UUIDs) or 1*16(128-bit UUIDs) +1(AD_DATA_TYPE)