This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Connection event length extension and out of range issue

Hello,

I have set my softdevice s132v3 with SDK12.2 and nrf52832 to use connection event length extension and data length extende with connection parameters as shown below.I am using only one link central-to-peripherial, both Nordic nrf52 devices.

Once the connection is establish and the mtu exchanged, my transmission start. Till here everything is fine, however I have seen that if I start to set apart my devices ( to worse the link connection) there is a point in which the device either is not out-of-range(disconnect event) nor transsmission happens correctly , both devices get into an "unknown" state due mainly to retransmission of lost packages ( that's what I assume is happening).

What I see is that the disconnection takes much more than my CONN_INTERVAL_DEFAULT as said here on Connection event length extension section.

How can I detect such a situation (poor link quality) ? And how can I break such connection?

Thanks in advance

#define CONN_INTERVAL_DEFAULT   (uint16_t)(MSEC_TO_UNITS(7.5, UNIT_1_25_MS))    

#define CONN_INTERVAL_MIN       (uint16_t)(MSEC_TO_UNITS(7.5, UNIT_1_25_MS))      
#define CONN_INTERVAL_MAX       (uint16_t)(MSEC_TO_UNITS(500, UNIT_1_25_MS))         
#define CONN_SUP_TIMEOUT        (uint16_t)(MSEC_TO_UNITS(4000,  UNIT_10_MS))       
#define SLAVE_LATENCY           0                                                
#define FIRST_CONN_PARAMS_UPDATE_DELAY  APP_TIMER_TICKS(500, TIMER_PRESCALER)      
#define NEXT_CONN_PARAMS_UPDATE_DELAY   APP_TIMER_TICKS(500, TIMER_PRESCALER)      
#define MAX_CONN_PARAMS_UPDATE_COUNT    2   
Related