Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iphone connecting to bluetooth bug #124

Open
Matthew-D7 opened this issue Feb 23, 2022 · 0 comments
Open

iphone connecting to bluetooth bug #124

Matthew-D7 opened this issue Feb 23, 2022 · 0 comments

Comments

@Matthew-D7
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant