ESP32-C5 NimBLE crashes

ashesman
Posts: 21
Joined: Sun Jun 02, 2019 9:25 pm

ESP32-C5 NimBLE crashes

Postby ashesman » Thu Feb 19, 2026 11:17 pm

After being connected for a while with an android phone, when the phone is put to sleep, after a period of time, NimBLE reports the following error message. After that, the BLE device can not be found again (i.e. it can not return to advertising).

I think HCI errors are an internal ESP32-NimBLE port problem?

I (182108) NimBLE: GATT procedure initiated: notify;
I (182108) NimBLE: att_handle=5
I (242118) NimBLE: GAP procedure initiated: terminate connection; conn_handle=0 hci_reason=0
I (242118) NimBLE: ogf=0x01, ocf=0x0006, hci_err=0x212 : BLE_ERR_INV_HCI_CMD_PARMS (Invalid HCI Command Parameters)

Please let me know if you need further information.

Who is online

Users browsing this forum: Applebot, Bytespider, ChatGPT-User, PetalBot and 4 guests