Home
last modified time | relevance | path

Searched refs:p_sattr (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/sdp/
Dsdp_api.c342 tSDP_DISC_ATTR *p_attr, *p_sattr, *p_extra_sattr; in SDP_FindServiceUUIDInRec() local
349 … for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; p_sattr = p_sattr->p_next_attr) { in SDP_FindServiceUUIDInRec()
350 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) { in SDP_FindServiceUUIDInRec()
351 if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == LEN_UUID_16) { in SDP_FindServiceUUIDInRec()
353 p_uuid->uu.uuid16 = p_sattr->attr_value.v.u16; in SDP_FindServiceUUIDInRec()
354 } else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == LEN_UUID_128) { in SDP_FindServiceUUIDInRec()
357 … p_uuid->uu.uuid128[i] = p_sattr->attr_value.v.array[LEN_UUID_128 - i - 1]; in SDP_FindServiceUUIDInRec()
359 } else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == LEN_UUID_32) { in SDP_FindServiceUUIDInRec()
361 p_uuid->uu.uuid32 = p_sattr->attr_value.v.u32; in SDP_FindServiceUUIDInRec()
372 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == DATA_ELE_SEQ_DESC_TYPE) { in SDP_FindServiceUUIDInRec()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/sdp/
Dbta_sdp_act.c228 tSDP_DISC_ATTR *p_attr, *p_sattr; in bta_create_ops_sdp_record() local
268 for (p_sattr = p_attr->attr_value.v.p_sub_attr; in bta_create_ops_sdp_record()
269 p_sattr != NULL; p_sattr = p_sattr->p_next_attr) { in bta_create_ops_sdp_record()
270 if ((SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UINT_DESC_TYPE) in bta_create_ops_sdp_record()
271 && (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 1)) { in bta_create_ops_sdp_record()
279 record->ops.supported_formats_list[count] = p_sattr->attr_value.v.u8; in bta_create_ops_sdp_record()
284 p_sattr->attr_len_type); in bta_create_ops_sdp_record()