fixed the issue iOS devices cannot initiate connection
to ESP32 while there is a BLE connection to this ESP32 Closes https://github.com/espressif/esp-idf/issues/6557
This commit is contained in:
@@ -87,7 +87,8 @@ BOOLEAN l2c_link_hci_conn_req (BD_ADDR bd_addr)
|
||||
|
||||
if (p_lcb_cur->in_use) {
|
||||
no_links = FALSE;
|
||||
p_lcb->link_role = HCI_ROLE_MASTER;
|
||||
// p_lcb->link_role = HCI_ROLE_MASTER;
|
||||
p_lcb->link_role = HCI_ROLE_SLAVE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user