Closed AlejandroHuerta closed 1 month ago
Hi, @AlejandroHuerta Thanks for the feedback, for some reason the disconnect event is not being reported to app_ble_conn_event_handler. as a temporary solution you can add
esp_event_post(BLE_CONN_MGR_EVENTS, ESP_BLE_CONN_EVENT_DISCONNECTED, NULL, 0, portMAX_DELAY).
to https://github.com/espressif/esp-iot-solution/blob/d7b07150ce726b855a4c29903eac455749a1a056/components/bluetooth/ble_conn_mgr/src/esp_nimble.c#L1803
We will fix this in a subsequent commit, thanks again for your feedback!
Answers checklist.
IDF version.
5.2.1
Espressif SoC revision.
esp32-c3 (QFN32) v0.4
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
esp32-c3-devkitm-1
Steps to reproduce.
Build Logs.
No response
More Information.
Here's the logs from the serial output