Home
last modified time | relevance | path

Searched refs:peer_bda (Results 1 – 18 of 18) sorted by relevance

/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/gap/
Dgap_ble.c674 BOOLEAN gap_ble_accept_cl_operation(BD_ADDR peer_bda, UINT16 uuid, tGAP_BLE_CMPL_CBACK *p_cback) in gap_ble_accept_cl_operation() argument
683 if ((p_clcb = gap_find_clcb_by_bd_addr (peer_bda)) == NULL) { in gap_ble_accept_cl_operation()
684 if ((p_clcb = gap_clcb_alloc(peer_bda)) == NULL) { in gap_ble_accept_cl_operation()
692 (peer_bda[0] << 24) + (peer_bda[1] << 16) + (peer_bda[2] << 8) + peer_bda[3], in gap_ble_accept_cl_operation()
693 (peer_bda[4] << 8) + peer_bda[5], uuid); in gap_ble_accept_cl_operation()
695 if (GATT_GetConnIdIfConnected(gap_cb.gatt_if, peer_bda, &p_clcb->conn_id, BT_TRANSPORT_LE)) { in gap_ble_accept_cl_operation()
725 BOOLEAN GAP_BleReadPeerPrefConnParams (BD_ADDR peer_bda) in GAP_BleReadPeerPrefConnParams() argument
727 return gap_ble_accept_cl_operation (peer_bda, GATT_UUID_GAP_PREF_CONN_PARAM, NULL); in GAP_BleReadPeerPrefConnParams()
739 BOOLEAN GAP_BleReadPeerDevName (BD_ADDR peer_bda, tGAP_BLE_CMPL_CBACK *p_cback) in GAP_BleReadPeerDevName() argument
741 return gap_ble_accept_cl_operation (peer_bda, GATT_UUID_GAP_DEVICE_NAME, p_cback); in GAP_BleReadPeerDevName()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/gatt/
Dgatt_main.c269 ret = L2CA_RemoveFixedChnl (L2CAP_ATT_CID, p_tcb->peer_bda); in gatt_disconnect()
272 ret = L2CA_CancelBleConnectReq (p_tcb->peer_bda); in gatt_disconnect()
351 (BTM_GetHCIConnHandle(p_tcb->peer_bda, p_tcb->transport) != GATT_INVALID_ACL_HANDLE)) { in gatt_update_app_use_link_flag()
355 GATT_SetIdleTimeout(p_tcb->peer_bda, GATT_LINK_NO_IDLE_TIMEOUT, p_tcb->transport); in gatt_update_app_use_link_flag()
361 … GATT_SetIdleTimeout(p_tcb->peer_bda, GATT_LINK_IDLE_TIMEOUT_WHEN_NO_APP, p_tcb->transport); in gatt_update_app_use_link_flag()
685 gatt_cleanup_upon_disc(p_tcb->peer_bda, result, GATT_TRANSPORT_BR_EDR); in gatt_l2cif_connect_cfm_cback()
724 … if ((p_srv_chg_clt = gatt_is_bda_in_the_srv_chg_clt_list(p_tcb->peer_bda)) != NULL) { in gatt_l2cif_config_cfm_cback()
729 if (btm_sec_is_a_bonded_dev(p_tcb->peer_bda)) { in gatt_l2cif_config_cfm_cback()
730 gatt_add_a_bonded_dev_for_srv_chg(p_tcb->peer_bda); in gatt_l2cif_config_cfm_cback()
784 … if ((p_srv_chg_clt = gatt_is_bda_in_the_srv_chg_clt_list(p_tcb->peer_bda)) != NULL) { in gatt_l2cif_config_ind_cback()
[all …]
Dgatt_auth.c69 if (BTM_BleDataSignature(p_clcb->p_tcb->peer_bda, in gatt_sign_data()
118 if (BTM_BleVerifySignature(p_tcb->peer_bda, p_orig, cmd_len, counter, p)) { in gatt_verify_signature()
315 BTM_GetSecurityFlagsByTransport(p_tcb->peer_bda, &sec_flag, p_clcb->p_tcb->transport); in gatt_determine_sec_act()
317 btm_ble_link_sec_check(p_tcb->peer_bda, auth_req, &sec_act); in gatt_determine_sec_act()
368 btm_ble_get_enc_key_type(p_tcb->peer_bda, &key_type); in gatt_determine_sec_act()
410 BTM_GetSecurityFlagsByTransport(p_tcb->peer_bda, &sec_flag, p_tcb->transport); in gatt_get_link_encrypt_status()
493 …btm_status = BTM_SetEncryption(p_tcb->peer_bda, p_tcb->transport , gatt_enc_cmpl_cback, &btm_ble_s… in gatt_security_check_start()
Dgatt_sr.c487 gatt_sr_get_sec_info(p_tcb->peer_bda, in gatt_process_read_multi_req()
1045 gatt_sr_get_sec_info(p_tcb->peer_bda, in gatts_process_read_by_type_req()
1136 gatt_sr_get_sec_info(p_tcb->peer_bda, in gatts_process_write_req()
1229 gatt_sr_get_sec_info(p_tcb->peer_bda, in gatt_attr_process_prepare_write()
1374 gatt_sr_get_sec_info(p_tcb->peer_bda, in gatts_process_read_req()
1509 if ((p_buf = gatt_is_bda_in_the_srv_chg_clt_list(p_tcb->peer_bda)) != NULL) { in gatts_proc_srv_chg_ind_ack()
Dgatt_utils.c792 memcpy( bda, p_tcb->peer_bda, BD_ADDR_LEN); in gatt_find_the_connected_bda()
896 !memcmp(p_tcb->peer_bda, bda, BD_ADDR_LEN)) { in gatt_is_bda_connected()
919 if (!memcmp(p_tcb->peer_bda, bda, BD_ADDR_LEN) && in gatt_find_i_tcb_by_addr()
1071 memcpy(p_tcb->peer_bda, bda, BD_ADDR_LEN); in gatt_allocate_tcb_by_bdaddr()
1860 if (memcmp(p_clcb->p_tcb->peer_bda, bda, BD_ADDR_LEN) == 0) { in gatt_num_clcb_by_bd_addr()
Dgatt_db.c418 if (BTM_GetSecurityFlags(p_tcb->peer_bda, &flag)) { in gatts_db_read_attr_value_by_type()
424 p = btm_bda_to_acl(p_tcb->peer_bda, BT_TRANSPORT_LE); in gatts_db_read_attr_value_by_type()
427 btm_ble_set_encryption(p_tcb->peer_bda, &sec_act, p->link_role); in gatts_db_read_attr_value_by_type()
Datt_protocol.c347 l2cap_ret = L2CA_SendFixedChnlData (L2CAP_ATT_CID, p_tcb->peer_bda, p_toL2CAP); in attp_send_msg_to_l2cap()
Dgatt_api.c1165 L2CA_SetIdleTimeoutByBdAddr(p_tcb->peer_bda, in GATT_SetIdleTimeout()
1562 memcpy(bd_addr, p_tcb->peer_bda, BD_ADDR_LEN); in GATT_GetConnectionInfor()
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/a2dp/
Dbtc_av.c81 bt_bdaddr_t peer_bda; member
308 memset(&btc_av_cb.peer_bda, 0, sizeof(bt_bdaddr_t)); in btc_av_state_idle_handler()
327 memcpy(&btc_av_cb.peer_bda, &((btc_av_connect_req_t *)p_data)->target_bda, in btc_av_state_idle_handler()
330 BTA_AvOpen(btc_av_cb.peer_bda.address, btc_av_cb.bta_handle, in btc_av_state_idle_handler()
333 BTA_AvOpen(btc_av_cb.peer_bda.address, btc_av_cb.bta_handle, in btc_av_state_idle_handler()
337 bdcpy(btc_av_cb.peer_bda.address, ((tBTA_AV *)p_data)->pend.bd_addr); in btc_av_state_idle_handler()
341 BTA_AvOpen(btc_av_cb.peer_bda.address, btc_av_cb.bta_handle, in btc_av_state_idle_handler()
344 BTA_AvOpen(btc_av_cb.peer_bda.address, btc_av_cb.bta_handle, in btc_av_state_idle_handler()
419 btc_report_connection_state(ESP_A2D_CONNECTION_STATE_CONNECTING, &(btc_av_cb.peer_bda), 0); in btc_av_state_opening_handler()
427 … btc_report_connection_state(ESP_A2D_CONNECTION_STATE_DISCONNECTED, &(btc_av_cb.peer_bda), 0); in btc_av_state_opening_handler()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/include/stack/
Dgap_api.h363 extern BOOLEAN GAP_BleReadPeerPrefConnParams (BD_ADDR peer_bda);
374 extern BOOLEAN GAP_BleReadPeerDevName (BD_ADDR peer_bda, tGAP_BLE_CMPL_CBACK *p_cback);
386 extern BOOLEAN GAP_BleReadPeerAddressResolutionCap (BD_ADDR peer_bda,
398 extern BOOLEAN GAP_BleCancelReadPeerDevName (BD_ADDR peer_bda);
/hal_espressif-3.6.0/components/bt/host/bluedroid/api/
Desp_gattc_api.c360 if (L2CA_CheckIsCongest(L2CAP_ATT_CID, p_tcb->peer_bda)) { in esp_ble_gattc_read_char()
397 if (L2CA_CheckIsCongest(L2CAP_ATT_CID, p_tcb->peer_bda)) { in esp_ble_gattc_read_by_type()
429 if (L2CA_CheckIsCongest(L2CAP_ATT_CID, p_tcb->peer_bda)) { in esp_ble_gattc_read_multiple()
466 if (L2CA_CheckIsCongest(L2CAP_ATT_CID, p_tcb->peer_bda)) { in esp_ble_gattc_read_char_descr()
499 if (L2CA_CheckIsCongest(L2CAP_ATT_CID, p_tcb->peer_bda)) { in esp_ble_gattc_write_char()
537 if (L2CA_CheckIsCongest(L2CAP_ATT_CID, p_tcb->peer_bda)) { in esp_ble_gattc_write_char_descr()
575 if (L2CA_CheckIsCongest(L2CAP_ATT_CID, p_tcb->peer_bda)) { in esp_ble_gattc_prepare_write()
611 if (L2CA_CheckIsCongest(L2CAP_ATT_CID, p_tcb->peer_bda)) { in esp_ble_gattc_prepare_write_char_descr()
Desp_gatts_api.c262 if (L2CA_CheckIsCongest(L2CAP_ATT_CID, p_tcb->peer_bda)) { in esp_ble_gatts_send_indicate()
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/include/
Dsrvc_api.h172 extern BOOLEAN DIS_ReadDISInfo(BD_ADDR peer_bda, tDIS_READ_CBACK *p_cback,
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/gatt/include/
Dgatt_int.h378 BD_ADDR peer_bda; member
589 extern tGATT_STATUS gatt_send_srv_chg_ind (BD_ADDR peer_bda);
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/dm/include/
Dbta_dm_int.h592 BD_ADDR peer_bda; member
602 BD_ADDR peer_bda; member
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/l2cap/
Dl2c_api.c2332 tL2C_LCB * p_lcb = l2cu_find_lcb_by_bd_addr (p_tcb->peer_bda, BT_TRANSPORT_LE); in l2ble_update_att_acl_pkt_num()
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/dm/
Dbta_dm_api.c1120 memcpy(p_msg->peer_bda, bd_addr, BD_ADDR_LEN); in BTA_DmSetBlePrefConnParams()
Dbta_dm_act.c4909 BTM_BleSetPrefConnParams(p_data->ble_set_conn_params.peer_bda, in bta_dm_ble_set_conn_params()