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

Reconnect after sd_ble_gap_disconnect

Hi

I am using the nRF52832DK and the BLE_App_Blinky.

I have a stable BLE connection to a phone and then I try to close the connection inside the nRF with sd_ble_gap_disconnect(m_conn_handle, BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);.

It do a disconnect, but right after it reconnects again by firing BLE_GAP_EVT_PHY_UPDATE_REQUEST.

Why is this event generated? Do I have some settings that makes it reconnect or should I use another parameter instead of BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION?

Regards,

Morten

Related