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

Host stuck in connecting state after timeout #1948

Open
rojer opened this issue Dec 23, 2024 · 1 comment
Open

Host stuck in connecting state after timeout #1948

rojer opened this issue Dec 23, 2024 · 1 comment

Comments

@rojer
Copy link
Contributor

rojer commented Dec 23, 2024

Occasionally we get host stuck in a connecting state, where a connection that timed out has not been cleaned up.
In fact, in the post-mortem memory dump examination it looks exactly as the condition described in this TODO: ble_gap_master.exp_set is 0, but cb and cb_arg are still set, suggesting that conn_complete never arrived.
If would be nice to have the remedial action implmeneted as described - an additional timeout and a controller reset.

FWIW, platform is ESP32-C3 with BLE_EXT_ADV enabled. And there's a suspicion that it only occurs when BLE_EXT_ADV is enabled, since it wasn't happening before.

@rojer
Copy link
Contributor Author

rojer commented Dec 23, 2024

cc @ccollins476ad for context of 6418926, maybe (blast from the past!)

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