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

i want to change the conn_params

i want to change the conn_params .

the first gap_params_init() ,

as below: gap_conn_params.min_conn_interval = MIN_CONN_INTERVAL;//20ms gap_conn_params.max_conn_interval = MAX_CONN_INTERVAL;//50ms gap_conn_params.slave_latency = SLAVE_LATENCY; gap_conn_params.conn_sup_timeout = CONN_SUP_TIMEOUT;

when connect the device , the conn_interval is 20ms; if now need to handle the flash .it need more time to do it .so i change the conn_params.

gap_conn_params.min_conn_interval = _MIN_CONN_INTERVAL;//200ms gap_conn_params.max_conn_interval = _MAX_CONN_INTERVAL;//500ms gap_conn_params.slave_latency = SLAVE_LATENCY; gap_conn_params.conn_sup_timeout = CONN_SUP_TIMEOUT;

how i can update the conn_params without diconnect the device ?

Parents Reply Children
No Data
Related