fix HID Host bug when handling the two consecutive connection request

Closes https://github.com/espressif/esp-idf/issues/10504
This commit is contained in:
liqigan
2023-01-10 19:52:05 +08:00
parent bf082dcd1c
commit 109d42bb85
7 changed files with 45 additions and 17 deletions

View File

@@ -34,6 +34,7 @@ enum { HID_DEV_NO_CONN, HID_DEV_CONNECTED };
typedef struct per_device_ctb {
BOOLEAN in_use;
BOOLEAN delay_remove;
BD_ADDR addr; /* BD-Addr of the host device */
UINT16 attr_mask; /* 0x01- virtual_cable; 0x02- normally_connectable; 0x03- reconn_initiate;
0x04- sdp_disable; */