Skip to content

Stack Smashing protect Failure - getCharacteristics(); - RESOLVED - #863

Closed
@Bisouke

Description

@Bisouke

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 :

  1. Scan BLE servers(done)
  2. Connect to a remote BLE Server (done)
  3. Once connected, find all services available on the server (done)
  4. Find all characteristisc of all services (PROBLEM)
  5. 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)
img_code_esp32_problem

Picture 2 : Serial Monitor with "stack smashing protect failure"
serial_monitor

Picture 3 : My BLE server when i'm connected on it with nRF Connect
nRF_connect_picture

I would appreciate any hints or helps :)

Have a nice day,
Brice ANNETTE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions