Home
last modified time | relevance | path

Searched refs:remote_bda (Results 1 – 25 of 74) sorted by relevance

123

/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_utils.c168 tBTA_GATTC_CLCB *bta_gattc_find_clcb_by_cif (UINT8 client_if, BD_ADDR remote_bda, in bta_gattc_find_clcb_by_cif() argument
178 bdcmp(p_clcb->bda, remote_bda) == 0) { in bta_gattc_find_clcb_by_cif()
216 tBTA_GATTC_CLCB *bta_gattc_clcb_alloc(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, in bta_gattc_clcb_alloc() argument
231 bdcpy(p_clcb->bda, remote_bda); in bta_gattc_clcb_alloc()
237 if ((p_clcb->p_srcb = bta_gattc_find_srcb(remote_bda)) == NULL) { in bta_gattc_clcb_alloc()
238 p_clcb->p_srcb = bta_gattc_srcb_alloc(remote_bda); in bta_gattc_clcb_alloc()
263 tBTA_GATTC_CLCB *bta_gattc_find_alloc_clcb(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, in bta_gattc_find_alloc_clcb() argument
268 if ((p_clcb = bta_gattc_find_clcb_by_cif(client_if, remote_bda, transport)) == NULL) { in bta_gattc_find_alloc_clcb()
269 p_clcb = bta_gattc_clcb_alloc(client_if, remote_bda, transport); in bta_gattc_find_alloc_clcb()
564 bdcmp(p_clreg->notif_reg[i].remote_bda, p_srcb->server_bda) == 0 && in bta_gattc_check_notif_registry()
[all …]
Dbta_gatts_api.c520 void BTA_GATTS_Open(tBTA_GATTS_IF server_if, BD_ADDR remote_bda, BOOLEAN is_direct, in BTA_GATTS_Open() argument
530 memcpy(p_buf->remote_bda, remote_bda, BD_ADDR_LEN); in BTA_GATTS_Open()
552 void BTA_GATTS_CancelOpen(tBTA_GATTS_IF server_if, BD_ADDR remote_bda, BOOLEAN is_direct) in BTA_GATTS_CancelOpen() argument
560 memcpy(p_buf->remote_bda, remote_bda, BD_ADDR_LEN); in BTA_GATTS_CancelOpen()
590 void BTA_GATTS_SendServiceChangeIndication(tBTA_GATTS_IF server_if, BD_ADDR remote_bda) in BTA_GATTS_SendServiceChangeIndication() argument
598 memcpy(p_buf->remote_bda, remote_bda, BD_ADDR_LEN); in BTA_GATTS_SendServiceChangeIndication()
632 p_buf->remote_bda = (UINT8 *)(p_buf + 1); in BTA_GATTS_Listen()
633 memcpy(p_buf->remote_bda, target_bda, BD_ADDR_LEN); in BTA_GATTS_Listen()
635 p_buf->remote_bda = NULL; in BTA_GATTS_Listen()
Dbta_gattc_act.c71 …GATTC_FIND_SERVICE_CB bta_gattc_register_service_change_notify(UINT16 conn_id, BD_ADDR remote_bda);
294 … bta_gattc_mark_bg_conn(p_clreg->client_if, p_cb->bg_track[i].remote_bda, FALSE, FALSE); in bta_gattc_deregister()
295 GATT_CancelConnect(p_clreg->client_if, p_cb->bg_track[i].remote_bda, FALSE); in bta_gattc_deregister()
298 … bta_gattc_mark_bg_conn(p_clreg->client_if, p_cb->bg_track[i].remote_bda, FALSE, TRUE); in bta_gattc_deregister()
347 p_msg->api_conn.remote_bda, in bta_gattc_process_api_open()
355 p_msg->api_conn.remote_bda, in bta_gattc_process_api_open()
386 p_msg->api_cancel_conn.remote_bda, in bta_gattc_process_api_open_cancel()
426 bdcpy(cb_data.enc_cmpl.remote_bda, p_msg->enc_cmpl.remote_bda); in bta_gattc_process_enc_cmpl()
518 p_tcb = gatt_find_tcb_by_addr(p_data->api_conn.remote_bda, BT_TRANSPORT_LE); in bta_gattc_open()
524 p_dev_rec = btm_find_or_alloc_dev(p_data->api_conn.remote_bda); in bta_gattc_open()
[all …]
Dbta_gattc_api.c145 void BTA_GATTC_Enh_Open(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, tBTA_ADDR_TYPE remote_addr_typ… in BTA_GATTC_Enh_Open() argument
162 memcpy(p_buf->remote_bda, remote_bda, BD_ADDR_LEN); in BTA_GATTC_Enh_Open()
192 void BTA_GATTC_CancelOpen(tBTA_GATTC_IF client_if, BD_ADDR remote_bda, BOOLEAN is_direct) in BTA_GATTC_CancelOpen() argument
206 memcpy(p_buf->remote_bda, remote_bda, BD_ADDR_LEN); in BTA_GATTC_CancelOpen()
925 !memcmp(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN) && in BTA_GATTC_RegisterForNotifications()
938 memcpy(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN); in BTA_GATTC_RegisterForNotifications()
987 !memcmp(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN) && in BTA_GATTC_DeregisterForNotifications()
1013 void BTA_GATTC_Refresh(BD_ADDR remote_bda, bool erase_flash) in BTA_GATTC_Refresh() argument
1018 bta_gattc_cache_reset(remote_bda); in BTA_GATTC_Refresh()
1029 memcpy(p_buf->remote_bda, remote_bda, BD_ADDR_LEN); in BTA_GATTC_Refresh()
[all …]
Dbta_gatts_act.c674 BD_ADDR remote_bda; in bta_gatts_indicate_handle() local
682 &gatt_if, remote_bda, &transport)) { in bta_gatts_indicate_handle()
701 bta_sys_busy(BTA_ID_GATTS, BTA_ALL_APP_ID, remote_bda); in bta_gatts_indicate_handle()
702 bta_sys_idle(BTA_ID_GATTS, BTA_ALL_APP_ID, remote_bda); in bta_gatts_indicate_handle()
761 if (GATT_Connect(p_rcb->gatt_if, p_msg->api_open.remote_bda, BLE_ADDR_UNKNOWN_TYPE, in bta_gatts_open()
765 if (GATT_GetConnIdIfConnected(p_rcb->gatt_if, p_msg->api_open.remote_bda, in bta_gatts_open()
798 if (!GATT_CancelConnect(p_rcb->gatt_if, p_msg->api_cancel_open.remote_bda, in bta_gatts_cancel_open()
829 BD_ADDR remote_bda; in bta_gatts_close() local
834 if (GATT_GetConnectionInfor(p_msg->hdr.layer_specific, &gatt_if, remote_bda, &transport)) { in bta_gatts_close()
845 bta_sys_conn_close( BTA_ID_GATTS , BTA_ALL_APP_ID, remote_bda); in bta_gatts_close()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/api/include/api/
Desp_a2dp_api.h137 esp_bd_addr_t remote_bda; /*!< remote bluetooth device address */ member
146 esp_bd_addr_t remote_bda; /*!< remote bluetooth device address */ member
153 esp_bd_addr_t remote_bda; /*!< remote bluetooth device address */ member
313 esp_err_t esp_a2d_sink_connect(esp_bd_addr_t remote_bda);
329 esp_err_t esp_a2d_sink_disconnect(esp_bd_addr_t remote_bda);
440 esp_err_t esp_a2d_source_connect(esp_bd_addr_t remote_bda);
455 esp_err_t esp_a2d_source_disconnect(esp_bd_addr_t remote_bda);
Desp_hf_ag_api.h84 esp_bd_addr_t remote_bda; /*!< Remote bluetooth device address */ member
332 esp_err_t esp_hf_ag_slc_connect(esp_bd_addr_t remote_bda);
347 esp_err_t esp_hf_ag_slc_disconnect(esp_bd_addr_t remote_bda);
362 esp_err_t esp_hf_ag_audio_connect(esp_bd_addr_t remote_bda);
377 esp_err_t esp_hf_ag_audio_disconnect(esp_bd_addr_t remote_bda);
394 esp_err_t esp_hf_ag_vra_control(esp_bd_addr_t remote_bda, esp_hf_vr_state_t value);
414 esp_err_t esp_hf_ag_volume_control(esp_bd_addr_t remote_bda, esp_hf_volume_control_target_t type, i…
447 esp_err_t esp_hf_ag_cmee_send(esp_bd_addr_t remote_bda, esp_hf_at_response_code_t response_code, es…
Desp_gattc_api.h88 esp_bd_addr_t remote_bda; /*!< Remote Bluetooth device address */ member
98 esp_bd_addr_t remote_bda; /*!< Remote bluetooth device address */ member
168 esp_bd_addr_t remote_bda; /*!< Remote Bluetooth device address. */ member
179 esp_bd_addr_t remote_bda; /*!< Remote Bluetooth device address */ member
211 esp_bd_addr_t remote_bda; /*!< Remote device address */ member
223 esp_bd_addr_t remote_bda; /*!< Remote device address */ member
356 esp_err_t esp_ble_gattc_open(esp_gatt_if_t gattc_if, esp_bd_addr_t remote_bda, esp_ble_addr_type_t …
377 esp_err_t esp_ble_gattc_aux_open(esp_gatt_if_t gattc_if, esp_bd_addr_t remote_bda, esp_ble_addr_typ…
986 esp_err_t esp_ble_gattc_cache_refresh(esp_bd_addr_t remote_bda);
1034 esp_err_t esp_ble_gattc_cache_clean(esp_bd_addr_t remote_bda);
Desp_hf_client_api.h112 esp_bd_addr_t remote_bda; /*!< remote bluetooth device address */ member
120 esp_bd_addr_t remote_bda; /*!< remote bluetooth device address */ member
371 esp_err_t esp_hf_client_connect(esp_bd_addr_t remote_bda);
386 esp_err_t esp_hf_client_disconnect(esp_bd_addr_t remote_bda);
400 esp_err_t esp_hf_client_connect_audio(esp_bd_addr_t remote_bda);
414 esp_err_t esp_hf_client_disconnect_audio(esp_bd_addr_t remote_bda);
Desp_gatts_api.h188 esp_bd_addr_t remote_bda; /*!< Remote device address */ member
199 esp_bd_addr_t remote_bda; /*!< Remote device address */ member
567 esp_err_t esp_ble_gatts_open(esp_gatt_if_t gatts_if, esp_bd_addr_t remote_bda, bool is_direct);
603 …r_t esp_ble_gatts_send_service_change_indication(esp_gatt_if_t gatts_if, esp_bd_addr_t remote_bda);
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/include/
Dbta_gattc_int.h130 BD_ADDR remote_bda; member
145 BD_ADDR remote_bda; member
206 BD_ADDR_PTR remote_bda; member
218 BD_ADDR remote_bda; member
236 BD_ADDR remote_bda; member
241 BD_ADDR remote_bda; member
254 BD_ADDR remote_bda; member
347 BD_ADDR remote_bda; member
395 BD_ADDR remote_bda; member
403 BD_ADDR remote_bda; member
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/esp/wechat_AirSync/
Dwx_airsync_prf.c135 airsync_env_clcb_alloc(p_data->conn.conn_id, p_data->conn.remote_bda); in airsync_profile_cb()
190 tAirSync_CLCB *airsync_env_clcb_alloc (UINT16 conn_id, BD_ADDR remote_bda) in airsync_env_clcb_alloc() argument
200 memcpy(p_clcb->remote_bda, remote_bda, BD_ADDR_LEN); in airsync_env_clcb_alloc()
215 UINT16 airsync_env_find_conn_id_by_bd_adddr(BD_ADDR remote_bda) in airsync_env_find_conn_id_by_bd_adddr() argument
221 … if (p_clcb->in_use && p_clcb->connected && memcmp(p_clcb->remote_bda, remote_bda, BD_ADDR_LEN)) { in airsync_env_find_conn_id_by_bd_adddr()
/hal_espressif-latest/components/bt/host/bluedroid/bta/include/bta/
Dbta_hh_co.h95 extern void bta_hh_le_co_rpt_info(BD_ADDR remote_bda,
114 extern tBTA_HH_RPT_CACHE_ENTRY *bta_hh_le_co_cache_load (BD_ADDR remote_bda,
129 extern void bta_hh_le_co_reset_rpt_cache (BD_ADDR remote_bda, UINT8 app_id);
Dbta_gatt_api.h351 BD_ADDR remote_bda; member
360 BD_ADDR remote_bda; member
400 BD_ADDR remote_bda; member
405 BD_ADDR remote_bda; member
412 BD_ADDR remote_bda; member
422 BD_ADDR remote_bda; member
427 BD_ADDR remote_bda; member
573 BD_ADDR remote_bda; member
621 BD_ADDR remote_bda; member
684 BD_ADDR remote_bda; member
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/esp/include/
Dwx_airsync_prf.h49 BD_ADDR remote_bda; member
59 BD_ADDR remote_bda; member
90 tAirSync_CLCB *airsync_env_clcb_alloc (UINT16 conn_id, BD_ADDR remote_bda);
Dbutton_pro.h58 BD_ADDR remote_bda; member
68 BD_ADDR remote_bda; member
/hal_espressif-latest/components/bt/host/bluedroid/api/
Desp_a2dp_api.c84 esp_err_t esp_a2d_sink_connect(esp_bd_addr_t remote_bda) in esp_a2d_sink_connect() argument
105 memcpy(&(arg.connect), remote_bda, sizeof(bt_bdaddr_t)); in esp_a2d_sink_connect()
110 esp_err_t esp_a2d_sink_disconnect(esp_bd_addr_t remote_bda) in esp_a2d_sink_disconnect() argument
129 memcpy(&(arg.disconn), remote_bda, sizeof(bt_bdaddr_t)); in esp_a2d_sink_disconnect()
270 esp_err_t esp_a2d_source_connect(esp_bd_addr_t remote_bda) in esp_a2d_source_connect() argument
291 memcpy(&(arg.src_connect), remote_bda, sizeof(bt_bdaddr_t)); in esp_a2d_source_connect()
296 esp_err_t esp_a2d_source_disconnect(esp_bd_addr_t remote_bda) in esp_a2d_source_disconnect() argument
317 memcpy(&(arg.src_disconn), remote_bda, sizeof(bt_bdaddr_t)); in esp_a2d_source_disconnect()
Desp_gap_bt_api.c96 esp_err_t esp_bt_gap_get_remote_services(esp_bd_addr_t remote_bda) in esp_bt_gap_get_remote_services() argument
109 memcpy(&arg.bda, remote_bda, sizeof(bt_bdaddr_t)); in esp_bt_gap_get_remote_services()
113 esp_err_t esp_bt_gap_get_remote_service_record(esp_bd_addr_t remote_bda, esp_bt_uuid_t *uuid) in esp_bt_gap_get_remote_service_record() argument
126 memcpy(&arg.get_rmt_srv_rcd.bda, remote_bda, sizeof(bt_bdaddr_t)); in esp_bt_gap_get_remote_service_record()
390 esp_err_t esp_bt_gap_read_remote_name(esp_bd_addr_t remote_bda) in esp_bt_gap_read_remote_name() argument
403 memcpy(&arg.rmt_name_bda, remote_bda, sizeof(bt_bdaddr_t)); in esp_bt_gap_read_remote_name()
407 esp_err_t esp_bt_gap_set_qos(esp_bd_addr_t remote_bda, uint32_t t_poll) in esp_bt_gap_set_qos() argument
424 memcpy(&arg.set_qos.bda, remote_bda, sizeof(bt_bdaddr_t)); in esp_bt_gap_set_qos()
429 esp_err_t esp_bt_gap_set_acl_pkt_types(esp_bd_addr_t remote_bda, uint16_t pkt_types) in esp_bt_gap_set_acl_pkt_types() argument
442 memcpy(&arg.set_acl_pkt_types.bda, remote_bda, sizeof(bt_bdaddr_t)); in esp_bt_gap_set_acl_pkt_types()
Desp_gattc_api.c87 memcpy(arg.open.remote_bda, creat_conn_params->remote_bda, ESP_BD_ADDR_LEN); in esp_ble_gattc_enh_open()
174 esp_err_t esp_ble_gattc_open(esp_gatt_if_t gattc_if, esp_bd_addr_t remote_bda, esp_ble_addr_type_t … in esp_ble_gattc_open() argument
177 memcpy(creat_conn_params.remote_bda, remote_bda, ESP_BD_ADDR_LEN); in esp_ble_gattc_open()
188 esp_err_t esp_ble_gattc_aux_open(esp_gatt_if_t gattc_if, esp_bd_addr_t remote_bda, esp_ble_addr_typ… in esp_ble_gattc_aux_open() argument
191 memcpy(creat_conn_params.remote_bda, remote_bda, ESP_BD_ADDR_LEN); in esp_ble_gattc_aux_open()
821 memcpy(arg.reg_for_notify.remote_bda, server_bda, sizeof(esp_bd_addr_t)); in esp_ble_gattc_register_for_notify()
844 memcpy(arg.unreg_for_notify.remote_bda, server_bda, sizeof(esp_bd_addr_t)); in esp_ble_gattc_unregister_for_notify()
848 esp_err_t esp_ble_gattc_cache_refresh(esp_bd_addr_t remote_bda) in esp_ble_gattc_cache_refresh() argument
858 memcpy(arg.cache_refresh.remote_bda, remote_bda, sizeof(esp_bd_addr_t)); in esp_ble_gattc_cache_refresh()
863 esp_err_t esp_ble_gattc_cache_clean(esp_bd_addr_t remote_bda) in esp_ble_gattc_cache_clean() argument
[all …]
Desp_gatts_api.c350 esp_err_t esp_ble_gatts_open(esp_gatt_if_t gatts_if, esp_bd_addr_t remote_bda, bool is_direct) in esp_ble_gatts_open() argument
362 memcpy(&arg.open.remote_bda, remote_bda, sizeof(esp_bd_addr_t)); in esp_ble_gatts_open()
384 …rr_t esp_ble_gatts_send_service_change_indication(esp_gatt_if_t gatts_if, esp_bd_addr_t remote_bda) in esp_ble_gatts_send_service_change_indication() argument
395 if(remote_bda) { in esp_ble_gatts_send_service_change_indication()
396 memcpy(&arg.send_service_change.remote_bda, remote_bda, sizeof(esp_bd_addr_t)); in esp_ble_gatts_send_service_change_indication()
398 memset(arg.send_service_change.remote_bda, 0, sizeof(esp_bd_addr_t)); in esp_ble_gatts_send_service_change_indication()
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/
Dbtm_acl.c856 tBTM_STATUS BTM_SetLinkPolicy (BD_ADDR remote_bda, UINT16 *settings) in BTM_SetLinkPolicy() argument
883 if ((p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR)) != NULL) { in BTM_SetLinkPolicy()
1296 tBTM_STATUS BTM_GetLinkSuperTout (BD_ADDR remote_bda, UINT16 *p_timeout) in BTM_GetLinkSuperTout() argument
1298 tACL_CONN *p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); in BTM_GetLinkSuperTout()
1319 tBTM_STATUS BTM_SetLinkSuperTout (BD_ADDR remote_bda, UINT16 timeout) in BTM_SetLinkSuperTout() argument
1321 tACL_CONN *p = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); in BTM_SetLinkSuperTout()
1354 BOOLEAN BTM_IsAclConnectionUp (BD_ADDR remote_bda, tBT_TRANSPORT transport) in BTM_IsAclConnectionUp() argument
1359 remote_bda[0], remote_bda[1], remote_bda[2], in BTM_IsAclConnectionUp()
1360 remote_bda[3], remote_bda[4], remote_bda[5]); in BTM_IsAclConnectionUp()
1362 p = btm_bda_to_acl(remote_bda, transport); in BTM_IsAclConnectionUp()
[all …]
Dbtm_pm.c173 tBTM_STATUS BTM_SetPowerMode (UINT8 pm_id, BD_ADDR remote_bda, tBTM_PM_PWR_MD *p_mode) in BTM_SetPowerMode() argument
191 …(remote_bda[2] << 24) + (remote_bda[3] << 16) + (remote_bda[4] << 8) + remote_bda[5], p_mode->mode… in BTM_SetPowerMode()
196 p_acl_cb = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); in BTM_SetPowerMode()
281 tBTM_STATUS BTM_ReadPowerMode (BD_ADDR remote_bda, tBTM_PM_MODE *p_mode) in BTM_ReadPowerMode() argument
283 tACL_CONN *p_acl_cb = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); in BTM_ReadPowerMode()
310 tBTM_STATUS BTM_SetSsrParams (BD_ADDR remote_bda, UINT16 max_lat, in BTM_SetSsrParams() argument
317 p_acl_cb = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); in BTM_SetSsrParams()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/esp/ble_button/
Dbutton_pro.c157 button_env_clcb_alloc(p_data->conn.conn_id, p_data->conn.remote_bda); in button_profile_cb()
215 but_clcb_t *button_env_clcb_alloc (uint16_t conn_id, BD_ADDR remote_bda) in button_env_clcb_alloc() argument
225 memcpy(p_clcb->remote_bda, remote_bda, BD_ADDR_LEN); in button_env_clcb_alloc()
240 uint16_t button_env_find_conn_id_by_bd_adddr(BD_ADDR remote_bda) in button_env_find_conn_id_by_bd_adddr() argument
246 … if (p_clcb->in_use && p_clcb->connected && memcmp(p_clcb->remote_bda, remote_bda, BD_ADDR_LEN)) { in button_env_find_conn_id_by_bd_adddr()
/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/bluedroid_host/
Desp_blufi.c306 BT_BD_ADDR_HEX(p_data->conn.remote_bda), p_data->conn.server_if, in blufi_profile_cb()
309 memcpy(blufi_env.remote_bda, p_data->conn.remote_bda, ESP_BLUFI_BD_ADDR_LEN); in blufi_profile_cb()
317 memcpy(param.connect.remote_bda, p_data->conn.remote_bda, ESP_BLUFI_BD_ADDR_LEN); in blufi_profile_cb()
331 BT_BD_ADDR_HEX(p_data->conn.remote_bda), p_data->conn.server_if, in blufi_profile_cb()
334 memcpy(blufi_env.remote_bda, p_data->conn.remote_bda, ESP_BLUFI_BD_ADDR_LEN); in blufi_profile_cb()
348 memcpy(param.disconnect.remote_bda, p_data->conn.remote_bda, ESP_BLUFI_BD_ADDR_LEN); in blufi_profile_cb()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/include/
Dbtc_gattc.h56 esp_bd_addr_t remote_bda; member
171 esp_bd_addr_t remote_bda; member
177 esp_bd_addr_t remote_bda; member
182 esp_bd_addr_t remote_bda; member
197 esp_bd_addr_t remote_bda; member

123