Home
last modified time | relevance | path

Searched refs:bt_bdaddr_t (Results 1 – 25 of 41) sorted by relevance

12

/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/include/btc/
Dbtc_ble_storage.h56 bt_status_t btc_storage_add_ble_bonding_key( bt_bdaddr_t *remote_bd_addr, char *key, uint8_t key_ty…
58 bt_status_t btc_storage_get_ble_bonding_key(bt_bdaddr_t *remote_bd_addr, uint8_t key_type, char *ke…
60 bt_status_t btc_storage_remove_ble_bonding_keys(bt_bdaddr_t *remote_bd_addr);
62 bool btc_storage_compare_address_key_value(bt_bdaddr_t *remote_bd_addr, uint8_t key_type, void *key…
70 bt_status_t btc_storage_set_ble_dev_auth_mode(bt_bdaddr_t *remote_bd_addr, uint8_t auth_mode, bool …
72 bt_status_t btc_storage_get_ble_dev_auth_mode(bt_bdaddr_t *remote_bd_addr, int* auth_mode);
74 bt_status_t btc_storage_remove_ble_dev_auth_mode(bt_bdaddr_t *remote_bd_addr, bool flush);
76 bt_status_t btc_storage_get_remote_addr_type(bt_bdaddr_t *remote_bd_addr, int *addr_type);
78 bt_status_t btc_storage_set_remote_addr_type(bt_bdaddr_t *remote_bd_addr, uint8_t addr_type, bool f…
80 bt_status_t btc_storage_remove_remote_addr_type(bt_bdaddr_t *remote_bd_addr, bool flush);
[all …]
Dbtc_storage.h37 bt_status_t btc_storage_add_bonded_device(bt_bdaddr_t *remote_bd_addr,
53 bt_status_t btc_storage_remove_bonded_device(bt_bdaddr_t *remote_bd_addr);
88 bt_status_t btc_storage_get_bonded_bt_devices_list(bt_bdaddr_t *bond_dev, int *dev_num);
103 bt_status_t btc_storage_add_hid_device_info(bt_bdaddr_t *remote_bd_addr, uint16_t attr_mask, uint8_…
131 bt_status_t btc_storage_remove_hid_info(bt_bdaddr_t *remote_bd_addr);
154 bt_status_t btc_storage_set_hidd(bt_bdaddr_t *remote_bd_addr);
165 bt_status_t btc_storage_remove_hidd(bt_bdaddr_t *remote_bd_addr);
Dbtc_profile_queue.h26 typedef bt_status_t (*btc_connect_cb_t) (bt_bdaddr_t *bda, uint16_t uuid);
29 bt_bdaddr_t bda;
41 bt_status_t btc_queue_connect(uint16_t uuid, const bt_bdaddr_t *bda, btc_connect_cb_t connect_cb);
/hal_espressif-3.7.0/components/bt/host/bluedroid/device/
Dbdaddr.c35 bool bdaddr_is_empty(const bt_bdaddr_t *addr) in bdaddr_is_empty()
39 uint8_t zero[sizeof(bt_bdaddr_t)] = { 0 }; in bdaddr_is_empty()
40 return memcmp(addr, &zero, sizeof(bt_bdaddr_t)) == 0; in bdaddr_is_empty()
43 bool bdaddr_equals(const bt_bdaddr_t *first, const bt_bdaddr_t *second) in bdaddr_equals()
48 return memcmp(first, second, sizeof(bt_bdaddr_t)) == 0; in bdaddr_equals()
51 bt_bdaddr_t *bdaddr_copy(bt_bdaddr_t *dest, const bt_bdaddr_t *src) in bdaddr_copy()
56 return (bt_bdaddr_t *)memcpy(dest, src, sizeof(bt_bdaddr_t)); in bdaddr_copy()
59 const char *bdaddr_to_string(const bt_bdaddr_t *addr, char *string, size_t size) in bdaddr_to_string()
98 bool string_to_bdaddr(const char *string, bt_bdaddr_t *addr) in string_to_bdaddr()
103 bt_bdaddr_t new_addr; in string_to_bdaddr()
[all …]
Dinterop.c42 bool interop_match(const interop_feature_t feature, const bt_bdaddr_t *addr) in interop_match()
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/profile/std/include/
Dbtc_hf_ag.h65 bt_bdaddr_t connect;
68 bt_bdaddr_t disconnect;
71 bt_bdaddr_t connect_audio;
74 bt_bdaddr_t disconnect_audio;
78 bt_bdaddr_t remote_addr;
84 bt_bdaddr_t remote_addr;
91 bt_bdaddr_t remote_addr;
97 bt_bdaddr_t remote_addr;
104 bt_bdaddr_t remote_addr;
113 bt_bdaddr_t remote_addr;
[all …]
Dbtc_gap_bt.h72 bt_bdaddr_t bda;
76 bt_bdaddr_t bda;
88 bt_bdaddr_t bda;
93 bt_bdaddr_t bda;
105 bt_bdaddr_t bda;
120 bt_bdaddr_t bda;
127 bt_bdaddr_t bda;
142 bt_bdaddr_t rmt_name_bda;
146 bt_bdaddr_t bda;
Dbtc_hf_client.h60 bt_bdaddr_t connect;
63 bt_bdaddr_t disconnect;
66 bt_bdaddr_t connect_audio;
69 bt_bdaddr_t disconnect_audio;
130 bt_bdaddr_t connected_bda;
Dbtc_av.h84 bt_bdaddr_t connect;
86 bt_bdaddr_t disconn;
96 bt_bdaddr_t src_connect;
98 bt_bdaddr_t src_disconn;
/hal_espressif-3.7.0/components/bt/host/bluedroid/device/include/device/
Dbdaddr.h36 bool bdaddr_is_empty(const bt_bdaddr_t *addr);
40 bool bdaddr_equals(const bt_bdaddr_t *first, const bt_bdaddr_t *second);
44 bt_bdaddr_t *bdaddr_copy(bt_bdaddr_t *dest, const bt_bdaddr_t *src);
50 const char *bdaddr_to_string(const bt_bdaddr_t *addr, char *string, size_t size);
58 bool string_to_bdaddr(const char *string, bt_bdaddr_t *addr);
Dinterop.h43 bool interop_match(const interop_feature_t feature, const bt_bdaddr_t *addr);
Dinterop_database.h25 bt_bdaddr_t addr;
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/core/
Dbtc_ble_storage.c24 bt_bdaddr_t bd_addr; in _btc_storage_save()
94 static bt_status_t _btc_storage_add_ble_bonding_key(bt_bdaddr_t *remote_bd_addr, in _btc_storage_add_ble_bonding_key()
131 bt_status_t btc_storage_add_ble_bonding_key(bt_bdaddr_t *remote_bd_addr, in btc_storage_add_ble_bonding_key()
155 static bt_status_t _btc_storage_get_ble_bonding_key(bt_bdaddr_t *remote_bd_addr, in _btc_storage_get_ble_bonding_key()
190 bt_status_t btc_storage_get_ble_bonding_key(bt_bdaddr_t *remote_bd_addr, in btc_storage_get_ble_bonding_key()
214 static bt_status_t _btc_storage_remove_ble_bonding_keys(bt_bdaddr_t *remote_bd_addr) in _btc_storage_remove_ble_bonding_keys()
248 bt_status_t btc_storage_remove_ble_bonding_keys(bt_bdaddr_t *remote_bd_addr) in btc_storage_remove_ble_bonding_keys()
402 bool _btc_storage_compare_address_key_value(bt_bdaddr_t *remote_bd_addr, in _btc_storage_compare_address_key_value()
433 bool btc_storage_compare_address_key_value(bt_bdaddr_t *remote_bd_addr, in btc_storage_compare_address_key_value()
445 static bt_status_t _btc_storage_set_ble_dev_type(bt_bdaddr_t *bd_addr, bool flush) in _btc_storage_set_ble_dev_type()
[all …]
Dbtc_storage.c31 bt_status_t btc_storage_add_bonded_device(bt_bdaddr_t *remote_bd_addr, in btc_storage_add_bonded_device()
83 bt_bdaddr_t bd_addr; in btc_in_fetch_bonded_devices()
145 bt_status_t btc_storage_remove_bonded_device(bt_bdaddr_t *remote_bd_addr) in btc_storage_remove_bonded_device()
211 bt_status_t btc_storage_get_bonded_bt_devices_list(bt_bdaddr_t *bond_dev, int *dev_num) in btc_storage_get_bonded_bt_devices_list()
213 bt_bdaddr_t bd_addr; in btc_storage_get_bonded_bt_devices_list()
233 memcpy(bond_dev, &bd_addr, sizeof(bt_bdaddr_t)); in btc_storage_get_bonded_bt_devices_list()
258 bt_status_t btc_storage_add_hid_device_info(bt_bdaddr_t *remote_bd_addr, uint16_t attr_mask, uint8_… in btc_storage_add_hid_device_info()
345 bt_bdaddr_t bd_addr; in btc_storage_load_bonded_hid_info()
371 bt_status_t btc_storage_remove_hid_info(bt_bdaddr_t *remote_bd_addr) in btc_storage_remove_hid_info()
426 bt_bdaddr_t bd_addr; in btc_storage_load_hidd()
[all …]
Dbtc_profile_queue.c90 bt_status_t btc_queue_connect(uint16_t uuid, const bt_bdaddr_t *bda, btc_connect_cb_t connect_cb) in btc_queue_connect()
100 memcpy(&arg.connect_node.bda, bda, sizeof(bt_bdaddr_t)); in btc_queue_connect()
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/gatt/
Dbta_gatts_co.c181 bt_bdaddr_t bd_addr; in bta_gatts_co_cl_feat_save()
202 bt_bdaddr_t bd_addr; in bta_gatts_co_db_hash_save()
223 bt_bdaddr_t bd_addr; in bta_gatts_co_cl_feat_load()
244 bt_bdaddr_t bd_addr; in bta_gatts_co_db_hash_load()
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/profile/std/a2dp/
Dbtc_av.c84 bt_bdaddr_t peer_bda;
95 bt_bdaddr_t target_bda;
100 bt_bdaddr_t target_bda;
143 static bt_status_t btc_a2d_src_connect(bt_bdaddr_t *remote_bda);
149 static bt_status_t btc_a2d_sink_connect(bt_bdaddr_t *remote_bda);
253 memcpy(connect_req.target_bda.address, peer_addr, sizeof(bt_bdaddr_t)); in btc_initiate_av_open_tmr_hdlr()
265 static void btc_report_connection_state(esp_a2d_connection_state_t state, bt_bdaddr_t *bd_addr, int… in btc_report_connection_state()
282 static void btc_report_audio_state(esp_a2d_audio_state_t state, bt_bdaddr_t *bd_addr) in btc_report_audio_state()
315 memset(&btc_av_cb.peer_bda, 0, sizeof(bt_bdaddr_t)); in btc_av_state_idle_handler()
335 sizeof(bt_bdaddr_t)); in btc_av_state_idle_handler()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_bgconn.c55 bt_bdaddr_t address;
60 return bdaddr_equals((bt_bdaddr_t *)x, (bt_bdaddr_t *)y); in bdaddr_equality_fn()
72 static BOOLEAN background_connection_add(bt_bdaddr_t *address) in background_connection_add()
86 static BOOLEAN background_connection_remove(bt_bdaddr_t *address) in background_connection_remove()
336 if(!background_connection_add((bt_bdaddr_t *)bd_addr)) { in btm_update_dev_to_white_list()
345 if(!background_connection_remove((bt_bdaddr_t *)bd_addr)){ in btm_update_dev_to_white_list()
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/profile/std/hf_ag/
Dbtc_hf_ag.c148 static int btc_hf_idx_by_bdaddr(bt_bdaddr_t *bd_addr) in btc_hf_idx_by_bdaddr()
169 static BOOLEAN is_connected(int idx, bt_bdaddr_t *bd_addr) in is_connected()
375 static bt_status_t connect_init(bt_bdaddr_t *bd_addr, uint16_t uuid) in connect_init()
391 bt_status_t btc_hf_connect(bt_bdaddr_t *bd_addr) in btc_hf_connect()
396 bt_status_t btc_hf_disconnect(bt_bdaddr_t *bd_addr) in btc_hf_disconnect()
412 bt_status_t btc_hf_connect_audio(bt_bdaddr_t *bd_addr) in btc_hf_connect_audio()
432 bt_status_t btc_hf_disconnect_audio(bt_bdaddr_t *bd_addr) in btc_hf_disconnect_audio()
448 static bt_status_t btc_hf_vra(bt_bdaddr_t *bd_addr, esp_hf_vr_state_t value) in btc_hf_vra()
467 static bt_status_t btc_hf_volume_control(bt_bdaddr_t *bd_addr, esp_hf_volume_type_t type, int volum… in btc_hf_volume_control()
483 static bt_status_t btc_hf_unat_response(bt_bdaddr_t *bd_addr, const char *unat) in btc_hf_unat_response()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/api/
Desp_a2dp_api.c105 memcpy(&(arg.connect), remote_bda, sizeof(bt_bdaddr_t)); in esp_a2d_sink_connect()
129 memcpy(&(arg.disconn), remote_bda, sizeof(bt_bdaddr_t)); in esp_a2d_sink_disconnect()
291 memcpy(&(arg.src_connect), remote_bda, sizeof(bt_bdaddr_t)); in esp_a2d_source_connect()
317 memcpy(&(arg.src_disconn), remote_bda, sizeof(bt_bdaddr_t)); in esp_a2d_source_disconnect()
Desp_gap_bt_api.c109 memcpy(&arg.bda, remote_bda, sizeof(bt_bdaddr_t)); in esp_bt_gap_get_remote_services()
126 memcpy(&arg.get_rmt_srv_rcd.bda, remote_bda, sizeof(bt_bdaddr_t)); in esp_bt_gap_get_remote_service_record()
259 ret = btc_storage_get_bonded_bt_devices_list((bt_bdaddr_t *)dev_list, dev_num); in esp_bt_gap_get_bond_device_list()
402 memcpy(&arg.rmt_name_bda, remote_bda, sizeof(bt_bdaddr_t)); in esp_bt_gap_read_remote_name()
419 memcpy(&arg.set_qos.bda, remote_bda, sizeof(bt_bdaddr_t)); in esp_bt_gap_set_qos()
/hal_espressif-3.7.0/components/bt/host/bluedroid/common/include/common/
Dbt_common_types.h28 bt_bdaddr_t bd_addr;
Dbt_defs.h54 } __attribute__ ((__packed__)) bt_bdaddr_t; typedef
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/profile/std/hid/
Dbtc_hd.c138 void btc_hd_remove_device(bt_bdaddr_t bd_addr) in btc_hd_remove_device()
731 bt_bdaddr_t *addr = (bt_bdaddr_t *)&p_data->conn.bda; in btc_hd_cb_handler()
754 bt_bdaddr_t *addr = (bt_bdaddr_t *)&p_data->conn.bda; in btc_hd_cb_handler()
803 bt_bdaddr_t *bd_addr = (bt_bdaddr_t *)&p_data->conn.bda; in btc_hd_cb_handler()
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/include/stack/
Dl2cap_client.h61 bool l2cap_client_connect(l2cap_client_t *client, const bt_bdaddr_t *remote_bdaddr, uint16_t psm);

12