Home
last modified time | relevance | path

Searched refs:bd_addr (Results 1 – 25 of 158) sorted by relevance

1234567

/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/smp/
Dsmp_l2c.c40 static void smp_connect_callback(UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason,
42 static void smp_data_received(UINT16 channel, BD_ADDR bd_addr, BT_HDR *p_buf);
45 static void smp_br_connect_callback(UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reas…
47 static void smp_br_data_received(UINT16 channel, BD_ADDR bd_addr, BT_HDR *p_buf);
102 static void smp_connect_callback (UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason, in smp_connect_callback() argument
111 if (transport == BT_TRANSPORT_BR_EDR || memcmp(bd_addr, dummy_bda, BD_ADDR_LEN) == 0) { in smp_connect_callback()
118 if (memcmp(bd_addr, p_cb->pairing_bda, BD_ADDR_LEN) == 0) { in smp_connect_callback()
121 (bd_addr[0] << 24) + (bd_addr[1] << 16) + (bd_addr[2] << 8) + bd_addr[3], in smp_connect_callback()
122 (bd_addr[4] << 8) + bd_addr[5], in smp_connect_callback()
129 p_cb->role = L2CA_GetBleConnRole(bd_addr); in smp_connect_callback()
[all …]
Dsmp_api.c148 tSMP_STATUS SMP_Pair (BD_ADDR bd_addr) in SMP_Pair() argument
162 memcpy (p_cb->pairing_bda, bd_addr, BD_ADDR_LEN); in SMP_Pair()
164 if (!L2CA_ConnectFixedChnl (L2CAP_SMP_CID, bd_addr, BLE_ADDR_UNKNOWN_TYPE, FALSE)) { in SMP_Pair()
187 tSMP_STATUS SMP_BR_PairWith (BD_ADDR bd_addr) in SMP_BR_PairWith() argument
206 memcpy (p_cb->pairing_bda, bd_addr, BD_ADDR_LEN); in SMP_BR_PairWith()
208 if (!L2CA_ConnectFixedChnl (L2CAP_SMP_BR_CID, bd_addr, BLE_ADDR_UNKNOWN_TYPE, FALSE)) { in SMP_BR_PairWith()
229 BOOLEAN SMP_PairCancel (BD_ADDR bd_addr) in SMP_PairCancel() argument
237 (!memcmp (p_cb->pairing_bda, bd_addr, BD_ADDR_LEN)) ) { in SMP_PairCancel()
259 void SMP_SecurityGrant(BD_ADDR bd_addr, UINT8 res) in SMP_SecurityGrant() argument
267 memcmp (smp_cb.pairing_bda, bd_addr, BD_ADDR_LEN)) { in SMP_SecurityGrant()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/api/
Desp_hidh_api.c58 esp_err_t esp_bt_hid_host_connect(esp_bd_addr_t bd_addr) in esp_bt_hid_host_connect() argument
68 memcpy(arg.connect.bd_addr, bd_addr, sizeof(esp_bd_addr_t)); in esp_bt_hid_host_connect()
74 esp_err_t esp_bt_hid_host_disconnect(esp_bd_addr_t bd_addr) in esp_bt_hid_host_disconnect() argument
84 memcpy(arg.disconnect.bd_addr, bd_addr, sizeof(esp_bd_addr_t)); in esp_bt_hid_host_disconnect()
90 esp_err_t esp_bt_hid_host_virtual_cable_unplug(esp_bd_addr_t bd_addr) in esp_bt_hid_host_virtual_cable_unplug() argument
100 memcpy(arg.unplug.bd_addr, bd_addr, sizeof(esp_bd_addr_t)); in esp_bt_hid_host_virtual_cable_unplug()
106 esp_err_t esp_bt_hid_host_set_info(esp_bd_addr_t bd_addr, esp_hidh_hid_info_t *hid_info) in esp_bt_hid_host_set_info() argument
116 memcpy(arg.set_info.bd_addr, bd_addr, sizeof(esp_bd_addr_t)); in esp_bt_hid_host_set_info()
124 esp_err_t esp_bt_hid_host_get_protocol(esp_bd_addr_t bd_addr) in esp_bt_hid_host_get_protocol() argument
134 memcpy(arg.get_protocol.bd_addr, bd_addr, sizeof(esp_bd_addr_t)); in esp_bt_hid_host_get_protocol()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/btm/
Dbtm_dev.c60 BOOLEAN BTM_SecAddDevice (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, in BTM_SecAddDevice() argument
71 p_dev_rec = btm_find_dev (bd_addr); in BTM_SecAddDevice()
82 memcpy (p_dev_rec->bd_addr, bd_addr, BD_ADDR_LEN); in BTM_SecAddDevice()
83 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddDevice()
84 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_LE); in BTM_SecAddDevice()
136 bd_addr[0], bd_addr[1], bd_addr[2], in BTM_SecAddDevice()
137 bd_addr[3], bd_addr[4], bd_addr[5]); in BTM_SecAddDevice()
179 BOOLEAN BTM_SecDeleteDevice (BD_ADDR bd_addr, tBT_TRANSPORT transport) in BTM_SecDeleteDevice() argument
184 if (BTM_IsAclConnectionUp(bd_addr, transport)) { in BTM_SecDeleteDevice()
188 if ((p_dev_rec = btm_find_dev(bd_addr)) != NULL) { in BTM_SecDeleteDevice()
[all …]
Dbtm_ble.c52 extern void gatt_notify_enc_cmpl(BD_ADDR bd_addr);
74 BOOLEAN BTM_SecAddBleDevice (BD_ADDR bd_addr, BD_NAME bd_name, tBT_DEVICE_TYPE dev_type, in BTM_SecAddBleDevice() argument
81 p_dev_rec = btm_find_dev (bd_addr); in BTM_SecAddBleDevice()
97 memcpy (p_dev_rec->bd_addr, bd_addr, BD_ADDR_LEN); in BTM_SecAddBleDevice()
98 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddBleDevice()
99 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_LE); in BTM_SecAddBleDevice()
128 memcpy (p_dev_rec->ble.pseudo_addr, bd_addr, BD_ADDR_LEN); in BTM_SecAddBleDevice()
130 p_info = BTM_InqDbRead(bd_addr); in BTM_SecAddBleDevice()
158 BOOLEAN BTM_SecAddBleKey (BD_ADDR bd_addr, tBTM_LE_KEY_VALUE *p_le_key, tBTM_LE_KEY_TYPE key_type) in BTM_SecAddBleKey() argument
162 p_dev_rec = btm_find_dev (bd_addr); in BTM_SecAddBleKey()
[all …]
Dbtm_sec.c52 BOOLEAN (APPL_AUTH_WRITE_EXCEPTION)(BD_ADDR bd_addr);
79 static BOOLEAN btm_sec_queue_mx_request (BD_ADDR bd_addr, UINT16 psm, BOOLEAN is_orig,
105 static BOOLEAN btm_sec_queue_encrypt_request (BD_ADDR bd_addr, tBT_TRANSPORT transport,
337 BOOLEAN BTM_GetSecurityFlags (BD_ADDR bd_addr, UINT8 *p_sec_flags) in BTM_GetSecurityFlags() argument
341 if ((p_dev_rec = btm_find_dev (bd_addr)) != NULL) { in BTM_GetSecurityFlags()
358 BOOLEAN BTM_GetSecurityFlagsByTransport (BD_ADDR bd_addr, UINT8 *p_sec_flags, in BTM_GetSecurityFlagsByTransport() argument
363 if ((p_dev_rec = btm_find_dev (bd_addr)) != NULL) { in BTM_GetSecurityFlagsByTransport()
837 void BTM_PINCodeReply (BD_ADDR bd_addr, UINT8 res, UINT8 pin_len, UINT8 *p_pin, UINT32 trusted_mask… in BTM_PINCodeReply() argument
850 if (memcmp (bd_addr, btm_cb.pairing_bda, BD_ADDR_LEN) != 0) { in BTM_PINCodeReply()
855 if ((p_dev_rec = btm_find_dev (bd_addr)) == NULL) { in BTM_PINCodeReply()
[all …]
Dbtm_ble_bgconn.c157 BOOLEAN btm_add_dev_to_controller (BOOLEAN to_add, BD_ADDR bd_addr, tBLE_ADDR_TYPE wl_addr_type) in btm_add_dev_to_controller() argument
210 started = btsnd_hcic_ble_add_white_list (wl_addr_type, bd_addr); in btm_add_dev_to_controller()
212 started = btsnd_hcic_ble_remove_from_white_list (wl_addr_type, bd_addr); in btm_add_dev_to_controller()
233 … rt = btm_add_dev_to_controller(p_dev_op->to_add, p_dev_op->bd_addr, p_dev_op->addr_type); in btm_execute_wl_dev_operation()
247 void btm_enq_wl_dev_operation(BOOLEAN to_add, BD_ADDR bd_addr, tBLE_ADDR_TYPE addr_type) in btm_enq_wl_dev_operation() argument
253 …op->in_use && p_dev_op->addr_type == addr_type && !memcmp(p_dev_op->bd_addr, bd_addr, BD_ADDR_LEN)… in btm_enq_wl_dev_operation()
264 memcpy(p_dev_op->bd_addr, bd_addr, BD_ADDR_LEN); in btm_enq_wl_dev_operation()
279 BOOLEAN btm_update_dev_to_white_list(BOOLEAN to_add, BD_ADDR bd_addr, tBLE_ADDR_TYPE addr_type, tBT… in btm_update_dev_to_white_list() argument
294 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_dev(bd_addr); in btm_update_dev_to_white_list()
297 memcpy(bd_addr, p_dev_rec->ble.static_addr, BD_ADDR_LEN); in btm_update_dev_to_white_list()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/profile/std/include/
Dbtc_hh.h72 BD_ADDR bd_addr; member
84 BD_ADDR bd_addr; member
107 BD_ADDR bd_addr; member
112 BD_ADDR bd_addr; member
117 BD_ADDR bd_addr; member
122 BD_ADDR bd_addr; member
128 BD_ADDR bd_addr; member
133 BD_ADDR bd_addr; member
139 BD_ADDR bd_addr; member
144 BD_ADDR bd_addr; member
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/core/
Dbtc_dm.c171 bt_bdaddr_t bd_addr; in btc_dm_remove_ble_bonding_keys() local
174 bdcpy(bd_addr.address, btc_dm_cb.pairing_cb.bd_addr); in btc_dm_remove_ble_bonding_keys()
176 btc_storage_remove_gatt_cl_supp_feat(&bd_addr); in btc_dm_remove_ble_bonding_keys()
177 btc_storage_remove_gatt_db_hash(&bd_addr); in btc_dm_remove_ble_bonding_keys()
178 btc_storage_remove_remote_addr_type(&bd_addr, false); in btc_dm_remove_ble_bonding_keys()
179 btc_storage_remove_ble_dev_auth_mode(&bd_addr, false); in btc_dm_remove_ble_bonding_keys()
180 btc_storage_remove_ble_dev_type(&bd_addr, false); in btc_dm_remove_ble_bonding_keys()
181 btc_storage_remove_ble_bonding_keys(&bd_addr); in btc_dm_remove_ble_bonding_keys()
190 bt_bdaddr_t bd_addr; in btc_dm_save_ble_bonding_keys() local
192 bdcpy(bd_addr.address, btc_dm_cb.pairing_cb.bd_addr); in btc_dm_save_ble_bonding_keys()
[all …]
Dbtc_ble_storage.c24 bt_bdaddr_t bd_addr; in _btc_storage_save() local
75 string_to_bdaddr(need_remove_section, &bd_addr); in _btc_storage_save()
76 BTM_SecDeleteDevice(bd_addr.address, BT_TRANSPORT_LE); in _btc_storage_save()
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() argument
451 bdaddr_to_string(bd_addr, bdstr, sizeof(bdstr)); in _btc_storage_set_ble_dev_type()
466 bt_status_t btc_storage_set_ble_dev_type(bt_bdaddr_t *bd_addr, bool flush) in btc_storage_set_ble_dev_type() argument
471 ret = _btc_storage_set_ble_dev_type(bd_addr, flush); in btc_storage_set_ble_dev_type()
477 static bool _btc_storage_get_ble_dev_type(bt_bdaddr_t *bd_addr) in _btc_storage_get_ble_dev_type() argument
483 bdaddr_to_string(bd_addr, bdstr, sizeof(bdstr)); in _btc_storage_get_ble_dev_type()
495 bool btc_storage_get_ble_dev_type(bt_bdaddr_t *bd_addr) in btc_storage_get_ble_dev_type() argument
[all …]
/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() local
183 memcpy(bd_addr.address, remote_addr, BD_ADDR_LEN); in bta_gatts_co_cl_feat_save()
184 btc_storage_set_gatt_cl_supp_feat(&bd_addr, feature, 1); in bta_gatts_co_cl_feat_save()
202 bt_bdaddr_t bd_addr; in bta_gatts_co_db_hash_save() local
204 memcpy(bd_addr.address, remote_addr, BD_ADDR_LEN); in bta_gatts_co_db_hash_save()
205 btc_storage_set_gatt_db_hash(&bd_addr, db_hash, BT_OCTET16_LEN); in bta_gatts_co_db_hash_save()
223 bt_bdaddr_t bd_addr; in bta_gatts_co_cl_feat_load() local
225 memcpy(bd_addr.address, remote_addr, BD_ADDR_LEN); in bta_gatts_co_cl_feat_load()
226 btc_storage_get_gatt_cl_supp_feat(&bd_addr, feature, 1); in bta_gatts_co_cl_feat_load()
244 bt_bdaddr_t bd_addr; in bta_gatts_co_db_hash_load() local
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/api/include/api/
Desp_hidh_api.h162 esp_bd_addr_t bd_addr; /*!< device address */ member
262 esp_bd_addr_t bd_addr; /*!< device address */ member
271 esp_bd_addr_t bd_addr; /*!< device address */ member
297 esp_bd_addr_t bd_addr; /*!< device address */ member
349 esp_err_t esp_bt_hid_host_connect(esp_bd_addr_t bd_addr);
360 esp_err_t esp_bt_hid_host_disconnect(esp_bd_addr_t bd_addr);
371 esp_err_t esp_bt_hid_host_virtual_cable_unplug(esp_bd_addr_t bd_addr);
383 esp_err_t esp_bt_hid_host_set_info(esp_bd_addr_t bd_addr, esp_hidh_hid_info_t *hid_info);
395 esp_err_t esp_bt_hid_host_get_protocol(esp_bd_addr_t bd_addr);
408 esp_err_t esp_bt_hid_host_set_protocol(esp_bd_addr_t bd_addr, esp_hidh_protocol_mode_t protocol_mod…
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/rfcomm/
Dport_utils.c64 tPORT *port_allocate_port (UINT8 dlci, BD_ADDR bd_addr) in port_allocate_port() argument
82 memcpy (p_port->bd_addr, bd_addr, BD_ADDR_LEN); in port_allocate_port()
90bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]); in port_allocate_port()
153 packet_size = btm_get_max_packet_size (p_port->bd_addr); in port_select_mtu()
267 memcpy (p_port->bd_addr, BT_BD_ANY, BD_ADDR_LEN); in port_release_port()
285 tRFC_MCB *port_find_mcb (BD_ADDR bd_addr) in port_find_mcb() argument
291 && !memcmp (rfc_cb.port.rfc_mcb[i].bd_addr, bd_addr, BD_ADDR_LEN)) { in port_find_mcb()
294bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]); in port_find_mcb()
301 bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]); in port_find_mcb()
379 tPORT *port_find_port (UINT8 dlci, BD_ADDR bd_addr) in port_find_port() argument
[all …]
Drfc_utils.c133 tRFC_MCB *rfc_alloc_multiplexer_channel (BD_ADDR bd_addr, BOOLEAN is_initiator) in rfc_alloc_multiplexer_channel() argument
138 bd_addr[0], bd_addr[1], bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]); in rfc_alloc_multiplexer_channel()
145 rfc_cb.port.rfc_mcb[i].bd_addr[0], rfc_cb.port.rfc_mcb[i].bd_addr[1], in rfc_alloc_multiplexer_channel()
146 rfc_cb.port.rfc_mcb[i].bd_addr[2], rfc_cb.port.rfc_mcb[i].bd_addr[3], in rfc_alloc_multiplexer_channel()
147 rfc_cb.port.rfc_mcb[i].bd_addr[4], rfc_cb.port.rfc_mcb[i].bd_addr[5]); in rfc_alloc_multiplexer_channel()
150 && (!memcmp (rfc_cb.port.rfc_mcb[i].bd_addr, bd_addr, BD_ADDR_LEN))) { in rfc_alloc_multiplexer_channel()
174 memcpy (p_mcb->bd_addr, bd_addr, BD_ADDR_LEN); in rfc_alloc_multiplexer_channel()
375 void rfc_sec_check_complete (BD_ADDR bd_addr, tBT_TRANSPORT transport, void *p_ref_data, UINT8 res) in rfc_sec_check_complete() argument
378 UNUSED(bd_addr); in rfc_sec_check_complete()
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/dm/
Dbta_dm_co.c131 void bta_dm_co_io_req(BD_ADDR bd_addr, tBTA_IO_CAP *p_io_cap, tBTA_OOB_DATA *p_oob_data, in bta_dm_co_io_req() argument
134 UNUSED(bd_addr); in bta_dm_co_io_req()
139 btif_dm_proc_io_req(bd_addr, p_io_cap, p_oob_data, p_auth_req, is_orig); in bta_dm_co_io_req()
164 void bta_dm_co_io_rsp(BD_ADDR bd_addr, tBTA_IO_CAP io_cap, in bta_dm_co_io_rsp() argument
168 btif_dm_proc_io_rsp(bd_addr, io_cap, oob_data, auth_req); in bta_dm_co_io_rsp()
187 void bta_dm_co_lk_upgrade(BD_ADDR bd_addr, BOOLEAN *p_upgrade ) in bta_dm_co_lk_upgrade() argument
189 UNUSED(bd_addr); in bta_dm_co_lk_upgrade()
233 void bta_dm_co_rmt_oob(BD_ADDR bd_addr) in bta_dm_co_rmt_oob() argument
241 result = btif_dm_proc_rmt_oob(bd_addr, p_c, p_r); in bta_dm_co_rmt_oob()
248 bta_dm_ci_rmt_oob(result, bd_addr, p_c, p_r); in bta_dm_co_rmt_oob()
[all …]
Dbta_dm_ci.c45 void bta_dm_ci_io_req(BD_ADDR bd_addr, tBTA_IO_CAP io_cap, tBTA_OOB_DATA oob_data, in bta_dm_ci_io_req() argument
53 bdcpy(p_msg->bd_addr, bd_addr); in bta_dm_ci_io_req()
72 void bta_dm_ci_rmt_oob(BOOLEAN accept, BD_ADDR bd_addr, BT_OCTET16 c, BT_OCTET16 r) in bta_dm_ci_rmt_oob() argument
78 bdcpy(p_msg->bd_addr, bd_addr); in bta_dm_ci_rmt_oob()
Dbta_dm_api.c469 void BTA_DmDiscover(BD_ADDR bd_addr, tBTA_SERVICE_MASK services, in BTA_DmDiscover() argument
478 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmDiscover()
497 void BTA_DmDiscoverUUID(BD_ADDR bd_addr, tSDP_UUID *uuid, in BTA_DmDiscoverUUID() argument
504 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmDiscoverUUID()
531 void BTA_DmBond(BD_ADDR bd_addr) in BTA_DmBond() argument
538 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmBond()
555 void BTA_DmBondByTransport(BD_ADDR bd_addr, tBTA_TRANSPORT transport) in BTA_DmBondByTransport() argument
561 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmBondByTransport()
580 void BTA_DmBondCancel(BD_ADDR bd_addr) in BTA_DmBondCancel() argument
586 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmBondCancel()
[all …]
Dbta_dm_qos.c46 tBTM_STATUS status = BTM_SetQoS (p_data->qos_set.bd_addr, &p_flow, p_data->qos_set.p_cb); in bta_dm_set_qos()
54 void BTA_DmSetQos(BD_ADDR bd_addr, UINT32 t_poll, tBTM_CMPL_CB *p_cb) in BTA_DmSetQos() argument
61 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmSetQos()
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/profile/std/hid/
Dbtc_hh.c155 static btc_hh_device_t *btc_hh_find_dev_by_bda(BD_ADDR bd_addr) in btc_hh_find_dev_by_bda() argument
160 memcmp(btc_hh_cb.devices[i].bd_addr, bd_addr, BD_ADDR_LEN) == 0) { in btc_hh_find_dev_by_bda()
176 static btc_hh_device_t *btc_hh_find_connected_dev_by_bda(BD_ADDR bd_addr) in btc_hh_find_connected_dev_by_bda() argument
181 memcmp(btc_hh_cb.devices[i].bd_addr, bd_addr, BD_ADDR_LEN) == 0) { in btc_hh_find_connected_dev_by_bda()
196 void btc_hh_stop_vup_timer(BD_ADDR bd_addr) in btc_hh_stop_vup_timer() argument
199 btc_hh_device_t *p_dev = btc_hh_find_connected_dev_by_bda(bd_addr); in btc_hh_stop_vup_timer()
231 … bdaddr_to_string((const bt_bdaddr_t *)p_dev->bd_addr, bdstr, sizeof(bdstr))); in btc_hh_timer_timeout()
254 void btc_hh_start_vup_timer(BD_ADDR bd_addr) in btc_hh_start_vup_timer() argument
258 btc_hh_device_t *p_dev = btc_hh_find_connected_dev_by_bda(bd_addr); in btc_hh_start_vup_timer()
282 bool btc_hh_add_added_dev(BD_ADDR bd_addr, tBTA_HH_ATTR_MASK attr_mask) in btc_hh_add_added_dev() argument
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/include/bta/
Dbta_dm_co.h63 extern void bta_dm_co_io_req(BD_ADDR bd_addr, tBTA_IO_CAP *p_io_cap,
82 extern void bta_dm_co_io_rsp(BD_ADDR bd_addr, tBTA_IO_CAP io_cap,
98 extern void bta_dm_co_lk_upgrade(BD_ADDR bd_addr, BOOLEAN *p_upgrade );
128 extern void bta_dm_co_rmt_oob(BD_ADDR bd_addr);
149 extern void bta_dm_co_ble_io_req(BD_ADDR bd_addr, tBTA_IO_CAP *p_io_cap,
191 extern void bta_dm_co_ble_io_req(BD_ADDR bd_addr, tBTA_IO_CAP *p_io_cap,
Dbta_api.h284 BD_ADDR bd_addr; /* BD address of device to filter. */ member
535 typedef void (tBTA_DM_BLE_RSSI_CBACK) (BD_ADDR bd_addr, tBTA_DM_BLE_RSSI_ALERT_TYPE alert_type, INT…
675 BD_ADDR bd_addr; /* BD address peer device. */ member
771 BD_ADDR bd_addr; /* peer address */ member
776 BD_ADDR bd_addr; /* peer address */ member
783 BD_ADDR bd_addr; /* BD address peer device. */ member
799 BD_ADDR bd_addr; /* BD address peer device. */ member
810 BD_ADDR bd_addr; /* BD address peer device. */ member
818 BD_ADDR bd_addr; /* BD address peer device. */ member
836 BD_ADDR bd_addr; /* peer bluetooth address */ member
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/include/stack/
Dsmp_api.h281 typedef UINT8 (tSMP_CALLBACK) (tSMP_EVT event, BD_ADDR bd_addr, tSMP_EVT_DATA *p_data);
351 extern tSMP_STATUS SMP_Pair (BD_ADDR bd_addr);
362 extern tSMP_STATUS SMP_BR_PairWith (BD_ADDR bd_addr);
373 extern BOOLEAN SMP_PairCancel (BD_ADDR bd_addr);
388 extern void SMP_SecurityGrant(BD_ADDR bd_addr, UINT8 res);
403 extern void SMP_PasskeyReply (BD_ADDR bd_addr, UINT8 res, UINT32 passkey);
432 extern void SMP_ConfirmReply (BD_ADDR bd_addr, UINT8 res);
446 extern void SMP_OobDataReply(BD_ADDR bd_addr, tSMP_STATUS res, UINT8 len,
492 extern void SMP_KeypressNotification (BD_ADDR bd_addr, UINT8 value);
Dbtm_api.h186 typedef UINT8 (tBTM_FILTER_CB) (BD_ADDR bd_addr, DEV_CLASS dc);
188 typedef void (tBTM_UPDATE_CONN_PARAM_CBACK) (UINT8 status, BD_ADDR bd_addr, tBTM_LE_UPDATE_CONN_PRA…
691 BD_ADDR bd_addr; member
840 BD_ADDR bd_addr; /* Peer Bluetooth device address */ member
846 BD_ADDR bd_addr; /* Peer Bluetooth device address */ member
1113 BD_ADDR bd_addr; member
1124 BD_ADDR bd_addr; member
1132 BD_ADDR bd_addr; member
1394 typedef UINT8 (tBTM_AUTHORIZE_CALLBACK) (BD_ADDR bd_addr, DEV_CLASS dev_class,
1404 typedef UINT8 (tBTM_PIN_CALLBACK) (BD_ADDR bd_addr, DEV_CLASS dev_class,
[all …]
/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() argument
151 if (bdcmp(bd_addr->address, hf_local_param[i].btc_hf_cb.connected_bda.address) == 0) { in btc_hf_idx_by_bdaddr()
169 static BOOLEAN is_connected(int idx, bt_bdaddr_t *bd_addr) in is_connected() argument
171 if ((bdcmp(bd_addr->address,hf_local_param[idx].btc_hf_cb.connected_bda.address) == 0) && in is_connected()
375 static bt_status_t connect_init(bt_bdaddr_t *bd_addr, uint16_t uuid) in connect_init() argument
383 if (!is_connected(idx, bd_addr)) { in connect_init()
385 bdcpy(hf_local_param[idx].btc_hf_cb.connected_bda.address, bd_addr->address); in connect_init()
391 bt_status_t btc_hf_connect(bt_bdaddr_t *bd_addr) in btc_hf_connect() argument
393 return btc_queue_connect(UUID_SERVCLASS_AG_HANDSFREE, bd_addr, connect_init); in btc_hf_connect()
396 bt_status_t btc_hf_disconnect(bt_bdaddr_t *bd_addr) in btc_hf_disconnect() argument
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/avdt/
Davdt_l2c.c41 void avdt_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id);
75 static void avdt_sec_check_complete_term (BD_ADDR bd_addr, tBT_TRANSPORT transport, in avdt_sec_check_complete_term() argument
84 if (!bd_addr) { in avdt_sec_check_complete_term()
89 p_ccb = avdt_ccb_by_bd(bd_addr); in avdt_sec_check_complete_term()
98 L2CA_ConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_OK, L2CAP_CONN_OK); in avdt_sec_check_complete_term()
115 L2CA_ConnectRsp (bd_addr, p_tbl->id, p_tbl->lcid, L2CAP_CONN_SECURITY_BLOCK, L2CAP_CONN_OK); in avdt_sec_check_complete_term()
130 static void avdt_sec_check_complete_orig (BD_ADDR bd_addr, tBT_TRANSPORT transport, in avdt_sec_check_complete_orig() argument
139 if (bd_addr) { in avdt_sec_check_complete_orig()
140 p_ccb = avdt_ccb_by_bd(bd_addr); in avdt_sec_check_complete_orig()
173 void avdt_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) in avdt_l2c_connect_ind_cback() argument
[all …]

1234567