nkolban / ESP32_BLE_Arduino

The library source for the ESP32 BLE support for Arduino.
893 stars 332 forks source link

Unhandled exceptions inside retrieveCharacteristics() #29

Open pangodream opened 5 years ago

pangodream commented 5 years ago

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.

chegewara commented 5 years ago

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

ShaunDwyer commented 4 years ago

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 commented 4 years ago

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

ShaunDwyer commented 4 years ago

Thanks @pangodream, I'll have a look!