Page 1 of 1

BT_HCI runtime error

Posted: Thu May 31, 2018 9:32 am
by jianxuan
I use ESP32 DevKitC V4 to connect a bluetooth device. ESP32 DevKitC V4 is GATT client and the bluetooth device is GATT server. The project is ble_spp_client in example directory. ESP32 DevKitC V4 stop scan successfully after found out the bluetooth device. Then an error occurred. Subsequently ESP32 DevKitC V4 tried to connect to the bluetooth device, but an warning occurred.
The following is part of log.
...
I (1148) BT_OTA: Scan stop successed
E (1148) BT_HCI: btu_hcif_hdl_command_complete opcode 0x200b status 0x12
I (1158) BT_OTA: Connect to the remote device.
W (1338) BT_GATT: Call back not found for application conn_id=3
I (1348) BT_OTA: EVT 40, gattc if 3
...

I want to know why an error occurred after stop scan? How to solve the issue?
Thanks.