IOS-nRF-Toolbox icon indicating copy to clipboard operation
IOS-nRF-Toolbox copied to clipboard

iphone connecting to bluetooth bug

Open Matthew-D7 opened this issue 3 years ago • 0 comments

I added a secure connection restriction in my main program, in this application, "nrf toolbox" will crash when I can't connect and click cancel. And "nrf connect" will keep requesting connection repeatedly until it can connect after exceeding my limit.pm_evt_handler function in main.c: case PM_EVT_CONN_SEC_PARAMS_REQ: { if(GetPassCount() <= 5) sd_ble_gap_disconnect(m_conn_handle, BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION); break; } image

Matthew-D7 avatar Feb 23 '22 06:02 Matthew-D7