Home
last modified time | relevance | path

Searched refs:app_id (Results 1 – 25 of 56) sorted by relevance

123

/hal_espressif-latest/components/bt/host/bluedroid/bta/sys/
Dbta_sys_conn.c196 void bta_sys_conn_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_conn_open() argument
200 bta_sys_cb.prm_cb(BTA_SYS_CONN_OPEN, id, app_id, peer_addr); in bta_sys_conn_open()
206 bta_sys_cb.ppm_cb(BTA_SYS_CONN_OPEN, id, app_id, peer_addr); in bta_sys_conn_open()
224 void bta_sys_conn_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_conn_close() argument
228 bta_sys_cb.prm_cb(BTA_SYS_CONN_CLOSE, id, app_id, peer_addr); in bta_sys_conn_close()
234 bta_sys_cb.ppm_cb(BTA_SYS_CONN_CLOSE, id, app_id, peer_addr); in bta_sys_conn_close()
251 void bta_sys_app_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_app_open() argument
254 bta_sys_cb.ppm_cb(BTA_SYS_APP_OPEN, id, app_id, peer_addr); in bta_sys_app_open()
270 void bta_sys_app_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_app_close() argument
273 bta_sys_cb.ppm_cb(BTA_SYS_APP_CLOSE, id, app_id, peer_addr); in bta_sys_app_close()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/include/bta/
Dbta_hh_co.h50 UINT8 ctry_code, BD_ADDR peer_addr, UINT8 app_id);
64 UINT16 attr_mask, UINT8 app_id);
76 extern void bta_hh_co_close(UINT8 dev_handle, UINT8 app_id);
97 UINT8 app_id);
116 UINT8 app_id);
129 extern void bta_hh_le_co_reset_rpt_cache (BD_ADDR remote_bda, UINT8 app_id);
Dbta_sys.h139 typedef void (tBTA_SYS_CONN_CBACK)(tBTA_SYS_CONN_STATUS status, UINT8 id, UINT8 app_id, BD_ADDR pee…
142 typedef void (tBTA_SYS_SSR_CFG_CBACK)(UINT8 id, UINT8 app_id, UINT16 latency, UINT16 tout);
243 extern void bta_sys_conn_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr);
244 extern void bta_sys_conn_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr);
245 extern void bta_sys_app_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr);
246 extern void bta_sys_app_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr);
247 extern void bta_sys_sco_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr);
248 extern void bta_sys_sco_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr);
249 extern void bta_sys_sco_use(UINT8 id, UINT8 app_id, BD_ADDR peer_addr);
250 extern void bta_sys_sco_unuse(UINT8 id, UINT8 app_id, BD_ADDR peer_addr);
[all …]
Dbta_ag_co.h50 void bta_ag_sco_audio_state(UINT16 handle, UINT8 app_id, UINT8 state, tBTA_AG_PEER_CODEC codec);
52 void bta_ag_sco_audio_state(UINT16 handle, UINT8 app_id, UINT8 state);
69 …PE bta_ag_sco_co_init(UINT32 rx_bw, UINT32 tx_bw, tBTA_HFP_CODEC_INFO *p_codec_info, UINT8 app_id);
Dbta_hf_client_co.h55 tBTA_HFP_CODEC_INFO *p_codec_info, UINT8 app_id);
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/hid/
Dbta_hh_co.c15 … bta_hh_co_open(uint8_t dev_handle, uint8_t sub_class, tBTA_HH_ATTR_MASK attr_mask, uint8_t app_id) in bta_hh_co_open() argument
32 p_dev->app_id); in bta_hh_co_open()
46 p_dev->app_id = app_id; in bta_hh_co_open()
76 void bta_hh_co_close(uint8_t dev_handle, uint8_t app_id) in bta_hh_co_close() argument
81 APPL_TRACE_WARNING("%s: dev_handle = %d, app_id = %d", __func__, dev_handle, app_id); in bta_hh_co_close()
115 BD_ADDR peer_addr, UINT8 app_id) in bta_hh_co_data() argument
129 __func__, dev_handle, sub_class, mode, ctry_code, app_id); in bta_hh_co_data()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/battery/
Dbattery_prf.c62 UINT8 app_id = 0xff; in bas_gatts_callback() local
63 bas_init(server_if, app_id); in bas_gatts_callback()
231 static void bas_callback(UINT32 trans_id, UINT16 conn_id, UINT8 app_id, in bas_callback() argument
240 Battery_Rsp(trans_id, conn_id, app_id, st, event, &p_rsp); in bas_callback()
252 Battery_Rsp(trans_id, conn_id, app_id, st, event, &p_rsp); in bas_callback()
264 Battery_Rsp(trans_id, conn_id, app_id, st, event, NULL); in bas_callback()
267 Battery_Notify(conn_id, app_id, p_data->remote_bda, battery_level); in bas_callback()
318 (*p_inst->p_cback)(trans_id, conn_id, p_inst->app_id, p_inst->pending_evt, NULL); in bas_s_read_attr_value()
352 (*p_inst->p_cback)(trans_id, conn_id, p_inst->app_id, p_inst->pending_evt, &cfg); in bas_s_write_attr_value()
380 void bas_init(tBTA_GATTS_IF gatt_if, UINT16 app_id) in bas_init() argument
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_ag/
Dbta_ag_act.c96 open.hdr.app_id = p_scb->app_id; in bta_ag_cback_open()
126 p_scb->app_id = p_data->api_register.app_id; in bta_ag_register()
133 reg.hdr.app_id = p_scb->app_id; in bta_ag_register()
395 close.hdr.app_id = p_scb->app_id; in bta_ag_rfc_close()
398 bta_sys_conn_close(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_close()
426 bta_sys_sco_unuse(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_close()
463 bta_sys_conn_open(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_open()
573 bta_sys_busy(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_data()
575 bta_sys_idle(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_data()
715 evt.hdr.app_id = p_scb->app_id; in bta_ag_svc_conn_open()
[all …]
Dbta_ag_sco.c477 sco.app_id = p_scb->app_id; in bta_ag_cback_sco()
617 bta_sys_sco_use(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_create_sco()
622 … bta_ag_sco_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, SCO_STATE_SETUP, esco_codec); in bta_ag_create_sco()
634 bta_ag_sco_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, SCO_STATE_SETUP); in bta_ag_create_sco()
644 … sco_route = bta_ag_sco_co_init(pcm_sample_rate, pcm_sample_rate, &codec_info, p_scb->app_id); in bta_ag_create_sco()
747 bta_sys_busy(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_codec_negotiate()
1540 bta_sys_sco_open(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_sco_conn_open()
1545 … bta_ag_sco_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, SCO_STATE_ON, p_scb->inuse_codec); in bta_ag_sco_conn_open()
1547 bta_ag_sco_audio_state(bta_ag_scb_to_idx(p_scb), p_scb->app_id, SCO_STATE_ON); in bta_ag_sco_conn_open()
1618 bta_ag_sco_audio_state(handle, p_scb->app_id, sco_state, p_scb->inuse_codec); in bta_ag_sco_conn_close()
[all …]
Dbta_ag_api.c112 char * p_service_names[], UINT8 app_id) in BTA_AgRegister() argument
122 p_buf->app_id = app_id; in BTA_AgRegister()
Dbta_ag_cmd.c825 val.hdr.app_id = p_scb->app_id; in bta_ag_at_hsp_cback()
862 val.hdr.app_id = p_scb->app_id; in bta_ag_at_hfp_cback()
1263 val.hdr.app_id = p_scb->app_id; in bta_ag_at_err_cback()
1298 bta_sys_sco_use(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_hsp_result()
1345 bta_sys_sco_unuse(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_hsp_result()
1400 bta_sys_sco_use(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_hfp_result()
1517 bta_sys_sco_unuse(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_hfp_result()
/hal_espressif-latest/components/bt/host/bluedroid/bta/dm/
Dbta_dm_pm.c42 static void bta_dm_pm_cback(tBTA_SYS_CONN_STATUS status, UINT8 id, UINT8 app_id, BD_ADDR peer_addr);
79 if (p_bta_dm_pm_cfg[0].app_id != 0) { in bta_dm_init_pm()
318 static void bta_dm_pm_cback(tBTA_SYS_CONN_STATUS status, UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_dm_pm_cback() argument
329 APPL_TRACE_DEBUG("bta_dm_pm_cback: st(%d), id(%d), app(%d)", status, id, app_id); in bta_dm_pm_cback()
334 for (i = 1; i <= p_bta_dm_pm_cfg[0].app_id; i++) { in bta_dm_pm_cback()
337 … && ((p_bta_dm_pm_cfg[i].app_id == BTA_ALL_APP_ID ) || (p_bta_dm_pm_cfg[i].app_id == app_id ))) { in bta_dm_pm_cback()
344 if (i > p_bta_dm_pm_cfg[0].app_id) { in bta_dm_pm_cback()
369 && (bta_dm_conn_srvcs.conn_srvc[j].app_id == app_id ) in bta_dm_pm_cback()
401 bta_dm_conn_srvcs.conn_srvc[j].app_id = app_id; in bta_dm_pm_cback()
405 APPL_TRACE_WARNING("new conn_srvc id:%d, app_id:%d", id, app_id); in bta_dm_pm_cback()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/include/
Dsrvc_api.h97 typedef void (tBA_CBACK)(UINT8 app_id, UINT8 event, tBA_WRITE_DATA *p_data);
185 extern UINT16 Battery_Instantiate (UINT8 app_id, tBA_REG_INFO *p_reg_info);
194 extern void Battery_Rsp (UINT8 app_id, tGATT_STATUS st, UINT8 event, tBA_RSP_DATA *p_rsp);
202 extern void Battery_Notify (UINT8 app_id, BD_ADDR remote_bda, UINT8 battery_level);
Ddis_api.h142 typedef void (tBA_CBACK)(UINT32 trans_id, UINT16 conn_id, UINT8 app_id, UINT8 event, tBA_WRITE_DATA…
165 UINT8 app_id; member
274 extern void bas_init(tBTA_GATTS_IF gatt_if, UINT16 app_id);
307 extern void Battery_Rsp (UINT32 trans_id, UINT16 conn_id, UINT8 app_id,
316 extern void Battery_Notify (UINT16 conn_id, UINT8 app_id, BD_ADDR remote_bda, UINT8 battery_level);
/hal_espressif-latest/components/bt/host/bluedroid/bta/hh/
Dbta_hh_act.c215 p_cb->app_id = 0; in bta_hh_sdp_cback()
222 if (p_cb->app_id != 0) { in bta_hh_sdp_cback()
229 p_cb->app_id); in bta_hh_sdp_cback()
337 if (p_cb->app_id) { in bta_hh_start_sdp()
350 p_cb->app_id); in bta_hh_start_sdp()
450 (p_cb->incoming_conn) && (p_cb->app_id == 0)) { in bta_hh_sdp_cmpl()
461 if (p_cb->app_id == 0) { in bta_hh_sdp_cmpl()
533 p_cb->attr_mask, p_cb->app_id); in bta_hh_open_cmpl_act()
544 bta_sys_conn_open( BTA_ID_HH , p_cb->app_id, p_cb->addr); in bta_hh_open_cmpl_act()
594 if (p_cb->app_id != 0) { in bta_hh_open_act()
[all …]
Dbta_hh_utils.c186 UINT8 app_id) in bta_hh_add_device_to_list() argument
197 p_cb->app_id = app_id; in bta_hh_add_device_to_list()
233 p_cb->app_id = p_bta_hh_cfg->p_devt_list[xx].app_id; in bta_hh_tod_spt()
Dbta_hh_api.c346 UINT8 app_id, tBTA_HH_DEV_DSCP_INFO dscp_info) in BTA_HhAddDev() argument
362 p_buf->app_id = app_id; in BTA_HhAddDev()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/esp/include/
Dwx_airsync_prf.h31 typedef void (tAIRSYNC_CBACK)(UINT8 app_id, UINT8 event, UINT8 len, UINT8 *data);
67 UINT8 app_id; member
Dbutton_pro.h33 typedef void (*but_prf_cb_t)(uint8_t app_id, uint8_t event, uint16_t len, uint8_t *value);
76 uint8_t app_id; member
/hal_espressif-latest/components/bt/host/bluedroid/bta/av/
Dbta_av_main.c165 app_id, BD_ADDR peer_addr);
166 static void bta_av_sys_rs_cback (tBTA_SYS_CONN_STATUS status, UINT8 id, UINT8 app_id, BD_ADDR peer_…
546 registr.app_id = p_data->api_reg.app_id; in bta_av_api_register()
562 p_scb->app_id = registr.app_id; in bta_av_api_register()
905 static void bta_av_sys_rs_cback (tBTA_SYS_CONN_STATUS status, UINT8 id, UINT8 app_id, BD_ADDR peer_… in bta_av_sys_rs_cback() argument
921 APPL_TRACE_DEBUG("new_role:%d, hci_status:x%x hndl: x%x\n", id, app_id, p_scb->hndl); in bta_av_sys_rs_cback()
931 p_buf->hci_status = app_id; in bta_av_sys_rs_cback()
939 if ((HCI_SUCCESS != app_id) && in bta_av_sys_rs_cback()
955 if (HCI_SUCCESS == app_id || HCI_ERR_NO_CONNECTION == app_id) { in bta_av_sys_rs_cback()
981 app_id, BD_ADDR peer_addr) in bta_av_sco_chg_cback() argument
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/jv/
Dbta_jv_act.c488 bta_sys_conn_close(BTA_ID_JV, p_pm_cb->app_id, p_pm_cb->peer_bd_addr); in bta_jv_clear_pm_cb()
491 p_pm_cb->app_id = BTA_JV_PM_ALL; in bta_jv_clear_pm_cb()
520 if (bta_jv_cb.pm_cb[j].app_id == bta_jv_cb.pm_cb[i].app_id) { in bta_jv_free_set_pm_profile_cb()
525 …("%s(jv_handle: 0x%2x), idx: %d, app_id: 0x%x", __func__, jv_handle, i, bta_jv_cb.pm_cb[i].app_id); in bta_jv_free_set_pm_profile_cb()
585 static tBTA_JV_PM_CB *bta_jv_alloc_set_pm_profile_cb(UINT32 jv_handle, tBTA_JV_PM_ID app_id) in bta_jv_alloc_set_pm_profile_cb() argument
630 "idx: %d, (BTA_JV_PM_MAX_NUM: %d), pp_cb: %p", jv_handle, app_id, in bta_jv_alloc_set_pm_profile_cb()
639 bta_jv_cb.pm_cb[i].app_id = app_id; in bta_jv_alloc_set_pm_profile_cb()
645 "return NULL", jv_handle, app_id); in bta_jv_alloc_set_pm_profile_cb()
2435 p_data->set_pm.handle, p_data->set_pm.app_id, p_data->set_pm.init_st); in bta_jv_set_pm_profile()
2438 if (p_data->set_pm.app_id == BTA_JV_PM_ID_CLEAR) { in bta_jv_set_pm_profile()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/battery/include/
Dsrvc_battery_int.h34 UINT8 app_id; member
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dcrypto.h83 static inline int bt_mesh_app_id(const uint8_t app_key[16], uint8_t app_id[1]) in bt_mesh_app_id()
85 return bt_mesh_k4(app_key, app_id); in bt_mesh_app_id()
/hal_espressif-latest/components/bt/host/bluedroid/btc/include/btc/
Dbtc_storage.h131 … uint8_t app_id, uint16_t vendor_id, uint16_t product_id, uint16_t version,
/hal_espressif-latest/components/bt/host/bluedroid/btc/core/
Dbtc_storage.c355 … uint8_t app_id, uint16_t vendor_id, uint16_t product_id, uint16_t version, in btc_storage_add_hid_device_info() argument
365 ret &= btc_config_set_int(bdstr, "HidAppId", app_id); in btc_storage_add_hid_device_info()
411 uint8_t app_id = (uint8_t)value; in btc_storage_load_bonded_hid_info() local
443 BTA_HhAddDev(*(BD_ADDR *)&bd_addr, attr_mask, sub_class, app_id, dscp_info); in btc_storage_load_bonded_hid_info()

123