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

Unhandled exceptions inside retrieveCharacteristics() #29

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

pangodream
Copy link

Rebooting occurs sometimes when retrieving characteristics in BLERemoteService::retrieveCharacteristics() if exceptions are not catched.
[D][BLERemoteService.cpp:168] retrieveCharacteristics(): >> getCharacteristics() for service: 0000181d-0000-1000-8000-00805f9b34fb Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

Reboot occurs ocassionally when retrieving characteristics if exceptions are not catched.
´
[D][BLERemoteService.cpp:168] retrieveCharacteristics(): >> getCharacteristics() for service: 0000181d-0000-1000-8000-00805f9b34fb
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
´
@chegewara
Copy link
Collaborator

Should be fixed but not merged to arduino yet.
https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/ArduinoBLE.md

@ShaunDwyer
Copy link

Hi Guys, I just hit this bug too.. Any idea what the hold up is with getting this merged into the official repo?
I'm guessing it needs to end up here? https://github.com/espressif/arduino-esp32

I'm pretty early on in the development of my device, so considering moving to another BTLE library.. perhaps https://github.com/h2zero/NimBLE-Arduino ?

Cheers!
Shaun

@pangodream
Copy link
Author

You could try something like this https://www.pangodream.es/read-xiaomi-mi-smart-scale-using-an-esp32

@ShaunDwyer
Copy link

Thanks @pangodream, I'll have a look!

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

Successfully merging this pull request may close these issues.

3 participants