Open Berg0162 opened 1 year ago
This doesn't look like an error in the library, the crash happens after the write is complete and returns to the caller.
@Berg0162 are you still experiencing this?
I have worked around it. Placed write-with-response in a FreeRtos task and check the task is finished before to call it again...
When the client calls pRemoteCharacteristic->writeValue(ftmcpData, true), write-with-response, it takes some time (about 300-400ms?) before the server has acknowledged the write action.... However, if within that time period a second call to pRemoteCharacteristic->writeValue(ftmcpData, true) is executed, that second call is handled correctly at first, but the acknowledgement by the server of the write action is later causing a fatal error!
Have a look at the critical part of the log file (it is about the Char with UUID 0x2AD9):