Home
last modified time | relevance | path

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

/system/bt/stack/gatt/
Dgatt_main.c246 ret = L2CA_RemoveFixedChnl (L2CAP_ATT_CID, p_tcb->peer_bda); in gatt_disconnect()
251 ret = L2CA_CancelBleConnectReq (p_tcb->peer_bda); in gatt_disconnect()
342 (BTM_GetHCIConnHandle(p_tcb->peer_bda, p_tcb->transport) != GATT_INVALID_ACL_HANDLE)) in gatt_update_app_use_link_flag()
348 GATT_SetIdleTimeout(p_tcb->peer_bda, GATT_LINK_NO_IDLE_TIMEOUT, p_tcb->transport); in gatt_update_app_use_link_flag()
357 … GATT_SetIdleTimeout(p_tcb->peer_bda, GATT_LINK_IDLE_TIMEOUT_WHEN_NO_APP, p_tcb->transport); in gatt_update_app_use_link_flag()
697 gatt_cleanup_upon_disc(p_tcb->peer_bda, result, GATT_TRANSPORT_BR_EDR); in gatt_l2cif_connect_cfm_cback()
743 … 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()
749 if (btm_sec_is_a_bonded_dev(p_tcb->peer_bda)) in gatt_l2cif_config_cfm_cback()
750 gatt_add_a_bonded_dev_for_srv_chg(p_tcb->peer_bda); in gatt_l2cif_config_cfm_cback()
806 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.c67 if (BTM_BleDataSignature(p_clcb->p_tcb->peer_bda, in gatt_sign_data()
109 if (BTM_BleVerifySignature(p_tcb->peer_bda, p_orig, cmd_len, counter, p)) in gatt_verify_signature()
329 BTM_GetSecurityFlagsByTransport(p_tcb->peer_bda, &sec_flag, p_clcb->p_tcb->transport); in gatt_determine_sec_act()
331 btm_ble_link_sec_check(p_tcb->peer_bda, auth_req, &sec_act); in gatt_determine_sec_act()
378 btm_ble_get_enc_key_type(p_tcb->peer_bda, &key_type); in gatt_determine_sec_act()
423 BTM_GetSecurityFlagsByTransport(p_tcb->peer_bda, &sec_flag, p_tcb->transport); in gatt_get_link_encrypt_status()
503 btm_status = BTM_SetEncryption(p_tcb->peer_bda, p_tcb->transport, in gatt_security_check_start()
Dgatt_sr.c398 gatt_sr_get_sec_info(p_tcb->peer_bda, in gatt_process_read_multi_req()
900 … l2cble_set_fixed_channel_tx_data_length(p_tcb->peer_bda, L2CAP_ATT_CID, p_tcb->payload_size); in gatts_process_mtu_req()
983 gatt_sr_get_sec_info(p_tcb->peer_bda, p_tcb->transport, in gatts_process_read_by_type_req()
1081 gatt_sr_get_sec_info(p_tcb->peer_bda, in gatts_process_write_req()
1153 gatt_sr_get_sec_info(p_tcb->peer_bda, p_tcb->transport, &sec_flag, in gatts_process_read_req()
1283 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_db.c410 if (BTM_GetSecurityFlags(p_tcb->peer_bda, &flag)) in gatts_db_read_attr_value_by_type()
418 tACL_CONN *p = btm_bda_to_acl(p_tcb->peer_bda, BT_TRANSPORT_LE); in gatts_db_read_attr_value_by_type()
420 btm_ble_set_encryption(p_tcb->peer_bda, BTM_BLE_SEC_ENCRYPT, p->link_role); in gatts_db_read_attr_value_by_type()
Dgatt_utils.c739 memcpy( bda, gatt_cb.tcb[i].peer_bda, BD_ADDR_LEN); in gatt_find_the_connected_bda()
846 !memcmp(gatt_cb.tcb[i].peer_bda, bda, BD_ADDR_LEN)) in gatt_is_bda_connected()
870 if (!memcmp(gatt_cb.tcb[i].peer_bda, bda, BD_ADDR_LEN) && in gatt_find_i_tcb_by_addr()
980 memcpy(p_tcb->peer_bda, bda, BD_ADDR_LEN); in gatt_allocate_tcb_by_bdaddr()
1785 … if (gatt_cb.clcb[i].in_use && memcmp(gatt_cb.clcb[i].p_tcb->peer_bda, bda, BD_ADDR_LEN) == 0) in gatt_num_clcb_by_bd_addr()
Dgatt_int.h353 BD_ADDR peer_bda; member
545 extern void gatt_send_srv_chg_ind (BD_ADDR peer_bda);
Datt_protocol.c333 l2cap_ret = L2CA_SendFixedChnlData (L2CAP_ATT_CID, p_tcb->peer_bda, p_toL2CAP); in attp_send_msg_to_l2cap()
Dgatt_api.c1161 L2CA_SetIdleTimeoutByBdAddr(p_tcb->peer_bda, in GATT_SetIdleTimeout()
1530 memcpy(bd_addr, p_tcb->peer_bda, BD_ADDR_LEN); in GATT_GetConnectionInfor()
Dgatt_cl.c1072 l2cble_set_fixed_channel_tx_data_length(p_tcb->peer_bda, L2CAP_ATT_CID, p_tcb->payload_size); in gatt_process_mtu_rsp()
/system/bt/stack/gap/
Dgap_ble.c685 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
693 if ((p_clcb = gap_find_clcb_by_bd_addr (peer_bda)) == NULL) in gap_ble_accept_cl_operation()
695 if ((p_clcb = gap_clcb_alloc(peer_bda)) == NULL) in gap_ble_accept_cl_operation()
704 (peer_bda[0]<<24)+(peer_bda[1]<<16)+(peer_bda[2]<<8)+peer_bda[3], in gap_ble_accept_cl_operation()
705 (peer_bda[4]<<8)+peer_bda[5], uuid); in gap_ble_accept_cl_operation()
707 if (GATT_GetConnIdIfConnected(gap_cb.gatt_if, peer_bda, &p_clcb->conn_id, BT_TRANSPORT_LE)) in gap_ble_accept_cl_operation()
734 BOOLEAN GAP_BleReadPeerPrefConnParams (BD_ADDR peer_bda) in GAP_BleReadPeerPrefConnParams() argument
736 return gap_ble_accept_cl_operation (peer_bda, GATT_UUID_GAP_PREF_CONN_PARAM, NULL); in GAP_BleReadPeerPrefConnParams()
748 BOOLEAN GAP_BleReadPeerDevName (BD_ADDR peer_bda, tGAP_BLE_CMPL_CBACK *p_cback) in GAP_BleReadPeerDevName() argument
750 return gap_ble_accept_cl_operation (peer_bda, GATT_UUID_GAP_DEVICE_NAME, p_cback); in GAP_BleReadPeerDevName()
[all …]
/system/bt/btif/src/
Dbtif_av.c72 bt_bdaddr_t peer_bda; member
310 memset(&btif_av_cb.peer_bda, 0, sizeof(bt_bdaddr_t)); in btif_av_state_idle_handler()
331 memcpy(&btif_av_cb.peer_bda, ((btif_av_connect_req_t*)p_data)->target_bda, in btif_av_state_idle_handler()
333 BTA_AvOpen(btif_av_cb.peer_bda.address, btif_av_cb.bta_handle, in btif_av_state_idle_handler()
338 bdcpy(btif_av_cb.peer_bda.address, ((tBTA_AV*)p_data)->pend.bd_addr); in btif_av_state_idle_handler()
341 BTA_AvOpen(btif_av_cb.peer_bda.address, btif_av_cb.bta_handle, in btif_av_state_idle_handler()
346 BTA_AvOpen(btif_av_cb.peer_bda.address, btif_av_cb.bta_handle, in btif_av_state_idle_handler()
419 btif_report_connection_state(state, &(btif_av_cb.peer_bda)); in btif_av_state_idle_handler()
486 btif_report_connection_state(BTAV_CONNECTION_STATE_CONNECTING, &(btif_av_cb.peer_bda)); in btif_av_state_opening_handler()
494 … btif_report_connection_state(BTAV_CONNECTION_STATE_DISCONNECTED, &(btif_av_cb.peer_bda)); in btif_av_state_opening_handler()
[all …]
/system/bt/stack/srvc/
Dsrvc_dis.c444 BOOLEAN DIS_ReadDISInfo(BD_ADDR peer_bda, tDIS_READ_CBACK *p_cback, tDIS_ATTR_MASK mask) in DIS_ReadDISInfo() argument
465 (peer_bda[0]<<24)+(peer_bda[1]<<16)+(peer_bda[2]<<8)+peer_bda[3], in DIS_ReadDISInfo()
466 (peer_bda[4]<<8)+peer_bda[5], dis_attr_uuid[dis_cb.dis_read_uuid_idx]); in DIS_ReadDISInfo()
468 GATT_GetConnIdIfConnected(srvc_eng_cb.gatt_if, peer_bda, &conn_id, BT_TRANSPORT_LE); in DIS_ReadDISInfo()
471 srvc_eng_request_channel(peer_bda, SRVC_ID_DIS); in DIS_ReadDISInfo()
475 return GATT_Connect(srvc_eng_cb.gatt_if, peer_bda, TRUE, BT_TRANSPORT_LE); in DIS_ReadDISInfo()
Dsrvc_battery.c402 BOOLEAN Battery_ReadBatteryLevel(BD_ADDR peer_bda) in Battery_ReadBatteryLevel() argument
404 UNUSED(peer_bda); in Battery_ReadBatteryLevel()
/system/bt/stack/include/
Dgap_api.h342 extern BOOLEAN GAP_BleReadPeerPrefConnParams (BD_ADDR peer_bda);
353 extern BOOLEAN GAP_BleReadPeerDevName (BD_ADDR peer_bda, tGAP_BLE_CMPL_CBACK *p_cback);
365 extern BOOLEAN GAP_BleReadPeerAddressResolutionCap (BD_ADDR peer_bda,
377 extern BOOLEAN GAP_BleCancelReadPeerDevName (BD_ADDR peer_bda);
Dsrvc_api.h179 extern BOOLEAN DIS_ReadDISInfo(BD_ADDR peer_bda, tDIS_READ_CBACK *p_cback,
/system/bt/btif/include/
Dbtif_media.h288 void btif_media_check_iop_exceptions(UINT8 *peer_bda);
/system/bt/bta/dm/
Dbta_dm_int.h434 BD_ADDR peer_bda; member
445 BD_ADDR peer_bda; member
Dbta_dm_api.c798 memcpy(p_msg->peer_bda, bd_addr, BD_ADDR_LEN); in BTA_DmSetBlePrefConnParams()
Dbta_dm_act.c4609 BTM_BleSetPrefConnParams(p_data->ble_set_conn_params.peer_bda, in bta_dm_ble_set_conn_params()