-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
NimBLE sometimes crashes/fails during connection. (IDFGH-12360) #13391
Comments
Here is another stack trace.
|
Hi @SimonBrix , We have worked on fixing multiple cases to avoid multiple connection / abrupt disconnection which lead to such behaviours ( BLE_GAP_ENC_CHANGE with reason 7 implies no connection exists ) . I tried your application on S3 for latest 5.2 release branch and i don't observe any failure for over 100 runs. Suggest to check with latest branch code. Closing this issue currently, but feel free to reopen in case of any updates / queries. |
@rahult-github |
Hi @AxelLin , update has already happened internally. Should be visible on github once the sync happens. |
Answers checklist.
IDF version.
v5.2.1
Espressif SoC revision.
ESP32-S3 (QFN56) (revision v0.1)
Operating System used.
macOS
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
Custom Board
Power Supply used.
USB
What is the expected behavior?
I expect the connection to get established, or for the connection to fail "gracefully".
What is the actual behavior?
I encounter an error, where it fails to discover "services", and after that it seems to start running code in a random place in memory.
Steps to reproduce.
Debug Logs.
The debug logs from the esp-cent-repeat-pair example:
Stack trace from out example where we built a C++ wrapper on top of NimBLE:
More Information.
No response
The text was updated successfully, but these errors were encountered: