Hi,
I had a working application for both central and peripheral devices. I did a code refactor of rf application layer on central side (I didn't touch any connection parameters or any other SDK-related settings, just application) and after the refactor, BLE_GAP_EVT_DISCONNECTED is not triggered on central side, even though peripheral disconnects successfully. What are possible reasons for it to stop working? My connection parameters are as follows:
#define GAP_MIN_CONN_INTERVAL MSEC_TO_UNITS(30, UNIT_1_25_MS) #define GAP_MAX_CONN_INTERVAL MSEC_TO_UNITS(200, UNIT_1_25_MS) #define GAP_SLAVE_LATENCY 3 #define GAP_CONN_SUP_TIMEOUT MSEC_TO_UNITS(2000, UNIT_10_MS)