Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/avdt/
Davdt_msg.c579 UINT8 elem_len; in avdt_msg_prs_cfg() local
607 elem_len = *p++; in avdt_msg_prs_cfg()
622 p += elem_len; in avdt_msg_prs_cfg()
623 AVDT_TRACE_DEBUG("skipping unknown service category=%d len: %d\n", elem, elem_len); in avdt_msg_prs_cfg()
628 if ((elem_len > avdt_msg_ie_len_max[elem]) || in avdt_msg_prs_cfg()
629 (elem_len < avdt_msg_ie_len_min[elem])) { in avdt_msg_prs_cfg()
636 AVDT_TRACE_DEBUG("elem=%d elem_len: %d psc_mask=0x%x\n", elem, elem_len, p_cfg->psc_mask); in avdt_msg_prs_cfg()
656 if ((elem_len + protect_offset) < AVDT_PROTECT_SIZE) { in avdt_msg_prs_cfg()
658 p_cfg->protect_info[protect_offset] = elem_len; in avdt_msg_prs_cfg()
660 memcpy(&p_cfg->protect_info[protect_offset], p, elem_len); in avdt_msg_prs_cfg()
[all …]