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

Configuration Max- Min interval, supervision timeout for android

Hello,

I'm trying to configure the max -min of interval params and supervision timeout to obtain timeout of android = 1s.

#define MIN_CONN_INTERVAL                               MSEC_TO_UNITS(7.5, UNIT_1_25_MS)
#define MAX_CONN_INTERVAL                               MSEC_TO_UNITS(87.5, UNIT_1_25_MS)
#define SLAVE_LATENCY                                   0
#define CONN_SUP_TIMEOUT                                MSEC_TO_UNITS(1000, UNIT_10_MS)
#define FIRST_CONN_PARAMS_UPDATE_DELAY                  APP_TIMER_TICKS(1000, APP_TIMER_PRESCALER)
#define NEXT_CONN_PARAMS_UPDATE_DELAY                   APP_TIMER_TICKS(30000, APP_TIMER_PRESCALER)
#define MAX_CONN_PARAMS_UPDATE_COUNT                    3

i configure all parameters to run function sd_ble_gap_conn_param_update() . 

But it't only fit to some android phone. Although supervision timeout obtain timeout of android = 1s but sometime it's disconnected with phone. I don't know why? please help me!!

Related