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

master initiated Connection Parameter Change

Our application is running as a peripheral on a nrf52823 with SD132. It starts running with slower connection interval (95-100ms) which is what we initialize the stack to with sd_ble_gap_ppcp_set.

The the master directs slave to set new faster set of connection parameters (7.5ms-10ms) for an OTA update. The new connection parameters is established and the OTA begins, but 65 seconds after the BLE_GAP_EVT_CONN_PARAM_UPDATE event is received on the peripheral, the connection is terminated by the Nordic. (disconnect reason = 0x16[BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION])

This 65 seconds is independent of the values passed ble_conn_params_init, where the default Conn Param Update Delay params would add up to 65.

We are connecting to another embedded device, so the iOS connection parameter requirements are not the issue.

What is the correct procedure for updating the connection parameters in the BLE Stack when the master sends down a new connection parameter update?

Parents
  • I did review that ticket. That is not our problem. Data is actively being sent between devices right up until the disconnect. I removed the comm_param library from the code and the system runs as expected. Downside is that the peripheral can no longer request connection parameter updates.

    It would be nice to understand why the connection is dropping after the 65 seconds when the master sets new connection parameters

Reply
  • I did review that ticket. That is not our problem. Data is actively being sent between devices right up until the disconnect. I removed the comm_param library from the code and the system runs as expected. Downside is that the peripheral can no longer request connection parameter updates.

    It would be nice to understand why the connection is dropping after the 65 seconds when the master sets new connection parameters

Children
No Data
Related