I am using SDK 12.3.0 and S130 2.0.1.
In example ble_app_uart and ble_app_uart_c,
Central setting:
#define MIN_CONNECTION_INTERVAL MSEC_TO_UNITS(7.5, UNIT_1_25_MS) #define MAX_CONNECTION_INTERVAL MSEC_TO_UNITS(4000, UNIT_1_25_MS) #define SLAVE_LATENCY 0 #define SUPERVISION_TIMEOUT MSEC_TO_UNITS(32000, UNIT_10_MS)
Peripheral setting:
#define MIN_CONNECTION_INTERVAL MSEC_TO_UNITS(20, UNIT_1_25_MS) #define MAX_CONNECTION_INTERVAL MSEC_TO_UNITS(75, UNIT_1_25_MS) #define SLAVE_LATENCY 0 #define SUPERVISION_TIMEOUT MSEC_TO_UNITS(32000, UNIT_10_MS)
Why it took so long to discover service, characteristic and descriptor?
After connection establishment, the connection interval should be 75ms. But it looks like central and peripheral using 4000ms as connection interval for db discovery and then the connection interval is 75ms after db discovery.