Home
last modified time | relevance | path

Searched refs:p_bda (Results 1 – 15 of 15) sorted by relevance

/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btm/
Dbtm_sec.c3506 UINT8 *p_bda = evt_data.cfm_req.bd_addr; in btm_proc_sp_req_evt() local
3510 STREAM_TO_BDADDR (p_bda, p); in btm_proc_sp_req_evt()
3513 … (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()
3516 if ( ((p_dev_rec = btm_find_dev (p_bda)) != NULL) in btm_proc_sp_req_evt()
3518 && (memcmp (btm_cb.pairing_bda, p_bda, BD_ADDR_LEN) == 0) ) { in btm_proc_sp_req_evt()
3584 BTM_ConfirmReqReply (status, p_bda); in btm_proc_sp_req_evt()
3588 BTM_PasskeyReqReply(status, p_bda, 0); in btm_proc_sp_req_evt()
3597 btsnd_hcic_user_conf_reply (p_bda, FALSE); in btm_proc_sp_req_evt()
3605 if (NULL != (p_dev_rec = btm_find_dev (p_bda)) ) { in btm_proc_sp_req_evt()
3612 btsnd_hcic_user_passkey_neg_reply(p_bda); in btm_proc_sp_req_evt()
[all …]
Dbtm_inq.c1107 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 …]
Dbtm_acl.c104 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()
1244 evt_data.conn.p_bda = p_acl_cb->remote_addr; in btm_establish_continue()
1457 UINT8 *p_bda = (bd_addr) ? bd_addr : in btm_acl_role_changed() local
[all …]
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/sys/
Dbta_sys_conn.c102 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-2.7.6/components/bt/host/bluedroid/stack/l2cap/
Dl2c_ble.c1439 void l2cble_sec_comp(BD_ADDR p_bda, tBT_TRANSPORT transport, void *p_ref_data, UINT8 status) in l2cble_sec_comp() argument
1441 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr(p_bda, BT_TRANSPORT_LE); in l2cble_sec_comp()
1467 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp()
1473 BTM_GetSecurityFlagsByTransport(p_bda, &sec_flag, transport); in l2cble_sec_comp()
1475 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp()
1480 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp()
1489 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp()
1505 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp()
1507 l2ble_sec_access_req(p_bda, p_buf->psm, p_buf->is_originator, in l2cble_sec_comp()
Dl2c_link.c154 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()
Dl2c_utils.c2576 void l2cu_resubmit_pending_sec_req (BD_ADDR p_bda) in l2cu_resubmit_pending_sec_req() argument
2581 L2CAP_TRACE_DEBUG ("l2cu_resubmit_pending_sec_req p_bda: %p", p_bda); in l2cu_resubmit_pending_sec_req()
2585 if (p_bda) { in l2cu_resubmit_pending_sec_req()
2586 p_lcb = l2cu_find_lcb_by_bd_addr (p_bda, BT_TRANSPORT_BR_EDR); in l2cu_resubmit_pending_sec_req()
Dl2c_api.c2074 BOOLEAN L2CA_RegForNoCPEvt(tL2CA_NOCP_CB *p_cb, BD_ADDR p_bda) in L2CA_RegForNoCPEvt() argument
2079 p_lcb = l2cu_find_lcb_by_bd_addr (p_bda, BT_TRANSPORT_BR_EDR); in L2CA_RegForNoCPEvt()
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/include/bta/
Dbta_sys.h259 extern void bta_sys_notify_role_chg(BD_ADDR_PTR p_bda, UINT8 new_role, UINT8 hci_status);
261 extern void bta_sys_notify_collision (BD_ADDR_PTR p_bda);
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btm/include/
Dbtm_int.h1005 void btm_clr_inq_db (BD_ADDR p_bda);
1013 tINQ_DB_ENT *btm_inq_db_find (BD_ADDR p_bda);
1014 BOOLEAN btm_inq_find_bdaddr (BD_ADDR p_bda);
1175 void btm_sec_link_key_notification (UINT8 *p_bda, UINT8 *p_link_key, UINT8 key_type);
1176 void btm_sec_link_key_request (UINT8 *p_bda);
1177 void btm_sec_pin_code_request (UINT8 *p_bda);
1195 tINQ_DB_ENT *btm_inq_db_new (BD_ADDR p_bda);
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/include/stack/
Dbtm_api.h849 BD_ADDR_PTR p_bda; /* The address of the newly connected device */ member
863 BD_ADDR_PTR p_bda; /* The address of the disconnected device */ member
889 BD_ADDR_PTR p_bda; /* The address of the peer connected device */ member
915 typedef void (tBTM_ACL_DB_CHANGE_CB) (BD_ADDR p_bda, DEV_CLASS p_dc,
920 typedef void (tBTM_ACL_DB_CHANGE_CB) (BD_ADDR p_bda, DEV_CLASS p_dc,
1837 typedef void (tBTM_PM_STATUS_CBACK) (BD_ADDR p_bda, tBTM_PM_STATUS status,
2581 tBTM_INQ_INFO *BTM_InqDbRead (BD_ADDR p_bda);
2630 tBTM_STATUS BTM_ClearInqDb (BD_ADDR p_bda);
Dl2c_api.h778 extern BOOLEAN L2CA_RegForNoCPEvt(tL2CA_NOCP_CB *p_cb, BD_ADDR p_bda);
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/dm/
Dbta_dm_act.c3301 bdcpy(p_msg->bd_addr, p_data->conn.p_bda); in bta_dm_bl_change_cback()
3308 bdcpy(p_msg->bd_addr, p_data->discn.p_bda); in bta_dm_bl_change_cback()
3321 bdcpy(p_msg->bd_addr, p_data->role_chg.p_bda); in bta_dm_bl_change_cback()
3324 bdcpy(p_msg->bd_addr, p_data->conn.p_bda); in bta_dm_bl_change_cback()
3421 BD_ADDR_PTR p_bda = p_data->acl_change.bd_addr; in bta_dm_acl_change() local
3438 p_dev = bta_dm_find_peer_device(p_bda); in bta_dm_acl_change()
3448 BTM_SwitchRole(p_bda, BTM_ROLE_MASTER, NULL); in bta_dm_acl_change()
3465 bdcpy(conn.role_chg.bd_addr, p_bda); in bta_dm_acl_change()
3476 bta_sys_notify_collision (p_bda); in bta_dm_acl_change()
3482 if (!bdcmp( bta_dm_cb.device_list.peer_device[i].peer_bdaddr, p_bda) in bta_dm_acl_change()
[all …]
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/l2cap/include/
Dl2c_int.h715 extern void l2cu_resubmit_pending_sec_req (BD_ADDR p_bda);
723 extern BOOLEAN l2c_link_hci_conn_comp (UINT8 status, UINT16 handle, BD_ADDR p_bda);
735 extern void l2c_link_sec_comp (BD_ADDR p_bda, tBT_TRANSPORT transport, void *p_ref_data, UINT8 …
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/sdp/
Dsdp_discovery.c52 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()