Home
last modified time | relevance | path

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

/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/jv/
Dbta_jv_act.c303 tBTA_JV evt_data = {0}; in bta_jv_free_rfc_cb() local
421 evt_data.rfc_srv_open.handle = 0; in bta_jv_free_rfc_cb()
422 evt_data.rfc_srv_open.new_listen_handle = p_pcb->handle; in bta_jv_free_rfc_cb()
423 evt_data.rfc_srv_open.status = BTA_JV_SUCCESS; in bta_jv_free_rfc_cb()
424 … 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()
746 tBTA_JV_STATUS evt_data; in bta_jv_disable() local
747 evt_data = BTA_JV_SUCCESS; in bta_jv_disable()
750 p_data->disable.p_cback(BTA_JV_DISABLE_EVT, (tBTA_JV *)&evt_data, NULL); in bta_jv_disable()
862 tBTA_JV_FREE_SCN evt_data = { in bta_jv_free_scn() local
884 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
699 evt_data.status = BTA_JV_FAILURE; in BTA_JvL2capRead()
700 evt_data.handle = handle; in BTA_JvL2capRead()
701 evt_data.req_id = req_id; in BTA_JvL2capRead()
702 evt_data.p_data = p_data; in BTA_JvL2capRead()
703 evt_data.len = 0; in BTA_JvL2capRead()
705 if (BT_PASS == GAP_ConnReadData((UINT16)handle, p_data, len, &evt_data.len)) { in BTA_JvL2capRead()
706 evt_data.status = BTA_JV_SUCCESS; in BTA_JvL2capRead()
709 BTA_JV_L2CAP_READ_EVT, (tBTA_JV *)&evt_data, bta_jv_cb.l2c_cb[handle].user_data); in BTA_JvL2capRead()
712 return (evt_data.len); in BTA_JvL2capRead()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/btm/
Dbtm_sec.c2042 tBTM_SP_UPGRADE evt_data; in btm_sec_check_upgrade() local
2043 memcpy (evt_data.bd_addr, p_dev_rec->bd_addr, BD_ADDR_LEN); in btm_sec_check_upgrade()
2044 evt_data.upgrade = TRUE; in btm_sec_check_upgrade()
2046 (*btm_cb.api.p_sp_callback) (BTM_SP_UPGRADE_EVT, (tBTM_SP_EVT_DATA *)&evt_data); in btm_sec_check_upgrade()
2049 BTM_TRACE_DEBUG ("evt_data.upgrade:0x%x\n", evt_data.upgrade); in btm_sec_check_upgrade()
2050 if (evt_data.upgrade) { in btm_sec_check_upgrade()
3265 tBTM_SP_IO_REQ evt_data; in btm_io_capabilities_req() local
3271 STREAM_TO_BDADDR (evt_data.bd_addr, p); in btm_io_capabilities_req()
3276 evt_data.io_cap = btm_cb.devcb.loc_io_caps; in btm_io_capabilities_req()
3277 evt_data.oob_data = BTM_OOB_NONE; in btm_io_capabilities_req()
[all …]
Dbtm_acl.c426 tBTM_BL_EVENT_DATA evt_data; in btm_acl_removed() local
444 evt_data.event = BTM_BL_DISCN_EVT; in btm_acl_removed()
445 evt_data.discn.p_bda = bda; in btm_acl_removed()
447 evt_data.discn.handle = p->hci_handle; in btm_acl_removed()
448 evt_data.discn.transport = p->transport; in btm_acl_removed()
450 (*btm_cb.p_bl_changed_cb)(&evt_data); in btm_acl_removed()
1233 tBTM_BL_EVENT_DATA evt_data; in btm_establish_continue() local
1254 evt_data.event = BTM_BL_CONN_EVT; in btm_establish_continue()
1255 evt_data.conn.p_bda = p_acl_cb->remote_addr; in btm_establish_continue()
1256 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()
Dbtm_ble.c2284 tBTM_LE_EVT_DATA evt_data; local
2285 memcpy(&evt_data.local_oob_data, &p_data->loc_oob_data, sizeof(tSMP_LOC_OOB_DATA));
2287 (*btm_cb.api.p_le_callback)(event, bd_addr, &evt_data);
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/sdp/
Dbta_sdp_act.c395 tBTA_SDP_SEARCH_COMP evt_data = {0}; // We need to zero-initialize in bta_sdp_search_cback() local
407 bdcpy(evt_data.remote_addr, bta_sdp_cb.remote_addr); in bta_sdp_search_cback()
409 memcpy(&evt_data.uuid, uuid, sizeof(tBT_UUID)); in bta_sdp_search_cback()
420 bta_create_mas_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
423 bta_create_mns_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
426 bta_create_pse_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
429 bta_create_pce_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
432 bta_create_ops_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
435 bta_create_sap_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
440 bta_create_raw_sdp_record(&evt_data.records[count], p_rec); in bta_sdp_search_cback()
[all …]
/hal_espressif-3.7.0/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 …]
/hal_espressif-3.7.0/components/esp_wifi/wifi_apps/src/
Dnan_app.c365 static void nan_fill_params_from_event(void *evt_data, uint8_t event) in nan_fill_params_from_event() argument
369 wifi_event_ndp_indication_t *evt = (wifi_event_ndp_indication_t *)evt_data; in nan_fill_params_from_event()
374 wifi_event_ndp_confirm_t *evt = (wifi_event_ndp_confirm_t *)evt_data; in nan_fill_params_from_event()
385 wifi_event_nan_replied_t *evt = (wifi_event_nan_replied_t *)evt_data; in nan_fill_params_from_event()
393 wifi_event_nan_receive_t *evt = (wifi_event_nan_receive_t *)evt_data; in nan_fill_params_from_event()
401 wifi_event_nan_svc_match_t *evt = (wifi_event_nan_svc_match_t *)evt_data; in nan_fill_params_from_event()