Home
last modified time | relevance | path

Searched refs:evt_data (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/jv/
Dbta_jv_act.c298 tBTA_JV evt_data; in bta_jv_free_rfc_cb() local
418 evt_data.rfc_srv_open.handle = 0; in bta_jv_free_rfc_cb()
419 evt_data.rfc_srv_open.new_listen_handle = p_pcb->handle; in bta_jv_free_rfc_cb()
420 evt_data.rfc_srv_open.status = BTA_JV_SUCCESS; in bta_jv_free_rfc_cb()
421 … p_pcb->user_data = p_cb->p_cback(BTA_JV_RFCOMM_SRV_OPEN_EVT, &evt_data, (void *)scn_num); in bta_jv_free_rfc_cb()
740 tBTA_JV_STATUS evt_data; in bta_jv_disable() local
741 evt_data = BTA_JV_SUCCESS; in bta_jv_disable()
744 p_data->disable.p_cback(BTA_JV_DISABLE_EVT, (tBTA_JV *)&evt_data, NULL); in bta_jv_disable()
856 tBTA_JV_FREE_SCN evt_data = { in bta_jv_free_scn() local
888 evt_data.server_status = user_data->server_status; in bta_jv_free_scn()
[all …]
Dbta_jv_api.c694 tBTA_JV_L2CAP_READ evt_data; in BTA_JvL2capRead() local
701 evt_data.status = BTA_JV_FAILURE; in BTA_JvL2capRead()
702 evt_data.handle = handle; in BTA_JvL2capRead()
703 evt_data.req_id = req_id; in BTA_JvL2capRead()
704 evt_data.p_data = p_data; in BTA_JvL2capRead()
705 evt_data.len = 0; in BTA_JvL2capRead()
707 if (BT_PASS == GAP_ConnReadData((UINT16)handle, p_data, len, &evt_data.len)) { in BTA_JvL2capRead()
708 evt_data.status = BTA_JV_SUCCESS; in BTA_JvL2capRead()
711 BTA_JV_L2CAP_READ_EVT, (tBTA_JV *)&evt_data, bta_jv_cb.l2c_cb[handle].user_data); in BTA_JvL2capRead()
733 tBTA_JV_L2CAP_RECEIVE evt_data; in BTA_JvL2capReceive() local
[all …]
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btm/
Dbtm_sec.c2035 tBTM_SP_UPGRADE evt_data; in btm_sec_check_upgrade() local
2036 memcpy (evt_data.bd_addr, p_dev_rec->bd_addr, BD_ADDR_LEN); in btm_sec_check_upgrade()
2037 evt_data.upgrade = TRUE; in btm_sec_check_upgrade()
2039 (*btm_cb.api.p_sp_callback) (BTM_SP_UPGRADE_EVT, (tBTM_SP_EVT_DATA *)&evt_data); in btm_sec_check_upgrade()
2042 BTM_TRACE_DEBUG ("evt_data.upgrade:0x%x\n", evt_data.upgrade); in btm_sec_check_upgrade()
2043 if (evt_data.upgrade) { in btm_sec_check_upgrade()
3249 tBTM_SP_IO_REQ evt_data; in btm_io_capabilities_req() local
3255 STREAM_TO_BDADDR (evt_data.bd_addr, p); in btm_io_capabilities_req()
3260 evt_data.io_cap = btm_cb.devcb.loc_io_caps; in btm_io_capabilities_req()
3261 evt_data.oob_data = BTM_OOB_NONE; in btm_io_capabilities_req()
[all …]
Dbtm_acl.c424 tBTM_BL_EVENT_DATA evt_data; in btm_acl_removed() local
442 evt_data.event = BTM_BL_DISCN_EVT; in btm_acl_removed()
443 evt_data.discn.p_bda = bda; in btm_acl_removed()
445 evt_data.discn.handle = p->hci_handle; in btm_acl_removed()
446 evt_data.discn.transport = p->transport; in btm_acl_removed()
448 (*btm_cb.p_bl_changed_cb)(&evt_data); in btm_acl_removed()
1222 tBTM_BL_EVENT_DATA evt_data; in btm_establish_continue() local
1243 evt_data.event = BTM_BL_CONN_EVT; in btm_establish_continue()
1244 evt_data.conn.p_bda = p_acl_cb->remote_addr; in btm_establish_continue()
1245 evt_data.conn.p_bdn = p_acl_cb->remote_name; in btm_establish_continue()
[all …]
Dbtm_sco.c867 tBTM_ESCO_CONN_REQ_EVT_DATA evt_data; in btm_sco_conn_req() local
900 memcpy(evt_data.bd_addr, bda, BD_ADDR_LEN); in btm_sco_conn_req()
901 memcpy(evt_data.dev_class, dev_class, DEV_CLASS_LEN); in btm_sco_conn_req()
902 evt_data.link_type = link_type; in btm_sco_conn_req()
903 evt_data.sco_inx = xx; in btm_sco_conn_req()
904 p->esco.p_esco_cback(BTM_ESCO_CONN_REQ_EVT, (tBTM_ESCO_EVT_DATA *)&evt_data); in btm_sco_conn_req()
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/sdp/
Dbta_sdp_act.c366 tBTA_SDP_SEARCH_COMP evt_data = {0}; // We need to zero-initialize in bta_sdp_search_cback() local
378 bdcpy(evt_data.remote_addr, bta_sdp_cb.remote_addr); in bta_sdp_search_cback()
380 memcpy(&evt_data.uuid, uuid, sizeof(tBT_UUID)); in bta_sdp_search_cback()
391 bta_create_mas_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
394 bta_create_mns_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
397 bta_create_pse_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
400 bta_create_ops_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
403 bta_create_sap_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
408 bta_create_raw_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
422 evt_data.record_count = count; in bta_sdp_search_cback()
[all …]
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/smp/
Dsmp_utils.c975 tSMP_EVT_DATA evt_data = {0}; in smp_proc_pairing_cmpl() local
981 evt_data.cmplt.reason = p_cb->status; in smp_proc_pairing_cmpl()
982 evt_data.cmplt.smp_over_br = p_cb->smp_over_br; in smp_proc_pairing_cmpl()
983 evt_data.cmplt.auth_mode = 0; in smp_proc_pairing_cmpl()
987 evt_data.cmplt.sec_level = p_cb->sec_level; in smp_proc_pairing_cmpl()
989 evt_data.cmplt.auth_mode = p_cb->auth_mode; in smp_proc_pairing_cmpl()
994 evt_data.cmplt.auth_mode = p_rec->ble.auth_mode; in smp_proc_pairing_cmpl()
999 evt_data.cmplt.sec_level = p_cb->sec_level; in smp_proc_pairing_cmpl()
1000 evt_data.cmplt.auth_mode = p_cb->auth_mode; in smp_proc_pairing_cmpl()
1004 evt_data.cmplt.is_pair_cancel = FALSE; in smp_proc_pairing_cmpl()
[all …]