You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
I have searched the issue tracker for a similar issue and not found a similar issue.
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 spp_server
Flash to device
Connect to device via another bluetooth device
Disconnect via another device
Observer that a connect message was outputted but not a disconnect message
Build Logs.
No response
More Information.
Here's the logs from the serial output
I (422) blecm_nimble: BLE Host Task Started
I (422) blecm_nimble: No characteristic(0x2a00) found
I (422) blecm_nimble: No characteristic(0x2a01) found
I (422) blecm_nimble: No characteristic(0x2a05) found
I (432) blecm_nimble: No characteristic(0x2b3a) found
I (432) blecm_nimble: No characteristic(0x2b29) found
I (442) app_main: Callback for read
I (452) NimBLE: GAP procedure initiated: stop advertising.
I (452) NimBLE: GAP procedure initiated: advertise;
I (462) NimBLE: disc_mode=2
I (462) NimBLE: adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=256 adv_itvl_max=256
I (472) NimBLE:
I (472) main_task: Returned from app_main()
I (7882) app_main: ESP_BLE_CONN_EVENT_CONNECTED
I (17692) NimBLE: GAP procedure initiated: advertise;
I (17692) NimBLE: disc_mode=2
I (17692) NimBLE: adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=256 adv_itvl_max=256
I (17702) NimBLE:
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
esp_ble_conn_mgr no disconnect event
esp_ble_conn_mgr no disconnect event (AEGHB-663)
May 22, 2024
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
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
The text was updated successfully, but these errors were encountered: