/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/btm/ |
D | btm_sec.c | 3516 UINT8 *p_bda = evt_data.cfm_req.bd_addr; in btm_proc_sp_req_evt() local 3520 STREAM_TO_BDADDR (p_bda, p); in btm_proc_sp_req_evt() 3523 … (p_bda[0] << 24) + (p_bda[1] << 16) + (p_bda[2] << 8) + p_bda[3], (p_bda[4] << 8) + p_bda[5], in btm_proc_sp_req_evt() 3526 if ( ((p_dev_rec = btm_find_dev (p_bda)) != NULL) in btm_proc_sp_req_evt() 3528 && (memcmp (btm_cb.pairing_bda, p_bda, BD_ADDR_LEN) == 0) ) { in btm_proc_sp_req_evt() 3594 BTM_ConfirmReqReply (status, p_bda); in btm_proc_sp_req_evt() 3598 BTM_PasskeyReqReply(status, p_bda, 0); in btm_proc_sp_req_evt() 3607 btsnd_hcic_user_conf_reply (p_bda, FALSE); in btm_proc_sp_req_evt() 3615 if (NULL != (p_dev_rec = btm_find_dev (p_bda)) ) { in btm_proc_sp_req_evt() 3622 btsnd_hcic_user_passkey_neg_reply(p_bda); in btm_proc_sp_req_evt() [all …]
|
D | btm_inq.c | 1107 tBTM_INQ_INFO *BTM_InqDbRead (BD_ADDR p_bda) in BTM_InqDbRead() argument 1110 p_bda[0], p_bda[1], p_bda[2], p_bda[3], p_bda[4], p_bda[5]); in BTM_InqDbRead() 1112 tINQ_DB_ENT *p_ent = btm_inq_db_find(p_bda); in BTM_InqDbRead() 1197 tBTM_STATUS BTM_ClearInqDb (BD_ADDR p_bda) in BTM_ClearInqDb() argument 1207 btm_clr_inq_db(p_bda); in BTM_ClearInqDb() 1411 void btm_clr_inq_db (BD_ADDR p_bda) in btm_clr_inq_db() argument 1424 if (p_bda == NULL || in btm_clr_inq_db() 1425 (!memcmp (p_ent->inq_info.results.remote_bd_addr, p_bda, BD_ADDR_LEN))) { in btm_clr_inq_db() 1469 BOOLEAN btm_inq_find_bdaddr (BD_ADDR p_bda) in btm_inq_find_bdaddr() argument 1481 if (!memcmp(p_db->bd_addr, p_bda, BD_ADDR_LEN) in btm_inq_find_bdaddr() [all …]
|
D | btm_acl.c | 104 UINT8 *p_bda = (UINT8 *)p_param->p_data1; in btm_get_acl_db() local 109 && !memcmp(p_bda, p_acl_db->remote_addr, BD_ADDR_LEN) in btm_get_acl_db() 443 evt_data.discn.p_bda = bda; in btm_acl_removed() 638 BD_ADDR_PTR p_bda; in BTM_SwitchRole() local 651 p_bda = btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in BTM_SwitchRole() 653 p_bda[0], p_bda[1], p_bda[2], in BTM_SwitchRole() 654 p_bda[3], p_bda[4], p_bda[5]); in BTM_SwitchRole() 801 evt.p_bda = btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in btm_acl_encrypt_change() 1247 evt_data.conn.p_bda = p_acl_cb->remote_addr; in btm_establish_continue() 1460 UINT8 *p_bda = (bd_addr) ? bd_addr : in btm_acl_role_changed() local [all …]
|
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/sys/ |
D | bta_sys_conn.c | 102 void bta_sys_notify_role_chg(BD_ADDR_PTR p_bda, UINT8 new_role, UINT8 hci_status) in bta_sys_notify_role_chg() argument 105 bta_sys_cb.p_role_cb(BTA_SYS_ROLE_CHANGE, new_role, hci_status, p_bda); in bta_sys_notify_role_chg() 143 void bta_sys_notify_collision (BD_ADDR_PTR p_bda) in bta_sys_notify_collision() argument 150 bta_sys_cb.colli_reg.p_coll_cback[index] (0, BTA_ID_SYS, 0, p_bda); in bta_sys_notify_collision()
|
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/l2cap/ |
D | l2c_ble.c | 1460 void l2cble_sec_comp(BD_ADDR p_bda, tBT_TRANSPORT transport, void *p_ref_data, UINT8 status) in l2cble_sec_comp() argument 1462 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr(p_bda, BT_TRANSPORT_LE); in l2cble_sec_comp() 1488 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp() 1494 BTM_GetSecurityFlagsByTransport(p_bda, &sec_flag, transport); in l2cble_sec_comp() 1496 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp() 1501 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp() 1510 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp() 1526 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp() 1528 l2ble_sec_access_req(p_bda, p_buf->psm, p_buf->is_originator, in l2cble_sec_comp()
|
D | l2c_link.c | 154 BOOLEAN l2c_link_hci_conn_comp (UINT8 status, UINT16 handle, BD_ADDR p_bda) in l2c_link_hci_conn_comp() argument 167 memcpy (ci.bd_addr, p_bda, BD_ADDR_LEN); in l2c_link_hci_conn_comp() 200 if ((p_dev_info = btm_find_dev (p_bda)) != NULL) { in l2c_link_hci_conn_comp() 280 void l2c_link_sec_comp (BD_ADDR p_bda, tBT_TRANSPORT transport, void *p_ref_data, UINT8 status) in l2c_link_sec_comp() argument 299 memcpy (ci.bd_addr, p_bda, BD_ADDR_LEN); in l2c_link_sec_comp() 301 p_lcb = l2cu_find_lcb_by_bd_addr (p_bda, BT_TRANSPORT_BR_EDR); in l2c_link_sec_comp()
|
D | l2c_utils.c | 2569 void l2cu_resubmit_pending_sec_req (BD_ADDR p_bda) in l2cu_resubmit_pending_sec_req() argument 2574 L2CAP_TRACE_DEBUG ("l2cu_resubmit_pending_sec_req p_bda: %p", p_bda); in l2cu_resubmit_pending_sec_req() 2578 if (p_bda) { in l2cu_resubmit_pending_sec_req() 2579 p_lcb = l2cu_find_lcb_by_bd_addr (p_bda, BT_TRANSPORT_BR_EDR); in l2cu_resubmit_pending_sec_req()
|
D | l2c_api.c | 2073 BOOLEAN L2CA_RegForNoCPEvt(tL2CA_NOCP_CB *p_cb, BD_ADDR p_bda) in L2CA_RegForNoCPEvt() argument 2078 p_lcb = l2cu_find_lcb_by_bd_addr (p_bda, BT_TRANSPORT_BR_EDR); in L2CA_RegForNoCPEvt()
|
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/btm/include/ |
D | btm_int.h | 1008 void btm_clr_inq_db (BD_ADDR p_bda); 1016 tINQ_DB_ENT *btm_inq_db_find (BD_ADDR p_bda); 1017 BOOLEAN btm_inq_find_bdaddr (BD_ADDR p_bda); 1178 void btm_sec_link_key_notification (UINT8 *p_bda, UINT8 *p_link_key, UINT8 key_type); 1179 void btm_sec_link_key_request (UINT8 *p_bda); 1180 void btm_sec_pin_code_request (UINT8 *p_bda); 1198 tINQ_DB_ENT *btm_inq_db_new (BD_ADDR p_bda);
|
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/include/bta/ |
D | bta_sys.h | 260 extern void bta_sys_notify_role_chg(BD_ADDR_PTR p_bda, UINT8 new_role, UINT8 hci_status); 262 extern void bta_sys_notify_collision (BD_ADDR_PTR p_bda);
|
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/include/stack/ |
D | btm_api.h | 850 BD_ADDR_PTR p_bda; /* The address of the newly connected device */ member 864 BD_ADDR_PTR p_bda; /* The address of the disconnected device */ member 890 BD_ADDR_PTR p_bda; /* The address of the peer connected device */ member 916 typedef void (tBTM_ACL_DB_CHANGE_CB) (BD_ADDR p_bda, DEV_CLASS p_dc, 921 typedef void (tBTM_ACL_DB_CHANGE_CB) (BD_ADDR p_bda, DEV_CLASS p_dc, 1841 typedef void (tBTM_PM_STATUS_CBACK) (BD_ADDR p_bda, tBTM_PM_STATUS status, 2585 tBTM_INQ_INFO *BTM_InqDbRead (BD_ADDR p_bda); 2634 tBTM_STATUS BTM_ClearInqDb (BD_ADDR p_bda);
|
D | l2c_api.h | 778 extern BOOLEAN L2CA_RegForNoCPEvt(tL2CA_NOCP_CB *p_cb, BD_ADDR p_bda);
|
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/dm/ |
D | bta_dm_act.c | 3303 bdcpy(p_msg->bd_addr, p_data->conn.p_bda); in bta_dm_bl_change_cback() 3310 bdcpy(p_msg->bd_addr, p_data->discn.p_bda); in bta_dm_bl_change_cback() 3323 bdcpy(p_msg->bd_addr, p_data->role_chg.p_bda); in bta_dm_bl_change_cback() 3326 bdcpy(p_msg->bd_addr, p_data->conn.p_bda); in bta_dm_bl_change_cback() 3423 BD_ADDR_PTR p_bda = p_data->acl_change.bd_addr; in bta_dm_acl_change() local 3440 p_dev = bta_dm_find_peer_device(p_bda); in bta_dm_acl_change() 3450 BTM_SwitchRole(p_bda, BTM_ROLE_MASTER, NULL); in bta_dm_acl_change() 3467 bdcpy(conn.role_chg.bd_addr, p_bda); in bta_dm_acl_change() 3478 bta_sys_notify_collision (p_bda); in bta_dm_acl_change() 3484 if (!bdcmp( bta_dm_cb.device_list.peer_device[i].peer_bdaddr, p_bda) in bta_dm_acl_change() [all …]
|
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/l2cap/include/ |
D | l2c_int.h | 710 extern void l2cu_resubmit_pending_sec_req (BD_ADDR p_bda); 718 extern BOOLEAN l2c_link_hci_conn_comp (UINT8 status, UINT16 handle, BD_ADDR p_bda); 730 extern void l2c_link_sec_comp (BD_ADDR p_bda, tBT_TRANSPORT transport, void *p_ref_data, UINT8 …
|
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/sdp/ |
D | sdp_discovery.c | 52 static tSDP_DISC_REC *add_record (tSDP_DISCOVERY_DB *p_db, BD_ADDR p_bda); 766 tSDP_DISC_REC *add_record (tSDP_DISCOVERY_DB *p_db, BD_ADDR p_bda) in add_record() argument 782 memcpy (p_rec->remote_bd_addr, p_bda, BD_ADDR_LEN); in add_record()
|