This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Peripheral disconnects from central S120 after BLE_GAP_EVT_CONN_PARAM_UPDATE

I have set up a board using device_manager_central to connect with BTLE sensors. I have used a combination of the multilink example and the heart rate collector example along with my own code with the intention of being able to connect to multiple sensors at once.

Currently I can connect to the example heart rate monitor using a dev board but when trying to connect to an actual off the shelf heart rate monitor I keep getting disconnected after BLE_GAP_EVT_CONN_PARAM_UPDATE

With some debug in my code I get the following sequence output to my console:

PARAM_UPDATE_REQUEST
requested min_con = 800
requested max_con = 816
requested slave_lat = 0
requested sup_timeout = 600
ble event = 0x001d
PARAM_UPDATE_REQUEST
conn_param_update err code = 0
ble event = 0x0012
ble event = 0x0012
[DM]: Notifying application of event 0x12
Disconnect code 8
DM_EVT DISCONNECTION
ble event = 0x0011

the ble event 0x0012 is described as BLE_GAP_EVT_CONN_PARAM_UPDATE which should signify that the paramaters requested have indeed been updated however after the update I get a disconnect code 8 which is BLE_HCI_CONNECTION_TIMEOUT

Is there something I need to handle after the BLE_GAP_EVT_CONN_PARAM_UPDATE event that I'm just not seeing?

Parents
  • It is the same connection handle since I am only initiating the connection with one device at the moment. I'm not sure why there are 2 request as it is from the same device. Device disconnects happen within 10 seconds of the first BLE_GAP_EVT_CONN_PARAM_UPDATE.

Reply
  • It is the same connection handle since I am only initiating the connection with one device at the moment. I'm not sure why there are 2 request as it is from the same device. Device disconnects happen within 10 seconds of the first BLE_GAP_EVT_CONN_PARAM_UPDATE.

Children
No Data
Related