Skip to content

classic bluetooth HID device: cannot connect to a new host without restart (IDFGH-15363) #16020

Closed
@karlp

Description

@karlp

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • 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.4.1, 5.3.2

Espressif SoC revision.

ESP32

Operating System used.

Linux

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

None

Development Kit.

custom board

Power Supply used.

External 3.3V

What is the expected behavior?

Using either of the two examples:

  • esp-idf/examples/bluetooth/esp_hid_device/ (using the esp_hid component)
  • esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_hid_mouse_device (using the bluedroid native apis)

I expect to be able to connect to the demo device from my desktop or my phone. => this works
I expect that I can disconnect cleanly and see it visible for reconnection again => this works
I expect to be able to connect to the demo device from a DIFFERNT device => this does NOT work.

What is the actual behavior?

When the new device attempts to connect, SSP proceeds as normal, but after the pin confirmation, I receive "failed to connect" style messages from my phone/desktop.

The demo code is failing with:

I (33809) HID_DEV_BT: DISCONNECT OK
I (33809) HID_DEV_BT: Setting to connectable, discoverable again
W (35969) BT_HCI: hcif disc complete: hdl 0x80, rsn 0x13
W (56659) BT_HCI: hcif conn complete: hdl 0x80, st 0x0
W (56709) BT_HCI: hcif link supv_to changed: hdl 0x80, supv_to 8000
W (59149) BT_HIDD: hidd_l2cif_connect_ind: incoming connections from different device, rejecting
W (59249) BT_HCI: hcif disc complete: hdl 0x80, rsn 0x13
W (62509) BT_HCI: hcif conn complete: hdl 0x81, st 0x0
W (62549) BT_HCI: hcif link supv_to changed: hdl 0x81, supv_to 8000
W (62619) BT_HIDD: hidd_l2cif_connect_ind: incoming connections from different device, rejecting
W (62719) BT_HCI: hcif disc complete: hdl 0x81, rsn 0x13
W (65739) BT_HCI: hcif conn complete: hdl 0x80, st 0x0
W (65759) BT_HCI: hcif link supv_to changed: hdl 0x80, supv_to 8000
W (65829) BT_HIDD: hidd_l2cif_connect_ind: incoming connections from different device, rejecting
W (65929) BT_HCI: hcif disc complete: hdl 0x80, rsn 0x13

The exact details differ depending on whether I "forget" or not, but it always ends up with the hidd_l2cif_connect_ind: incoming connections from different device, rejecting message.

With GDB I can see that even after disconnecting, the hd_cb.device object STILL says "in_use" and has the "old" bd address:

(gdb) p /x hd_cb.device
$5 = {in_use = 0x1, addr = {0xf4, 0xa4, 0x75, 0x36, 0x2b, 0x70}, state = 0x0, conn = {conn_state = 0x0, conn_flags = 0x1e, ctrl_id = 0x3, ctrl_cid = 0x0, intr_cid = 0x0, rem_mtu_size = 0x40, 
    disc_reason = 0x0, timer_entry = {p_next = 0x0, p_prev = 0x0, p_cback = 0x0, ticks = 0x0, ticks_initial = 0x0, param = 0x0, data = 0x0, event = 0x0, in_use = 0x0}}, boot_mode = 0x0, 
  idle_time = 0x0}

This is why it then fails in hidd_l2cif_connect_ind with the inuse/address check.

It doesn't matter whether I connect first with linux/android, it just seems like it never gets torn down properly?

I've tried manually adding a call to esp_bt_hid_device_disconnect in the bt_app_task_shut_down but that just complains about the device is already disconnected.

Steps to reproduce.

I'm using bluetooth classic only so this sdkconfig.defaults is suitable:

CONFIG_BT_ENABLED=y
CONFIG_BT_CLASSIC_ENABLED=y
CONFIG_BT_HID_ENABLED=y
CONFIG_BT_HID_DEVICE_ENABLED=y
CONFIG_BT_BLE_ENABLED=n
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=y

Debug Logs.

with extra bluetooth logs and annotations
I (474) main_task: Calling app_main()
I (494) HID_DEV_DEMO: setting hid gap, mode:2
I (494) BTDM_INIT: BT controller compile version [dc1cd58]
I (494) BTDM_INIT: Bluetooth MAC: 20:43:a8:46:d5:9a
I (494) phy_init: phy_version 4860,6b7a6e5,Feb  6 2025,14:47:07
W (504) phy_init: failed to load RF calibration data (0xffffffff), falling back to full calibration
I (574) phy_init: Saving new calibration data due to checksum failure or outdated calibration data, mode(2)
I (1154) HID_DEV_DEMO: setting device name
I (1164) HID_DEV_DEMO: setting cod major, peripheral
I (2164) HID_DEV_DEMO: setting bt device
I (2164) BT_APPL: BTA_HdEnable
I (2164) BT_APPL: bta_hd_hdl_event: p_msg->event=5138
I (2164) BT_APPL: bta_hd_api_enable
I (2164) BT_HIDD: HID_DevSetSecurityLevel
I (2164) BT_HIDD: HID_DevRegister
I (2174) BT_HIDD: hidd_conn_reg
I (2174) BT_APPL: BTA_HdRegisterApp
I (2174) BT_APPL: bta_hd_hdl_event: p_msg->event=5120
I (2184) BT_APPL: bta_hd_register_act
I (2184) BT_HIDD: HID_DevAddRecord
I (2184) BT_HIDD: HID_DevSetIncomingQos
I (2194) BT_HIDD: HID_DevSetOutgoingQos
I (2194) BT_HIDD: HID_DevGetDevice
I (2194) HID_DEV_BT: START OK
I (2194) BT_APPL: BTA_SdpEnable

I (2204) HID_DEV_BT: Setting to connectable, discoverable
I (2204) HID_DEV_DEMO: ESP_SDP_INIT_EVT: status:0
I (2214) BT_APPL: BTA_SdpCreateRecordByUser

I (2224) HID_DEV_DEMO: ESP_SDP_CREATE_RECORD_COMP_EVT: status:0, handle:0x10001
I (2194) main_task: Returned from app_main()
W (25354) BT_HCI: hcif conn complete: hdl 0x80, st 0x0
I (28444) BT_L2CAP: L2CA_SetDesireRole() new:x1, disallow_switch:0
I (28594) BT_L2CAP: L2CAP - Calling Connect_Ind_Cb(), CID: 0x0040
I (28594) BT_L2CAP: L2CA_ErtmConnectRsp()  CID: 0x0040  Result: 0  Status: 0  BDA: f4a475362b70  p_ertm_info:0x0
I (28594) BT_L2CAP: L2CA_ConfigReq()  CID 0x0040: fcr_present:0 (mode 0) mtu_present:1 (672)
I (28614) BT_L2CAP: L2CA_ConfigRsp()  CID: 0x0040  Result: 0 MTU present:0 Flush TO:0 FCR:0 FCS:0
I (28624) BT_L2CAP: L2CAP - Calling Config_Rsp_Cb(), CID: 0x0040
I (28634) BT_L2CAP: L2CA_DataWrite()  CID: 0x0040  Len: 286
I (28674) BT_L2CAP: L2CA_DataWrite()  CID: 0x0040  Len: 64
I (28724) BT_L2CAP: L2CAP - Calling Connect_Ind_Cb(), CID: 0x0041
I (28724) BT_L2CAP: L2CA_ErtmConnectRsp()  CID: 0x0041  Result: 0  Status: 0  BDA: f4a475362b70  p_ertm_info:0x0
I (28724) BT_L2CAP: L2CA_ConfigReq()  CID 0x0041: fcr_present:0 (mode 0) mtu_present:1 (64)
I (28784) BT_L2CAP: L2CA_ConfigRsp()  CID: 0x0041  Result: 0 MTU present:0 Flush TO:0 FCR:1 FCS:0
I (28784) BT_L2CAP: L2CAP - Calling Config_Rsp_Cb(), CID: 0x0041
I (28794) BT_L2CAP: L2CAP - Calling Connect_Ind_Cb(), CID: 0x0042
I (28804) BT_L2CAP: L2CA_ErtmConnectRsp()  CID: 0x0042  Result: 0  Status: 0  BDA: f4a475362b70  p_ertm_info:0x0
I (28804) BT_L2CAP: L2CA_ConfigReq()  CID 0x0042: fcr_present:0 (mode 0) mtu_present:1 (64)
I (28824) BT_L2CAP: L2CA_ConfigRsp()  CID: 0x0042  Result: 0 MTU present:0 Flush TO:0 FCR:1 FCS:0
I (28824) BT_L2CAP: L2CAP - Calling Config_Rsp_Cb(), CID: 0x0042
I (28834) BT_APPL: bta_hd_cback: event=0
I (28834) BT_APPL: bta_hd_hdl_event: p_msg->event=5129
I (28834) BT_APPL: bta_hd_open_act
I (28844) BT_L2CAP: L2CA_SetDesireRole() new:x1, disallow_switch:0
W (28844) BT_APPL: new conn_srvc id:20, app_id:1
I (28854) BT_HIDD: Connected to f4:a4:75:36:2b:70
I (28854) HID_DEV_BT: CONNECT OK
I (28864) HID_DEV_BT: Setting to non-connectable, non-discoverable
########################################################################
BT hid mouse demo usage:
You can input these value to simulate mouse: 'q', 'w', 'e', 'a', 's', 'd', 'h'
q -- click the left key
w -- move up
e -- click the right key
a -- move left
s -- move down
d -- move right
h -- show the help
########################################################################

I (30844) BT_L2CAP: L2CAP - Calling Disconnect_Ind_Cb(), CID: 0x0040  Conf Needed
I (30844) BT_L2CAP: L2CA_DisconnectRsp()  CID: 0x0040
I (32234) BT_APPL: bta_hd_hdl_event: p_msg->event=5126
I (32234) BT_L2CAP: L2CA_DataWrite()  CID: 0x0042  Len: 5
W (32234) BT_HCI: hci cmd send: sniff: hdl 0x80, intv(10 18)
W (32264) BT_HCI: hcif mode change: hdl 0x80, mode 2, intv 18, status 0x0
I (32264) ESP_HID_GAP: BT GAP MODE_CHG_EVT mode:2
I (32474) BT_APPL: bta_hd_hdl_event: p_msg->event=5126
I (32474) BT_L2CAP: L2CA_DataWrite()  CID: 0x0042  Len: 5
I (32724) BT_APPL: bta_hd_hdl_event: p_msg->event=5126
I (32724) BT_L2CAP: L2CA_DataWrite()  CID: 0x0042  Len: 5
I (32884) BT_APPL: bta_hd_hdl_event: p_msg->event=5126
I (32884) BT_L2CAP: L2CA_DataWrite()  CID: 0x0042  Len: 5
I (34584) BT_APPL: bta_hd_hdl_event: p_msg->event=5126
I (34584) BT_L2CAP: L2CA_DataWrite()  CID: 0x0042  Len: 5
I (34804) BT_APPL: bta_hd_hdl_event: p_msg->event=5126
I (34804) BT_L2CAP: L2CA_DataWrite()  CID: 0x0042  Len: 5
I (34984) BT_APPL: bta_hd_hdl_event: p_msg->event=5126
I (34984) BT_L2CAP: L2CA_DataWrite()  CID: 0x0042  Len: 5
I (35364) BT_APPL: bta_hd_hdl_event: p_msg->event=5126
I (35364) BT_L2CAP: L2CA_DataWrite()  CID: 0x0042  Len: 5
I (35574) BT_APPL: bta_hd_hdl_event: p_msg->event=5126
I (35574) BT_L2CAP: L2CA_DataWrite()  CID: 0x0042  Len: 5
I (36004) BT_APPL: bta_hd_hdl_event: p_msg->event=5126
I (36004) BT_L2CAP: L2CA_DataWrite()  CID: 0x0042  Len: 5
I (36164) BT_APPL: bta_hd_hdl_event: p_msg->event=5126
I (36164) BT_L2CAP: L2CA_DataWrite()  CID: 0x0042  Len: 5

-----------disconnected linux side here ------------

W (46224) BT_HCI: hci cmd send: unsniff: hdl 0x80
I (46224) BT_L2CAP: L2CAP - Calling Disconnect_Ind_Cb(), CID: 0x0042  Conf Needed
I (46224) BT_L2CAP: L2CA_DisconnectRsp()  CID: 0x0042
W (46224) BT_HCI: hcif mode change: hdl 0x80, mode 0, intv 0, status 0x0
W (46234) BT_HCI: btu_hcif_hdl_command_status,opcode:0x0804,status:0x0c
I (46244) ESP_HID_GAP: BT GAP MODE_CHG_EVT mode:0
I (46254) BT_L2CAP: L2CAP - Calling Disconnect_Ind_Cb(), CID: 0x0041  Conf Needed
I (46254) BT_L2CAP: L2CA_DisconnectRsp()  CID: 0x0041
I (46254) BT_APPL: bta_hd_cback: event=1
I (46264) BT_APPL: bta_hd_hdl_event: p_msg->event=5130
I (46264) BT_APPL: bta_hd_close_act
I (46264) BT_L2CAP: L2CA_SetDesireRole() new:x1, disallow_switch:0
I (46274) HID_DEV_BT: DISCONNECT OK
I (46274) HID_DEV_BT: Setting to connectable, discoverable again
W (48404) BT_HCI: hcif disc complete: hdl 0x80, rsn 0x13
I (48404) BT_L2CAP: L2CA_SetDesireRole() new:x1, disallow_switch:0



------- now, attempting to connect from android: -------------
W (135534) BT_HCI: hcif conn complete: hdl 0x80, st 0x0
W (135554) BT_HCI: hcif link supv_to changed: hdl 0x80, supv_to 8000
I (135564) BT_L2CAP: L2CA_SetDesireRole() new:x1, disallow_switch:0
I (135574) BT_L2CAP: L2CA_SetDesireRole() new:x1, disallow_switch:0
I (137794) BT_L2CAP: L2CAP - Calling Connect_Ind_Cb(), CID: 0x0041
I (137794) BT_L2CAP: L2CA_ErtmConnectRsp()  CID: 0x0041  Result: 0  Status: 0  BDA: ac80fb9ec1ab  p_ertm_info:0x0
I (137804) BT_L2CAP: L2CA_ConfigReq()  CID 0x0041: fcr_present:0 (mode 0) mtu_present:1 (672)
I (137814) BT_L2CAP: L2CA_ConfigRsp()  CID: 0x0041  Result: 0 MTU present:0 Flush TO:0 FCR:0 FCS:0
I (137814) BT_L2CAP: L2CAP - Calling Config_Rsp_Cb(), CID: 0x0041
I (137834) BT_L2CAP: L2CA_DataWrite()  CID: 0x0041  Len: 64
I (137844) BT_L2CAP: L2CAP - Calling Disconnect_Ind_Cb(), CID: 0x0041  Conf Needed
I (137844) BT_L2CAP: L2CA_DisconnectRsp()  CID: 0x0041
I (137854) BT_L2CAP: L2CAP - Calling Connect_Ind_Cb(), CID: 0x0040
I (137854) BT_L2CAP: L2CA_ErtmConnectRsp()  CID: 0x0040  Result: 0  Status: 0  BDA: ac80fb9ec1ab  p_ertm_info:0x0
I (137864) BT_L2CAP: L2CA_ConfigReq()  CID 0x0040: fcr_present:0 (mode 0) mtu_present:1 (672)
I (137884) BT_L2CAP: L2CA_ConfigRsp()  CID: 0x0040  Result: 0 MTU present:0 Flush TO:0 FCR:0 FCS:0
I (137884) BT_L2CAP: L2CAP - Calling Config_Rsp_Cb(), CID: 0x0040
I (137894) BT_L2CAP: L2CA_DataWrite()  CID: 0x0040  Len: 286
I (137904) BT_L2CAP: L2CAP - Calling Disconnect_Ind_Cb(), CID: 0x0040  Conf Needed
I (137904) BT_L2CAP: L2CA_DisconnectRsp()  CID: 0x0040
I (137974) BT_L2CAP: L2CAP - Calling Connect_Ind_Cb(), CID: 0x0041
I (137974) BT_L2CAP: L2CA_ErtmConnectRsp()  CID: 0x0041  Result: 0  Status: 0  BDA: ac80fb9ec1ab  p_ertm_info:0x0
I (137974) BT_L2CAP: L2CA_ConfigReq()  CID 0x0041: fcr_present:0 (mode 0) mtu_present:1 (672)
I (138004) BT_L2CAP: L2CA_ConfigRsp()  CID: 0x0041  Result: 0 MTU present:0 Flush TO:0 FCR:0 FCS:0
I (138004) BT_L2CAP: L2CAP - Calling Config_Rsp_Cb(), CID: 0x0041
I (138014) BT_L2CAP: L2CA_DataWrite()  CID: 0x0041  Len: 14
I (138024) BT_L2CAP: L2CA_DataWrite()  CID: 0x0041  Len: 61
I (138044) BT_L2CAP: L2CAP - Calling Disconnect_Ind_Cb(), CID: 0x0041  Conf Needed
I (138044) BT_L2CAP: L2CA_DisconnectRsp()  CID: 0x0041
I (138054) BT_L2CAP: L2CAP - Calling Connect_Ind_Cb(), CID: 0x0040
I (138054) BT_L2CAP: L2CA_ErtmConnectRsp()  CID: 0x0040  Result: 0  Status: 0  BDA: ac80fb9ec1ab  p_ertm_info:0x0
I (138064) BT_L2CAP: L2CA_ConfigReq()  CID 0x0040: fcr_present:0 (mode 0) mtu_present:1 (672)
I (138094) BT_L2CAP: L2CA_ConfigRsp()  CID: 0x0040  Result: 0 MTU present:0 Flush TO:0 FCR:0 FCS:0
I (138094) BT_L2CAP: L2CAP - Calling Config_Rsp_Cb(), CID: 0x0040
I (138104) BT_L2CAP: L2CA_DataWrite()  CID: 0x0040  Len: 14
I (138114) BT_L2CAP: L2CA_DataWrite()  CID: 0x0040  Len: 283
I (138134) BT_L2CAP: L2CAP - Calling Disconnect_Ind_Cb(), CID: 0x0040  Conf Needed
I (138134) BT_L2CAP: L2CA_DisconnectRsp()  CID: 0x0040
I (138204) BT_L2CAP: L2CAP - Calling Connect_Ind_Cb(), CID: 0x0041
W (138204) BT_HIDD: hidd_l2cif_connect_ind: incoming connections from different device, rejecting
I (138214) BT_L2CAP: L2CA_ErtmConnectRsp()  CID: 0x0041  Result: 4  Status: 0  BDA: ac80fb9ec1ab  p_ertm_info:0x0
W (138304) BT_HCI: hcif disc complete: hdl 0x80, rsn 0x13
I (138304) BT_L2CAP: L2CA_SetDesireRole() new:x1, disallow_switch:0
W (142684) BT_HCI: hcif conn complete: hdl 0x81, st 0x0
I (142724) BT_L2CAP: L2CA_SetDesireRole() new:x1, disallow_switch:0
W (142724) BT_HCI: hcif link supv_to changed: hdl 0x81, supv_to 8000
I (142724) BT_L2CAP: L2CA_SetDesireRole() new:x1, disallow_switch:0
I (142784) BT_L2CAP: L2CAP - Calling Connect_Ind_Cb(), CID: 0x0040
W (142784) BT_HIDD: hidd_l2cif_connect_ind: incoming connections from different device, rejecting
I (142784) BT_L2CAP: L2CA_ErtmConnectRsp()  CID: 0x0040  Result: 4  Status: 0  BDA: ac80fb9ec1ab  p_ertm_info:0x0
W (142874) BT_HCI: hcif disc complete: hdl 0x81, rsn 0x13
I (142874) BT_L2CAP: L2CA_SetDesireRole() new:x1, disallow_switch:0
W (145914) BT_HCI: hcif conn complete: hdl 0x80, st 0x0
W (145944) BT_HCI: hcif link supv_to changed: hdl 0x80, supv_to 8000
I (145954) BT_L2CAP: L2CA_SetDesireRole() new:x1, disallow_switch:0
I (145964) BT_L2CAP: L2CA_SetDesireRole() new:x1, disallow_switch:0
I (146024) BT_L2CAP: L2CAP - Calling Connect_Ind_Cb(), CID: 0x0041
W (146024) BT_HIDD: hidd_l2cif_connect_ind: incoming connections from different device, rejecting
I (146024) BT_L2CAP: L2CA_ErtmConnectRsp()  CID: 0x0041  Result: 4  Status: 0  BDA: ac80fb9ec1ab  p_ertm_info:0x0
W (146124) BT_HCI: hcif disc complete: hdl 0x80, rsn 0x13
I (146124) BT_L2CAP: L2CA_SetDesireRole() new:x1, disallow_switch:0

----------- happily reconnects to linux again ------

W (286124) BT_HCI: hcif conn complete: hdl 0x81, st 0x0
I (286204) BT_L2CAP: L2CA_SetDesireRole() new:x1, disallow_switch:0
I (286234) BT_L2CAP: L2CA_SetDesireRole() new:x1, disallow_switch:0
I (286354) BT_L2CAP: L2CAP - Calling Connect_Ind_Cb(), CID: 0x0040
I (286354) BT_L2CAP: L2CA_ErtmConnectRsp()  CID: 0x0040  Result: 0  Status: 0  BDA: f4a475362b70  p_ertm_info:0x0
I (286354) BT_L2CAP: L2CA_ConfigReq()  CID 0x0040: fcr_present:0 (mode 0) mtu_present:1 (64)
I (286424) BT_L2CAP: L2CA_ConfigRsp()  CID: 0x0040  Result: 0 MTU present:0 Flush TO:0 FCR:1 FCS:0
I (286424) BT_L2CAP: L2CAP - Calling Config_Rsp_Cb(), CID: 0x0040
I (286444) BT_L2CAP: L2CAP - Calling Connect_Ind_Cb(), CID: 0x0042
I (286444) BT_L2CAP: L2CA_ErtmConnectRsp()  CID: 0x0042  Result: 0  Status: 0  BDA: f4a475362b70  p_ertm_info:0x0
I (286444) BT_L2CAP: L2CA_ConfigReq()  CID 0x0042: fcr_present:0 (mode 0) mtu_present:1 (64)
I (286464) BT_L2CAP: L2CA_ConfigRsp()  CID: 0x0042  Result: 0 MTU present:0 Flush TO:0 FCR:1 FCS:0
I (286484) BT_L2CAP: L2CAP - Calling Config_Rsp_Cb(), CID: 0x0042
I (286484) BT_APPL: bta_hd_cback: event=0
I (286484) BT_APPL: bta_hd_hdl_event: p_msg->event=5129
I (286484) BT_APPL: bta_hd_open_act
I (286484) BT_L2CAP: L2CA_SetDesireRole() new:x1, disallow_switch:0
W (286494) BT_APPL: new conn_srvc id:20, app_id:1
I (286504) BT_HIDD: Connected to f4:a4:75:36:2b:70
I (286504) HID_DEV_BT: CONNECT OK
I (286504) HID_DEV_BT: Setting to non-connectable, non-discoverable
########################################################################
BT hid mouse demo usage:
You can input these value to simulate mouse: 'q', 'w', 'e', 'a', 's', 'd', 'h'
q -- click the left key
w -- move up
e -- click the right key
a -- move left
s -- move down
d -- move right
h -- show the help
########################################################################

I (286514) BT_L2CAP: L2CAP - Calling Connect_Ind_Cb(), CID: 0x0041
I (286554) BT_L2CAP: L2CA_ErtmConnectRsp()  CID: 0x0041  Result: 0  Status: 0  BDA: f4a475362b70  p_ertm_info:0x0
I (286564) BT_L2CAP: L2CA_ConfigReq()  CID 0x0041: fcr_present:0 (mode 0) mtu_present:1 (672)
I (286604) BT_L2CAP: L2CA_ConfigRsp()  CID: 0x0041  Result: 0 MTU present:0 Flush TO:0 FCR:0 FCS:0
I (286604) BT_L2CAP: L2CAP - Calling Config_Rsp_Cb(), CID: 0x0041
I (286654) BT_L2CAP: L2CA_DataWrite()  CID: 0x0041  Len: 286
I (286704) BT_L2CAP: L2CA_DataWrite()  CID: 0x0041  Len: 64
I (288684) BT_L2CAP: L2CAP - Calling Disconnect_Ind_Cb(), CID: 0x0041  Conf Needed
I (288684) BT_L2CAP: L2CA_DisconnectRsp()  CID: 0x0041
I (290164) BT_APPL: bta_hd_hdl_event: p_msg->event=5126
I (290164) BT_L2CAP: L2CA_DataWrite()  CID: 0x0042  Len: 5
W (290164) BT_HCI: hci cmd send: sniff: hdl 0x81, intv(10 18)
W (290184) BT_HCI: hcif mode change: hdl 0x81, mode 2, intv 18, status 0x0
I (290194) ESP_HID_GAP: BT GAP MODE_CHG_EVT mode:2
I (291704) BT_APPL: bta_hd_hdl_event: p_msg->event=5126
I (291704) BT_L2CAP: L2CA_DataWrite()  CID: 0x0042  Len: 5
I (292084) BT_APPL: bta_hd_hdl_event: p_msg->event=5126
I (292084) BT_L2CAP: L2CA_DataWrite()  CID: 0x0042  Len: 5
I (292424) BT_APPL: bta_hd_hdl_event: p_msg->event=5126
I (292424) BT_L2CAP: L2CA_DataWrite()  CID: 0x0042  Len: 5
I (293844) BT_APPL: bta_hd_hdl_event: p_msg->event=5126
I (293844) BT_L2CAP: L2CA_DataWrite()  CID: 0x0042  Len: 5

Diagnostic report archive.

No response

More Information.

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions