I'm working nrf52 DK, SDK V15.3 , S132 . I have created custom Services and characteristics its working fine. I need to change gap parameter in some cases because i need to transfer higher amount of data. But when changing gap parameter getting error 0x3002.
ble_gap_conn_params_t gap_conn_params;
memset(&gap_conn_params, 0, sizeof(gap_conn_params));
gap_conn_params.min_conn_interval = HP_MIN_CONN_INTERVAL;
gap_conn_params.max_conn_interval = HP_MAX_CONN_INTERVAL;
gap_conn_params.slave_latency = HP_SLAVE_LATENCY;
gap_conn_params.conn_sup_timeout = HP_CONN_SUP_TIMEOUT;
err_code = ble_conn_params_change_conn_params(&gap_conn_params);
if (err_code != NRF_SUCCESS) {
SEGGER_RTT_printf(0, "gap_params_update FAILED. err_code=%d\n", err_code);
return err_code;
}