esp_ble_gattc_get_descr_by_char_handle error after thousands of hours (IDFGH-9970) #11255
Open
3 tasks done
Labels
Awaiting Response
awaiting a response from the author
Resolution: Cannot Reproduce
Issue cannot be reproduced
Status: Done
Issue is done internally
Answers checklist.
General issue report
After several weeks of interaction with a BLE client device, it seems that the esp-idf ble stack fails to map the descriptor to the characteristic handle. The code just connects to a BLE server, issues 4 writes to another characteristic, and then requests to be notified on another. This code works for dozens of devices for weeks to months, but eventually the notify never works again.
I have another app on the iphone that can also connect to the BLE server using the same commands, and that continues to work as normal, even when the esp cannot connect.
This is the log when it doesn't work correctly:
This is the log when it works correctly:
Is there some part of the ble api that may be causing this information to disappear from the esp32 but still be available with similar code on iphone?
The text was updated successfully, but these errors were encountered: