/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/ |
D | bta_gatts_utils.c | 152 tBTA_GATTS_SRVC_CB *bta_gatts_find_srvc_cb_by_attr_id(tBTA_GATTS_CB *p_cb, UINT16 attr_id) in bta_gatts_find_srvc_cb_by_attr_id() argument 161 attr_id >= p_cb->srvc_cb[i].service_id && in bta_gatts_find_srvc_cb_by_attr_id() 162 attr_id < p_cb->srvc_cb[i + 1].service_id) || in bta_gatts_find_srvc_cb_by_attr_id() 167 attr_id >= p_cb->srvc_cb[i].service_id) || in bta_gatts_find_srvc_cb_by_attr_id() 170 attr_id >= p_cb->srvc_cb[i].service_id) in bta_gatts_find_srvc_cb_by_attr_id()
|
D | bta_gatts_act.c | 373 UINT16 attr_id = 0; in bta_gatts_add_include_srvc() local 376 attr_id = GATTS_AddIncludeService(p_msg->api_add_incl_srvc.hdr.layer_specific, in bta_gatts_add_include_srvc() 381 cb_data.add_result.attr_id = attr_id; in bta_gatts_add_include_srvc() 383 if (attr_id) { in bta_gatts_add_include_srvc() 405 UINT16 attr_id = 0; in bta_gatts_add_char() local 420 attr_id = GATTS_AddCharacteristic(p_msg->api_add_char.hdr.layer_specific, in bta_gatts_add_char() 426 cb_data.add_result.attr_id = attr_id; in bta_gatts_add_char() 431 if (attr_id) { in bta_gatts_add_char() 457 UINT16 attr_id = 0; in bta_gatts_add_char_descr() local 469 attr_id = GATTS_AddCharDescriptor(p_msg->api_add_char_descr.hdr.layer_specific, in bta_gatts_add_char_descr() [all …]
|
D | bta_gatts_main.c | 110 UINT16 attr_id = ((tBTA_GATTS_DATA *) p_msg)->api_set_val.hdr.layer_specific; in bta_gatts_hdl_event() local 111 p_srvc_cb = bta_gatts_find_srvc_cb_by_attr_id(p_cb, attr_id); in bta_gatts_hdl_event()
|
D | bta_gatts_api.c | 411 void BTA_GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_id, UINT16 data_len, in BTA_GATTS_HandleValueIndication() argument 422 p_buf->attr_id = attr_id; in BTA_GATTS_HandleValueIndication()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/ |
D | sdp_api.h | 107 UINT16 attr_id; /* Attribute ID */ member 268 UINT16 attr_id, 283 UINT16 attr_id); 466 extern BOOLEAN SDP_AddAttribute (UINT32 handle, UINT16 attr_id, 485 extern BOOLEAN SDP_AddSequence (UINT32 handle, UINT16 attr_id, 502 extern BOOLEAN SDP_AddUuidSequence (UINT32 handle, UINT16 attr_id, 599 extern BOOLEAN SDP_DeleteAttribute (UINT32 handle, UINT16 attr_id);
|
D | avrc_defs.h | 891 UINT8 attr_id; member 896 UINT8 attr_id; member 924 …UINT32 attr_id; /* Use AVRC_MEDIA_ATTR_ID_TITLE, AVRC_MEDIA_ATTR_ID_ARTIST, AV… member 960 UINT8 attr_id; member 995 UINT8 attr_id; member 1242 UINT8 attr_id[AVRC_MAX_APP_SETTINGS]; member
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/sdp/ |
D | sdp_db.c | 406 BOOLEAN SDP_AddAttribute (UINT32 handle, UINT16 attr_id, UINT8 attr_type, in SDP_AddAttribute() argument 430 handle, attr_id, attr_type, attr_len, p_val, num_array); in SDP_AddAttribute() 433 handle, attr_id, attr_type, attr_len, p_val, *p_val); in SDP_AddAttribute() 436 handle, attr_id, attr_type, attr_len, p_val, p_val); in SDP_AddAttribute() 450 if (p_attr->id == attr_id) { in SDP_AddAttribute() 451 SDP_DeleteAttribute (handle, attr_id); in SDP_AddAttribute() 454 if (p_attr->id > attr_id) { in SDP_AddAttribute() 473 p_attr->id = attr_id; in SDP_AddAttribute() 499 attr_id, attr_len ); in SDP_AddAttribute() 526 BOOLEAN SDP_AddSequence (UINT32 handle, UINT16 attr_id, UINT16 num_elem, in SDP_AddSequence() argument [all …]
|
D | sdp_api.c | 262 tSDP_DISC_REC *SDP_FindAttributeInDb (tSDP_DISCOVERY_DB *p_db, UINT16 attr_id, in SDP_FindAttributeInDb() argument 283 if (p_attr->attr_id == attr_id) { in SDP_FindAttributeInDb() 308 tSDP_DISC_ATTR *SDP_FindAttributeInRec (tSDP_DISC_REC *p_rec, UINT16 attr_id) in SDP_FindAttributeInRec() argument 315 if (p_attr->attr_id == attr_id) { in SDP_FindAttributeInRec() 347 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) in SDP_FindServiceUUIDInRec() 388 } else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) { in SDP_FindServiceUUIDInRec() 426 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) in SDP_FindServiceUUIDInRec_128bit() 441 } else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) { in SDP_FindServiceUUIDInRec_128bit() 492 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) in SDP_FindServiceInDb() 537 } else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) { in SDP_FindServiceInDb() [all …]
|
D | sdp_discovery.c | 54 UINT16 attr_id, tSDP_DISC_ATTR *p_parent_attr, UINT8 nest_level); 709 UINT16 attr_id; in save_attr_seq() local 743 BE_STREAM_TO_UINT16 (attr_id, p); in save_attr_seq() 746 p = add_attr (p, p_ccb->p_db, p_rec, attr_id, NULL, 0); in save_attr_seq() 813 UINT16 attr_id, tSDP_DISC_ATTR *p_parent_attr, UINT8 nest_level) in add_attr() argument 848 p_attr->attr_id = attr_id; in add_attr() 954 if (is_additional_list != 0 || attr_id == ATTR_ID_ADDITION_PROTO_DESC_LISTS) { in add_attr()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/avrc/ |
D | avrc_pars_tg.c | 99 p_result->list_app_values.attr_id = *p++; in avrc_pars_vendor_cmd() 100 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->list_app_values.attr_id)) { in avrc_pars_vendor_cmd() 135 p_app_set[xx].attr_id = *p++; in avrc_pars_vendor_cmd() 137 … if (!avrc_is_valid_player_attrib_value(p_app_set[xx].attr_id, p_app_set[xx].attr_val)) { in avrc_pars_vendor_cmd() 156 BE_STREAM_TO_UINT8 (p_result->get_app_val_txt.attr_id, p); in avrc_pars_vendor_cmd() 157 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->get_app_val_txt.attr_id)) { in avrc_pars_vendor_cmd() 167 if (!avrc_is_valid_player_attrib_value(p_result->get_app_val_txt.attr_id, in avrc_pars_vendor_cmd()
|
D | avrc_bld_tg.c | 231 … if (avrc_is_valid_player_attrib_value(p_rsp->p_vals[xx].attr_id, p_rsp->p_vals[xx].attr_val)) { in avrc_bld_get_cur_app_setting_value_rsp() 233 UINT8_TO_BE_STREAM(p_data, p_rsp->p_vals[xx].attr_id); in avrc_bld_get_cur_app_setting_value_rsp() 320 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); in avrc_bld_app_setting_text_rsp() 450 if (!AVRC_IS_VALID_MEDIA_ATTRIBUTE(p_rsp->p_attrs[xx].attr_id)) { in avrc_bld_get_elem_attrs_rsp() 451 …TRACE_ERROR("avrc_bld_get_elem_attrs_rsp invalid attr id[%d]: %d", xx, p_rsp->p_attrs[xx].attr_id); in avrc_bld_get_elem_attrs_rsp() 457 UINT32_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); in avrc_bld_get_elem_attrs_rsp() 580 if (avrc_is_valid_player_attrib_value(p_rsp->param.player_setting.attr_id[xx], in avrc_bld_notify_rsp() 582 UINT8_TO_BE_STREAM(p_data, p_rsp->param.player_setting.attr_id[xx]); in avrc_bld_notify_rsp()
|
D | avrc_bld_ct.c | 198 UINT8_TO_BE_STREAM(p_data, p_cmd->p_vals->attr_id); in avrc_bld_set_player_value_cmd()
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/esp/ble_button/ |
D | button_pro.c | 130 button_cb_env.button_inst.but_wirt_hdl = p_data->add_result.attr_id; in button_profile_cb() 137 button_cb_env.button_inst.but_ntf_hdl = p_data->add_result.attr_id; in button_profile_cb() 146 button_cb_env.button_inst.but_cfg_hdl = p_data->add_result.attr_id; in button_profile_cb() 322 uint16_t attr_id = button_cb_env.button_inst.but_ntf_hdl; in button_msg_notify() local 330 esp_ble_gatts_hdl_val_indica (conn_id, attr_id, len, in button_msg_notify()
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/esp/wechat_AirSync/ |
D | wx_airsync_prf.c | 106 airsync_cb_env.airsync_inst.airsync_wirt_hdl = p_data->add_result.attr_id; in airsync_profile_cb() 113 airsync_cb_env.airsync_inst.airsync_ntf_hdl = p_data->add_result.attr_id; in airsync_profile_cb() 124 airsync_cb_env.airsync_inst.airsync_read_hdl = p_data->add_result.attr_id; in airsync_profile_cb() 130 airsync_cb_env.airsync_inst.airsync_cfg_hdl = p_data->add_result.attr_id; in airsync_profile_cb()
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/battery/ |
D | battery_prf.c | 111 bas_AddCharDescr(service_id, p_data->add_result.attr_id); in bas_gatts_callback() 144 p_data->add_result.attr_id, p_data->add_result.char_uuid.uu.uuid16); in bas_gatts_callback() 145 bas_AddCharDescr(p_data->add_result.service_id, p_data->add_result.attr_id); in bas_gatts_callback() 432 void bas_AddCharDescr(UINT16 service_id, UINT16 attr_id) in bas_AddCharDescr() argument 441 p_inst->ba_level_hdl = attr_id; in bas_AddCharDescr() 443 p_inst->clt_cfg_hdl = attr_id; in bas_AddCharDescr() 445 p_inst->pres_fmt_hdl = attr_id; in bas_AddCharDescr() 447 p_inst->rpt_ref_hdl = attr_id; in bas_AddCharDescr()
|
/hal_espressif-latest/components/bt/host/bluedroid/api/include/api/ |
D | esp_avrc_api.h | 276 uint8_t attr_id; /*!< player application attribute id */ member 304 uint8_t attr_id; /*!< id of metadata attribute */ member 470 esp_err_t esp_avrc_ct_send_set_player_value_cmd(uint8_t tl, uint8_t attr_id, uint8_t value_id);
|
/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/bluedroid_host/ |
D | esp_blufi.c | 264 blufi_env.handle_char_p2e = p_data->add_result.attr_id; in blufi_profile_cb() 272 blufi_env.handle_char_e2p = p_data->add_result.attr_id; in blufi_profile_cb() 288 blufi_env.handle_descr_e2p = p_data->add_result.attr_id; in blufi_profile_cb() 367 uint16_t attr_id = blufi_env.handle_char_e2p; in esp_blufi_send_notify() local 369 BTA_GATTS_HandleValueIndication(conn_id, attr_id, pkts->pkt_len, in esp_blufi_send_notify()
|
/hal_espressif-latest/components/bt/host/bluedroid/api/ |
D | esp_avrc_api.c | 65 esp_err_t esp_avrc_ct_send_set_player_value_cmd(uint8_t tl, uint8_t attr_id, uint8_t value_id) in esp_avrc_ct_send_set_player_value_cmd() argument 71 if (tl > ESP_AVRC_TRANS_LABEL_MAX || attr_id > ESP_AVRC_PS_MAX_ATTR - 1) { in esp_avrc_ct_send_set_player_value_cmd() 84 arg.ps_cmd.attr_id = attr_id; in esp_avrc_ct_send_set_player_value_cmd()
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/include/ |
D | bta_gatts_int.h | 115 UINT16 attr_id; member 262 extern tBTA_GATTS_SRVC_CB *bta_gatts_find_srvc_cb_by_attr_id(tBTA_GATTS_CB *p_cb, UINT16 attr_id);
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/avrc/ |
D | btc_avrc.c | 531 uint32_t attr_id = 0; in handle_rc_attributes_rsp() local 548 attr_id = vendor_msg->p_vendor_data[3 + attr_index] | in handle_rc_attributes_rsp() 553 param[i].meta_rsp.attr_id = (1 << (attr_id - 1)); in handle_rc_attributes_rsp() 1061 static bt_status_t btc_avrc_ct_send_set_player_value_cmd(uint8_t tl, uint8_t attr_id, uint8_t value… in btc_avrc_ct_send_set_player_value_cmd() argument 1072 values.attr_id = attr_id; in btc_avrc_ct_send_set_player_value_cmd() 1409 … btc_avrc_ct_send_set_player_value_cmd(arg->ps_cmd.tl, arg->ps_cmd.attr_id, arg->ps_cmd.value_id); in btc_avrc_ct_call_handler()
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/gatt/ |
D | btc_gatts.c | 586 btc_creat_tab_env.handles[index] = p_data->add_result.attr_id; in btc_gatts_inter_cb() 591 btc_creat_tab_env.handles[index] = p_data->add_result.attr_id - 1; in btc_gatts_inter_cb() 592 btc_creat_tab_env.handles[index+1] = p_data->add_result.attr_id; in btc_gatts_inter_cb() 597 btc_creat_tab_env.handles[index] = p_data->add_result.attr_id; in btc_gatts_inter_cb() 860 param.add_incl_srvc.attr_handle = p_data->add_result.attr_id; in btc_gatts_cb_handler() 868 param.add_char.attr_handle = p_data->add_result.attr_id; in btc_gatts_cb_handler() 877 param.add_char_descr.attr_handle = p_data->add_result.attr_id; in btc_gatts_cb_handler() 972 param.set_attr_val.attr_handle = p_data->attr_val.attr_id; in btc_gatts_cb_handler()
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/include/ |
D | btc_avrc.h | 64 uint8_t attr_id; member
|
D | dis_api.h | 291 extern void bas_AddCharDescr(UINT16 service_id, UINT16 attr_id);
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/include/bta/ |
D | bta_gatt_api.h | 601 UINT16 attr_id; member 608 UINT16 attr_id; member 1447 extern void BTA_GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_id,
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/hid/ |
D | hidh_api.c | 82 void hidh_get_str_attr( tSDP_DISC_REC *p_rec, UINT16 attr_id, UINT16 max_len, char *str ) in hidh_get_str_attr() argument 87 if ((p_attr = SDP_FindAttributeInRec(p_rec, attr_id)) != NULL) { in hidh_get_str_attr()
|