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

nrf51822 nrf uart app disconnect problem?

Hi All,

I use nrf51822 transfer data to nrf uart app for android,when I use following parameter ,the device and nrf uart app work well.

#define MIN_CONN_INTERVAL MSEC_TO_UNITS(40, UNIT_1_25_MS)
#define MAX_CONN_INTERVAL MSEC_TO_UNITS(1000, UNIT_1_25_MS)
#define SLAVE_LATENCY 0
#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(4000, UNIT_10_MS)
#define FIRST_CONN_PARAMS_UPDATE_DELAY APP_TIMER_TICKS(20000, APP_TIMER_PRESCALER) #define NEXT_CONN_PARAMS_UPDATE_DELAY APP_TIMER_TICKS(5000, PP_TIMER_PRESCALER)
#define MAX_CONN_PARAMS_UPDATE_COUNT 3

But I want to reduce power consumption,I change parameter

#define MIN_CONN_INTERVAL MSEC_TO_UNITS(500, UNIT_1_25_MS)

then device and nrf uart app disconnected soon,

How can I adjust connection parameters?

Related