Home
last modified time | relevance | path

Searched refs:dscp_info (Results 1 – 10 of 10) sorted by relevance

/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hh/
Dbta_hh_api.c346 UINT8 app_id, tBTA_HH_DEV_DSCP_INFO dscp_info) in BTA_HhAddDev() argument
349 UINT16 len = sizeof(tBTA_HH_MAINT_DEV) + dscp_info.descriptor.dl_len; in BTA_HhAddDev()
365 memcpy(&p_buf->dscp_info, &dscp_info, sizeof(tBTA_HH_DEV_DSCP_INFO)); in BTA_HhAddDev()
366 if ( dscp_info.descriptor.dl_len != 0 && dscp_info.descriptor.dsc_list) { in BTA_HhAddDev()
367 p_buf->dscp_info.descriptor.dl_len = dscp_info.descriptor.dl_len; in BTA_HhAddDev()
368 p_buf->dscp_info.descriptor.dsc_list = (UINT8 *)(p_buf + 1); in BTA_HhAddDev()
369 …memcpy(p_buf->dscp_info.descriptor.dsc_list, dscp_info.descriptor.dsc_list, dscp_info.descriptor.d… in BTA_HhAddDev()
371 p_buf->dscp_info.descriptor.dsc_list = NULL; in BTA_HhAddDev()
372 p_buf->dscp_info.descriptor.dl_len = 0; in BTA_HhAddDev()
Dbta_hh_utils.c137 utl_freebuf((void **)&p_cb->dscp_info.descriptor.dsc_list); in bta_hh_clean_up_kdev()
162 p_cb->dscp_info.vendor_id = vendor_id; in bta_hh_update_di_info()
163 p_cb->dscp_info.product_id = product_id; in bta_hh_update_di_info()
164 p_cb->dscp_info.version = version; in bta_hh_update_di_info()
166 p_cb->dscp_info.flag = flag; in bta_hh_update_di_info()
199 p_cb->dscp_info.ssr_max_latency = ssr_max_latency; in bta_hh_add_device_to_list()
200 p_cb->dscp_info.ssr_min_tout = ssr_min_tout; in bta_hh_add_device_to_list()
204 utl_freebuf((void **)&p_cb->dscp_info.descriptor.dsc_list); in bta_hh_add_device_to_list()
207 (p_cb->dscp_info.descriptor.dsc_list = in bta_hh_add_device_to_list()
209 p_cb->dscp_info.descriptor.dl_len = p_dscp_info->dl_len; in bta_hh_add_device_to_list()
[all …]
Dbta_hh_act.c225 &sdp_rec->dscp_info, in bta_hh_sdp_cback()
231 p_cb->dscp_info.ctry_code = sdp_rec->ctry_code; in bta_hh_sdp_cback()
348 p_cb->dscp_info.ssr_max_latency, in bta_hh_start_sdp()
349 p_cb->dscp_info.ssr_min_tout, in bta_hh_start_sdp()
630 … p_cb->mode, p_cb->sub_class, p_cb->dscp_info.ctry_code, p_cb->addr, p_cb->app_id); in bta_hh_data_act()
923 (*bta_hh_cb.p_cback)(BTA_HH_GET_DSCP_EVT, (tBTA_HH *)&p_cb->dscp_info); in bta_hh_get_dscp_act()
965 p_dev_info->dscp_info.vendor_id, in bta_hh_maint_dev_act()
966 p_dev_info->dscp_info.product_id, in bta_hh_maint_dev_act()
967 p_dev_info->dscp_info.version, in bta_hh_maint_dev_act()
968 p_dev_info->dscp_info.flag); in bta_hh_maint_dev_act()
[all …]
Dbta_hh_le.c1154 p_cb->dscp_info.product_id = p_dis_value->pnp_id.product_id; in bta_hh_le_dis_cback()
1155 p_cb->dscp_info.vendor_id = p_dis_value->pnp_id.vendor_id; in bta_hh_le_dis_cback()
1156 p_cb->dscp_info.version = p_dis_value->pnp_id.product_version; in bta_hh_le_dis_cback()
1304 p_cb->dscp_info.descriptor.dsc_list = NULL; in bta_hh_clear_service_cache()
1901 STREAM_TO_UINT16(p_dev_cb->dscp_info.version, pp); in bta_hh_w4_le_read_char_cmpl()
1902 STREAM_TO_UINT8(p_dev_cb->dscp_info.ctry_code, pp); in bta_hh_w4_le_read_char_cmpl()
1903 STREAM_TO_UINT8(p_dev_cb->dscp_info.flag, pp); in bta_hh_w4_le_read_char_cmpl()
2273 p_dev_cb->dscp_info.ctry_code, in bta_hh_le_input_rpt_notify()
2567 p_cb->dscp_info.descriptor.dl_len = p_cb->hid_srvc[i].descriptor.dl_len; in bta_hh_le_get_dscp_act()
2568 p_cb->dscp_info.descriptor.dsc_list = p_cb->hid_srvc[i].descriptor.dsc_list; in bta_hh_le_get_dscp_act()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/core/
Dbtc_storage.c308 tBTA_HH_DEV_DSCP_INFO dscp_info; in btc_storage_load_bonded_hid_info() local
309 memset(&dscp_info, 0, sizeof(dscp_info)); in btc_storage_load_bonded_hid_info()
318 dscp_info.vendor_id = (uint16_t)value; in btc_storage_load_bonded_hid_info()
321 dscp_info.product_id = (uint16_t)value; in btc_storage_load_bonded_hid_info()
324 dscp_info.version = (uint8_t)value; in btc_storage_load_bonded_hid_info()
327 dscp_info.ctry_code = (uint8_t)value; in btc_storage_load_bonded_hid_info()
331 dscp_info.ssr_max_latency = (uint16_t)value; in btc_storage_load_bonded_hid_info()
335 dscp_info.ssr_min_tout = (uint16_t)value; in btc_storage_load_bonded_hid_info()
339 dscp_info.descriptor.dl_len = (uint16_t)len; in btc_storage_load_bonded_hid_info()
340 dscp_info.descriptor.dsc_list = (uint8_t *)osi_malloc(len); in btc_storage_load_bonded_hid_info()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/profile/std/hid/
Dbtc_hh.c706 tBTA_HH_DEV_DSCP_INFO dscp_info; in btc_hh_set_info() local
720 memset(&dscp_info, 0, sizeof(dscp_info)); in btc_hh_set_info()
721 dscp_info.vendor_id = arg->set_info.hid_info->vendor_id; in btc_hh_set_info()
722 dscp_info.product_id = arg->set_info.hid_info->product_id; in btc_hh_set_info()
723 dscp_info.version = arg->set_info.hid_info->version; in btc_hh_set_info()
724 dscp_info.ctry_code = arg->set_info.hid_info->ctry_code; in btc_hh_set_info()
726 dscp_info.descriptor.dl_len = arg->set_info.hid_info->dl_len; in btc_hh_set_info()
727 dscp_info.descriptor.dsc_list = (uint8_t *)osi_malloc(dscp_info.descriptor.dl_len); in btc_hh_set_info()
728 if (dscp_info.descriptor.dsc_list == NULL) { in btc_hh_set_info()
733 …memcpy(dscp_info.descriptor.dsc_list, arg->set_info.hid_info->dsc_list, dscp_info.descriptor.dl_le… in btc_hh_set_info()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/include/stack/
Dhiddefs.h155 tHID_DEV_DSCP_INFO dscp_info; /* Descriptor list and Report list to be set in the SDP record. member
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/include/bta/
Dbta_hh_api.h306 tBTA_HH_DEV_DSCP_INFO dscp_info; /* BTA_HH_GET_DSCP_EVT */ member
511 tBTA_HH_DEV_DSCP_INFO dscp_info);
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hh/include/
Dbta_hh_int.h146 tBTA_HH_DEV_DSCP_INFO dscp_info; member
230 tBTA_HH_DEV_DSCP_INFO dscp_info; /* report descriptor and DI information */ member
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/hid/
Dhidh_api.c139 if ((p_nvi->dscp_info.dl_len = SDP_DISC_ATTR_LEN(p_repdesc->attr_len_type)) != 0) { in hidh_search_callback()
140 p_nvi->dscp_info.dsc_list = (UINT8 *) &p_repdesc->attr_value; in hidh_search_callback()