Home
last modified time | relevance | path

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

1234567

/hal_espressif-2.7.6/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-2.7.6/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.c51 extern void gatt_notify_enc_cmpl(BD_ADDR bd_addr);
73 BOOLEAN BTM_SecAddBleDevice (BD_ADDR bd_addr, BD_NAME bd_name, tBT_DEVICE_TYPE dev_type, in BTM_SecAddBleDevice() argument
80 p_dev_rec = btm_find_dev (bd_addr); in BTM_SecAddBleDevice()
96 memcpy (p_dev_rec->bd_addr, bd_addr, BD_ADDR_LEN); in BTM_SecAddBleDevice()
97 p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddBleDevice()
98 p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_LE); in BTM_SecAddBleDevice()
127 memcpy (p_dev_rec->ble.pseudo_addr, bd_addr, BD_ADDR_LEN); in BTM_SecAddBleDevice()
129 p_info = BTM_InqDbRead(bd_addr); in BTM_SecAddBleDevice()
157 BOOLEAN BTM_SecAddBleKey (BD_ADDR bd_addr, tBTM_LE_KEY_VALUE *p_le_key, tBTM_LE_KEY_TYPE key_type) in BTM_SecAddBleKey() argument
161 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,
332 BOOLEAN BTM_GetSecurityFlags (BD_ADDR bd_addr, UINT8 *p_sec_flags) in BTM_GetSecurityFlags() argument
336 if ((p_dev_rec = btm_find_dev (bd_addr)) != NULL) { in BTM_GetSecurityFlags()
353 BOOLEAN BTM_GetSecurityFlagsByTransport (BD_ADDR bd_addr, UINT8 *p_sec_flags, in BTM_GetSecurityFlagsByTransport() argument
358 if ((p_dev_rec = btm_find_dev (bd_addr)) != NULL) { in BTM_GetSecurityFlagsByTransport()
830 void BTM_PINCodeReply (BD_ADDR bd_addr, UINT8 res, UINT8 pin_len, UINT8 *p_pin, UINT32 trusted_mask… in BTM_PINCodeReply() argument
843 if (memcmp (bd_addr, btm_cb.pairing_bda, BD_ADDR_LEN) != 0) { in BTM_PINCodeReply()
848 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-2.7.6/components/bt/host/bluedroid/api/include/api/
Desp_hf_defs.h269 …void (* esp_hf_connection_state_callback)(esp_hf_connection_state_t state, esp_bd_addr_t *bd_addr);
274 typedef void (* esp_hf_audio_state_callback)(esp_hf_audio_state_t state, esp_bd_addr_t *bd_addr);
279 typedef void (* esp_hf_vr_cmd_callback)(esp_hf_vr_state_t state, esp_bd_addr_t *bd_addr);
283 typedef void (* esp_hf_answer_call_cmd_callback)(esp_bd_addr_t *bd_addr);
287 typedef void (* esp_hf_hangup_call_cmd_callback)(esp_bd_addr_t *bd_addr);
292 …p_hf_volume_cmd_callback)(esp_hf_volume_control_target_t type, int volume, esp_bd_addr_t *bd_addr);
297 typedef void (* esp_hf_dial_call_cmd_callback)(char *number, esp_bd_addr_t *bd_addr);
302 typedef void (* esp_hf_dtmf_cmd_callback)(char tone, esp_bd_addr_t *bd_addr);
307 typedef void (* esp_hf_nrec_cmd_callback)(esp_hf_nrec_t nrec, esp_bd_addr_t *bd_addr);
312 typedef void (* esp_hf_wbs_callback)(esp_hf_wbs_config_t wbs, esp_bd_addr_t *bd_addr);
[all …]
/hal_espressif-2.7.6/components/bt/host/bluedroid/btc/core/
Dbtc_dm.c177 bt_bdaddr_t bd_addr; in btc_dm_remove_ble_bonding_keys() local
180 bdcpy(bd_addr.address, btc_dm_cb.pairing_cb.bd_addr); in btc_dm_remove_ble_bonding_keys()
182 btc_storage_remove_remote_addr_type(&bd_addr, false); in btc_dm_remove_ble_bonding_keys()
183 btc_storage_remove_ble_dev_auth_mode(&bd_addr, false); in btc_dm_remove_ble_bonding_keys()
184 btc_storage_remove_ble_dev_type(&bd_addr, false); in btc_dm_remove_ble_bonding_keys()
185 btc_storage_remove_ble_bonding_keys(&bd_addr); in btc_dm_remove_ble_bonding_keys()
194 bt_bdaddr_t bd_addr; in btc_dm_save_ble_bonding_keys() local
196 bdcpy(bd_addr.address, btc_dm_cb.pairing_cb.bd_addr); in btc_dm_save_ble_bonding_keys()
198 btc_storage_set_ble_dev_type(&bd_addr, false); in btc_dm_save_ble_bonding_keys()
201 btc_storage_add_ble_bonding_key(&bd_addr, in btc_dm_save_ble_bonding_keys()
[all …]
Dbtc_ble_storage.c32 bt_bdaddr_t bd_addr; in _btc_storage_save() local
81 string_to_bdaddr(need_remove_section, &bd_addr); in _btc_storage_save()
82 BTM_SecDeleteDevice(bd_addr.address, BT_TRANSPORT_LE); in _btc_storage_save()
451 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
457 bdaddr_to_string(bd_addr, bdstr, sizeof(bdstr)); in _btc_storage_set_ble_dev_type()
472 bt_status_t btc_storage_set_ble_dev_type(bt_bdaddr_t *bd_addr, bool flush) in btc_storage_set_ble_dev_type() argument
477 ret = _btc_storage_set_ble_dev_type(bd_addr, flush); in btc_storage_set_ble_dev_type()
483 static bool _btc_storage_get_ble_dev_type(bt_bdaddr_t *bd_addr) in _btc_storage_get_ble_dev_type() argument
489 bdaddr_to_string(bd_addr, bdstr, sizeof(bdstr)); in _btc_storage_get_ble_dev_type()
501 bool btc_storage_get_ble_dev_type(bt_bdaddr_t *bd_addr) in btc_storage_get_ble_dev_type() argument
[all …]
/hal_espressif-2.7.6/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-2.7.6/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/main/
Dble_hidd_demo_main.c140 ESP_LOGD(HID_DEMO_TAG, "%x:",param->ble_security.ble_req.bd_addr[i]); in gap_event_handler()
142 esp_ble_gap_security_rsp(param->ble_security.ble_req.bd_addr, true); in gap_event_handler()
146 esp_bd_addr_t bd_addr; in gap_event_handler() local
147 memcpy(bd_addr, param->ble_security.auth_cmpl.bd_addr, sizeof(esp_bd_addr_t)); in gap_event_handler()
149 (bd_addr[0] << 24) + (bd_addr[1] << 16) + (bd_addr[2] << 8) + bd_addr[3], in gap_event_handler()
150 (bd_addr[4] << 8) + bd_addr[5]); in gap_event_handler()
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/dm/
Dbta_dm_co.c132 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
135 UNUSED(bd_addr); in bta_dm_co_io_req()
140 btif_dm_proc_io_req(bd_addr, p_io_cap, p_oob_data, p_auth_req, is_orig); in bta_dm_co_io_req()
165 void bta_dm_co_io_rsp(BD_ADDR bd_addr, tBTA_IO_CAP io_cap, in bta_dm_co_io_rsp() argument
169 btif_dm_proc_io_rsp(bd_addr, io_cap, oob_data, auth_req); in bta_dm_co_io_rsp()
188 void bta_dm_co_lk_upgrade(BD_ADDR bd_addr, BOOLEAN *p_upgrade ) in bta_dm_co_lk_upgrade() argument
190 UNUSED(bd_addr); in bta_dm_co_lk_upgrade()
234 void bta_dm_co_rmt_oob(BD_ADDR bd_addr) in bta_dm_co_rmt_oob() argument
242 result = btif_dm_proc_rmt_oob(bd_addr, p_c, p_r); in bta_dm_co_rmt_oob()
249 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.c448 void BTA_DmDiscover(BD_ADDR bd_addr, tBTA_SERVICE_MASK services, in BTA_DmDiscover() argument
457 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmDiscover()
476 void BTA_DmDiscoverUUID(BD_ADDR bd_addr, tSDP_UUID *uuid, in BTA_DmDiscoverUUID() argument
483 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmDiscoverUUID()
510 void BTA_DmBond(BD_ADDR bd_addr) in BTA_DmBond() argument
517 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmBond()
534 void BTA_DmBondByTransport(BD_ADDR bd_addr, tBTA_TRANSPORT transport) in BTA_DmBondByTransport() argument
540 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmBondByTransport()
559 void BTA_DmBondCancel(BD_ADDR bd_addr) in BTA_DmBondCancel() argument
565 bdcpy(p_msg->bd_addr, bd_addr); in BTA_DmBondCancel()
[all …]
Dbta_dm_act.c52 static void bta_dm_service_search_remname_cback (BD_ADDR bd_addr, DEV_CLASS dc, BD_NAME bd_name);
55 static void bta_dm_find_services ( BD_ADDR bd_addr);
62 static UINT8 bta_dm_authorize_cback (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, UINT8 *…
64 static UINT8 bta_dm_pin_cback (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, BOOLEAN min_1…
66 static UINT8 bta_dm_new_link_key_cback(BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, LINK_…
67 static UINT8 bta_dm_authentication_complete_cback(BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_…
69 static void bta_dm_local_name_cback(BD_ADDR bd_addr);
99 static BOOLEAN bta_dm_read_remote_device_name (BD_ADDR bd_addr, tBT_TRANSPORT transport);
113 static void btm_dm_start_gatt_discovery(BD_ADDR bd_addr);
114 static void bta_dm_cancel_gatt_discovery(BD_ADDR bd_addr);
[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-2.7.6/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.h282 BD_ADDR bd_addr; /* BD address of device to filter. */ member
533 typedef void (tBTA_DM_BLE_RSSI_CBACK) (BD_ADDR bd_addr, tBTA_DM_BLE_RSSI_ALERT_TYPE alert_type, INT…
670 BD_ADDR bd_addr; /* BD address peer device. */ member
766 BD_ADDR bd_addr; /* peer address */ member
771 BD_ADDR bd_addr; /* peer address */ member
778 BD_ADDR bd_addr; /* BD address peer device. */ member
794 BD_ADDR bd_addr; /* BD address peer device. */ member
805 BD_ADDR bd_addr; /* BD address peer device. */ member
813 BD_ADDR bd_addr; /* BD address peer device. */ member
824 BD_ADDR bd_addr; /* BD address peer device. */ member
[all …]
/hal_espressif-2.7.6/components/bt/host/bluedroid/btc/profile/std/hf_ag/
Dbtc_hf_ag.c120 static int btc_hf_idx_by_bdaddr(bt_bdaddr_t *bd_addr) in btc_hf_idx_by_bdaddr() argument
123 if ((bdcmp(bd_addr->address, hf_local_param[i].btc_hf_cb.connected_bda.address) == 0) in btc_hf_idx_by_bdaddr()
124 || bd_addr->address) { in btc_hf_idx_by_bdaddr()
131 static BOOLEAN is_connected(bt_bdaddr_t *bd_addr) in is_connected() argument
133 int idx = btc_hf_idx_by_bdaddr(bd_addr); in is_connected()
136 …((bd_addr == NULL) || (bdcmp(bd_addr->address,hf_local_param[idx].btc_hf_cb.connected_bda.address)… in is_connected()
297 bt_status_t btc_hf_init(bt_bdaddr_t *bd_addr) in btc_hf_init() argument
299 int idx = btc_hf_idx_by_bdaddr(bd_addr); in btc_hf_init()
323 void btc_hf_deinit(bt_bdaddr_t *bd_addr) in btc_hf_deinit() argument
325 int idx = btc_hf_idx_by_bdaddr(bd_addr); in btc_hf_deinit()
[all …]
/hal_espressif-2.7.6/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 …]
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/gatt/
Dgatt_main.c46 static void gatt_le_connect_cback (UINT16 chan, BD_ADDR bd_addr, BOOLEAN connected,
48 static void gatt_le_data_ind (UINT16 chan, BD_ADDR bd_addr, BT_HDR *p_buf);
51 static void gatt_l2cif_connect_ind_cback (BD_ADDR bd_addr, UINT16 l2cap_cid,
377 BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr, in gatt_act_connect() argument
384 if ((p_tcb = gatt_find_tcb_by_addr(bd_addr, transport)) != NULL) { in gatt_act_connect()
391 if (!gatt_connect(bd_addr, bd_addr_type, p_tcb, transport, is_aux)) { in gatt_act_connect()
401 if ((p_tcb = gatt_allocate_tcb_by_bdaddr(bd_addr, transport)) != NULL) { in gatt_act_connect()
402 if (!gatt_connect(bd_addr, bd_addr_type, p_tcb, transport, is_aux)) { in gatt_act_connect()
409 p_tcb = gatt_find_tcb_by_addr(bd_addr, transport); in gatt_act_connect()
445 static void gatt_le_connect_cback (UINT16 chan, BD_ADDR bd_addr, BOOLEAN connected, in gatt_le_connect_cback() argument
[all …]
/hal_espressif-2.7.6/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.h183 typedef UINT8 (tBTM_FILTER_CB) (BD_ADDR bd_addr, DEV_CLASS dc);
185 typedef void (tBTM_UPDATE_CONN_PARAM_CBACK) (UINT8 status, BD_ADDR bd_addr, tBTM_LE_UPDATE_CONN_PRA…
688 BD_ADDR bd_addr; member
1079 BD_ADDR bd_addr; member
1090 BD_ADDR bd_addr; member
1098 BD_ADDR bd_addr; member
1357 typedef UINT8 (tBTM_AUTHORIZE_CALLBACK) (BD_ADDR bd_addr, DEV_CLASS dev_class,
1367 typedef UINT8 (tBTM_PIN_CALLBACK) (BD_ADDR bd_addr, DEV_CLASS dev_class,
1375 typedef UINT8 (tBTM_LINK_KEY_CALLBACK) (BD_ADDR bd_addr, DEV_CLASS dev_class,
1384 typedef void (tBTM_RMT_NAME_CALLBACK) (BD_ADDR bd_addr, DEV_CLASS dc,
[all …]
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble/gatt_security_server/main/
Dexample_ble_sec_gatts_demo.c267 esp_log_buffer_hex(GATTS_TABLE_TAG, (void *)dev_list[i].bd_addr, sizeof(esp_bd_addr_t)); in show_bonded_devices()
280 esp_ble_remove_bond_device(dev_list[i].bd_addr); in remove_all_bonded_devices()
319 esp_ble_oob_req_reply(param->ble_security.ble_req.bd_addr, tk, sizeof(tk)); in gap_event_handler()
331 esp_ble_confirm_reply(param->ble_security.ble_req.bd_addr, true); in gap_event_handler()
337 esp_ble_gap_security_rsp(param->ble_security.ble_req.bd_addr, true); in gap_event_handler()
348 esp_bd_addr_t bd_addr; in gap_event_handler() local
349 memcpy(bd_addr, param->ble_security.auth_cmpl.bd_addr, sizeof(esp_bd_addr_t)); in gap_event_handler()
351 (bd_addr[0] << 24) + (bd_addr[1] << 16) + (bd_addr[2] << 8) + bd_addr[3], in gap_event_handler()
352 (bd_addr[4] << 8) + bd_addr[5]); in gap_event_handler()
367 …esp_log_buffer_hex(GATTS_TABLE_TAG, (void *)param->remove_bond_dev_cmpl.bd_addr, sizeof(esp_bd_add… in gap_event_handler()

1234567