You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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; }
The text was updated successfully, but these errors were encountered:
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; }
The text was updated successfully, but these errors were encountered: