ESP32_BLE_Arduino icon indicating copy to clipboard operation
ESP32_BLE_Arduino copied to clipboard

Unhandled exceptions inside retrieveCharacteristics()

Open pangodream opened this issue 6 years ago • 4 comments

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.

pangodream avatar Feb 08 '19 18:02 pangodream

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

chegewara avatar Feb 08 '19 18:02 chegewara

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

ShaunDwyer avatar Aug 16 '20 14:08 ShaunDwyer

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

pangodream avatar Aug 16 '20 14:08 pangodream

Thanks @pangodream, I'll have a look!

ShaunDwyer avatar Aug 17 '20 02:08 ShaunDwyer