Description
Hello everybody,
I'm actually using Neil Kolban's library ESP32_BLE_Arduino, but i have a little problem...
In my program i would to :
- Scan BLE servers(done)
- Connect to a remote BLE Server (done)
- Once connected, find all services available on the server (done)
- Find all characteristisc of all services (PROBLEM)
- Read and write characteristics values (not done yet)
Once i'm connected to the server and recovered service map i try to recover all the characteristics map with the BLERemoteService::getCharacteristics(); but i have a STACK SMASHING PROTECT FAILURE
Someone has an idea why this function works with some of my BLE server services but not with all ?
There are some pics to make it more understandable...
Picture 1 : code extract in the part i'm having trouble
(this part of code is just after i get successfully connected on the server)
Picture 2 : Serial Monitor with "stack smashing protect failure"
Picture 3 : My BLE server when i'm connected on it with nRF Connect
I would appreciate any hints or helps :)
Have a nice day,
Brice ANNETTE