Home
last modified time | relevance | path

Searched refs:p_bd_addr (Results 1 – 16 of 16) sorted by relevance

/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/l2cap/
Dl2c_api.c202 UINT16 L2CA_ConnectReq (UINT16 psm, BD_ADDR p_bd_addr) in L2CA_ConnectReq() argument
204 return L2CA_ErtmConnectReq (psm, p_bd_addr, NULL); in L2CA_ConnectReq()
223 UINT16 L2CA_ErtmConnectReq (UINT16 psm, BD_ADDR p_bd_addr, tL2CAP_ERTM_INFO *p_ertm_info) in L2CA_ErtmConnectReq() argument
231 … (p_bd_addr[0] << 24) + (p_bd_addr[1] << 16) + (p_bd_addr[2] << 8) + p_bd_addr[3], in L2CA_ErtmConnectReq()
232 (p_bd_addr[4] << 8) + p_bd_addr[5], p_ertm_info, in L2CA_ErtmConnectReq()
249 if ((p_lcb = l2cu_find_lcb_by_bd_addr (p_bd_addr, BT_TRANSPORT_BR_EDR)) == NULL) { in L2CA_ErtmConnectReq()
251 if ( ((p_lcb = l2cu_allocate_lcb (p_bd_addr, FALSE, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_ErtmConnectReq()
369 BOOLEAN L2CA_ConnectRsp (BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid, in L2CA_ConnectRsp() argument
372 return L2CA_ErtmConnectRsp (p_bd_addr, id, lcid, result, status, NULL); in L2CA_ConnectRsp()
387 BOOLEAN L2CA_ErtmConnectRsp (BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid, UINT16 result, in L2CA_ErtmConnectRsp() argument
[all …]
Dl2c_utils.c51 tL2C_LCB *l2cu_allocate_lcb (BD_ADDR p_bd_addr, BOOLEAN is_bonding, tBT_TRANSPORT transport) in l2cu_allocate_lcb() argument
66 …if (memcmp((uint8_t *)p_bd_addr, (uint8_t *)&controller_get_interface()->get_address()->address, s… in l2cu_allocate_lcb()
88 memcpy (p_lcb->remote_bd_addr, p_bd_addr, BD_ADDR_LEN); in l2cu_allocate_lcb()
136 void l2cu_update_lcb_4_bonding (BD_ADDR p_bd_addr, BOOLEAN is_bonding) in l2cu_update_lcb_4_bonding() argument
138 tL2C_LCB *p_lcb = l2cu_find_lcb_by_bd_addr (p_bd_addr, BT_TRANSPORT_BR_EDR); in l2cu_update_lcb_4_bonding()
309 tL2C_LCB *l2cu_find_lcb_by_bd_addr (BD_ADDR p_bd_addr, tBT_TRANSPORT transport) in l2cu_find_lcb_by_bd_addr() argument
319 (!memcmp (p_lcb->remote_bd_addr, p_bd_addr, BD_ADDR_LEN))) { in l2cu_find_lcb_by_bd_addr()
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/include/stack/
Dl2c_api.h401 extern UINT16 L2CA_ConnectReq (UINT16 psm, BD_ADDR p_bd_addr);
414 extern BOOLEAN L2CA_ConnectRsp (BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid,
430 extern UINT16 L2CA_ErtmConnectReq (UINT16 psm, BD_ADDR p_bd_addr,
452 extern BOOLEAN L2CA_ErtmConnectRsp (BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid,
543 extern UINT16 L2CA_ConnectLECocReq (UINT16 psm, BD_ADDR p_bd_addr, tL2CAP_LE_CFG_INFO *p_cfg);
556 extern BOOLEAN L2CA_ConnectLECocRsp (BD_ADDR p_bd_addr, UINT8 id, UINT16 lcid, UINT16 result,
594 extern BOOLEAN L2CA_Ping (BD_ADDR p_bd_addr, tL2CA_ECHO_RSP_CB *p_cb);
606 extern BOOLEAN L2CA_Echo (BD_ADDR p_bd_addr, BT_HDR *p_data, tL2CA_ECHO_DATA_CB *p_callback);
698 extern UINT16 L2CA_LocalLoopbackReq (UINT16 psm, UINT16 handle, BD_ADDR p_bd_addr);
Dsdp_api.h213 extern BOOLEAN SDP_ServiceSearchRequest (UINT8 *p_bd_addr,
231 extern BOOLEAN SDP_ServiceSearchAttributeRequest (UINT8 *p_bd_addr,
249 extern BOOLEAN SDP_ServiceSearchAttributeRequest2 (UINT8 *p_bd_addr,
679 UINT32 SDP_ConnOpen (UINT8 *p_bd_addr, tSDP_DISC_RES_CB *p_rcb,
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_adv_filter.c64 UINT8 cond_type, tBLE_BD_ADDR *p_bd_addr, UINT8 num_available);
419 BOOLEAN btm_ble_dealloc_addr_filter_counter(tBLE_BD_ADDR *p_bd_addr, UINT8 filter_type) in btm_ble_dealloc_addr_filter_counter() argument
425 if (BTM_BLE_PF_TYPE_ALL == filter_type && NULL == p_bd_addr) { in btm_ble_dealloc_addr_filter_counter()
430 if ((p_addr_filter->in_use) && (NULL == p_bd_addr || in btm_ble_dealloc_addr_filter_counter()
431 (NULL != p_bd_addr && in btm_ble_dealloc_addr_filter_counter()
432 … memcmp(p_bd_addr->bda, p_addr_filter->bd_addr, BD_ADDR_LEN) == 0))) { in btm_ble_dealloc_addr_filter_counter()
436 if (NULL != p_bd_addr) { in btm_ble_dealloc_addr_filter_counter()
518 tBLE_BD_ADDR *p_bd_addr = p_cond ? &p_cond->target_addr : NULL; in btm_ble_update_srvc_data_change() local
521 if (btm_ble_cs_update_pf_counter (action, BTM_BLE_PF_SRVC_DATA, p_bd_addr, num_avail) in btm_ble_update_srvc_data_change()
651 UINT8 cond_type, tBLE_BD_ADDR *p_bd_addr, in btm_ble_cs_update_pf_counter() argument
[all …]
Dbtm_dev.c262 if (!memcmp(p_context->context.p_bd_addr, p_sec_dev->bd_addr, BD_ADDR_LEN)) { in btm_find_sec_dev_in_list()
277 if (!memcmp(p_context->context.p_bd_addr, p_sec_dev->ble.static_addr, BD_ADDR_LEN)) { in btm_find_sec_dev_in_list()
283 if (!memcmp(p_context->context.p_bd_addr, p_sec_dev->bd_addr, BD_ADDR_LEN)) { in btm_find_sec_dev_in_list()
288 if (!memcmp(p_sec_dev->ble.pseudo_addr, p_context->context.p_bd_addr, BD_ADDR_LEN)) { in btm_find_sec_dev_in_list()
292 if (btm_ble_addr_resolvable(p_context->context.p_bd_addr, p_sec_dev)) { in btm_find_sec_dev_in_list()
508 context.context.p_bd_addr = bd_addr; in btm_find_dev()
Dbtm_sec.c2972 void btm_sec_rmt_name_request_complete (UINT8 *p_bd_addr, UINT8 *p_bd_name, UINT8 status) in btm_sec_rmt_name_request_complete() argument
2980 if (((p_bd_addr == NULL) && !BTM_ACL_IS_CONNECTED(btm_cb.connecting_bda)) in btm_sec_rmt_name_request_complete()
2981 || ((p_bd_addr != NULL) && !BTM_ACL_IS_CONNECTED(p_bd_addr))) { in btm_sec_rmt_name_request_complete()
2987 if (p_bd_addr) { in btm_sec_rmt_name_request_complete()
2988 p_dev_rec = btm_find_dev (p_bd_addr); in btm_sec_rmt_name_request_complete()
2995 p_bd_addr = p_dev_rec->bd_addr; in btm_sec_rmt_name_request_complete()
2999 if (!p_bd_addr) { in btm_sec_rmt_name_request_complete()
3040 if (btm_cb.p_rmt_name_callback[i] && p_bd_addr) { in btm_sec_rmt_name_request_complete()
3041 (*btm_cb.p_rmt_name_callback[i])(p_bd_addr, p_dev_rec->dev_class, in btm_sec_rmt_name_request_complete()
3052 if (btm_cb.p_rmt_name_callback[i] && p_bd_addr) { in btm_sec_rmt_name_request_complete()
[all …]
Dbtm_ble_addr.c450 context.context.p_bd_addr = bd_addr; in btm_find_dev_by_identity_addr()
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/sdp/
Dsdp_api.c141 BOOLEAN SDP_ServiceSearchRequest (UINT8 *p_bd_addr, tSDP_DISCOVERY_DB *p_db, in SDP_ServiceSearchRequest() argument
148 p_ccb = sdp_conn_originate (p_bd_addr); in SDP_ServiceSearchRequest()
178 BOOLEAN SDP_ServiceSearchAttributeRequest (UINT8 *p_bd_addr, tSDP_DISCOVERY_DB *p_db, in SDP_ServiceSearchAttributeRequest() argument
185 p_ccb = sdp_conn_originate (p_bd_addr); in SDP_ServiceSearchAttributeRequest()
216 BOOLEAN SDP_ServiceSearchAttributeRequest2 (UINT8 *p_bd_addr, tSDP_DISCOVERY_DB *p_db, in SDP_ServiceSearchAttributeRequest2() argument
223 p_ccb = sdp_conn_originate (p_bd_addr); in SDP_ServiceSearchAttributeRequest2()
Dsdp_main.c536 tCONN_CB *sdp_conn_originate (UINT8 *p_bd_addr) in sdp_conn_originate() argument
553 memcpy (&p_ccb->device_address[0], p_bd_addr, sizeof (BD_ADDR)); in sdp_conn_originate()
558 cid = L2CA_ConnectReq (SDP_PSM, p_bd_addr); in sdp_conn_originate()
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/hf_client/
Dbta_hf_client_sco.c351 UINT8 *p_bd_addr = NULL; in bta_hf_client_sco_create() local
407 p_bd_addr = bta_hf_client_cb.scb.peer_addr; in bta_hf_client_sco_create()
409 status = BTM_CreateSco(p_bd_addr, is_orig, params.packet_types, in bta_hf_client_sco_create()
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/l2cap/include/
Dl2c_int.h598 extern tL2C_LCB *l2cu_allocate_lcb (BD_ADDR p_bd_addr, BOOLEAN is_bonding, tBT_TRANSPORT transport);
601 extern tL2C_LCB *l2cu_find_lcb_by_bd_addr (BD_ADDR p_bd_addr, tBT_TRANSPORT transport);
604 extern void l2cu_update_lcb_4_bonding (BD_ADDR p_bd_addr, BOOLEAN is_bonding);
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/sdp/include/
Dsdpint.h261 extern tCONN_CB *sdp_conn_originate (UINT8 *p_bd_addr);
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/hf_ag/
Dbta_ag_sco.c471 UINT8 *p_bd_addr = NULL; in bta_ag_create_sco() local
619 p_bd_addr = p_scb->peer_addr; in bta_ag_create_sco()
621 …status = BTM_CreateSco(p_bd_addr, is_orig, params.packet_types, &p_scb->sco_idx, bta_ag_sco_conn_c… in bta_ag_create_sco()
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/jv/
Dbta_jv_act.c609 UINT8 *p_bd_addr = GAP_ConnGetRemoteAddr((UINT16)jv_handle); in bta_jv_alloc_set_pm_profile_cb() local
610 if (NULL != p_bd_addr) { in bta_jv_alloc_set_pm_profile_cb()
611 bdcpy(peer_bd_addr, p_bd_addr); in bta_jv_alloc_set_pm_profile_cb()
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btm/include/
Dbtm_int.h981 BD_ADDR_PTR p_bd_addr; member