ESP-IDF
tAVRC_MSG::hdr
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
tAVRC_MSG::hdr
tAVRC_MSG::hdr field
Syntax
Show:
Summary
Declaration
from
avrc_defs.h:824
tAVRC_HDR
hdr
;
Examples
References
from
examples
Code
Location
Referrer
tAVRC_HDR
hdr
;
/* Message header. */
avrc_defs.h:824
msg
.
hdr
.
ctype
=
p_data
[
0
]
&
AVRC_CTYPE_MASK
;
avrc_api.c:549
avrc_msg_cback()
handle
,
msg
.
hdr
.
ctype
,
p_pkt
->
offset
,
p_pkt
->
len
)
;
avrc_api.c:551
avrc_msg_cback()
msg
.
hdr
.
subunit_type
=
(
p_data
[
1
]
&
AVRC_SUBTYPE_MASK
)
>
>
AVRC_SUBTYPE_SHIFT
;
avrc_api.c:552
avrc_msg_cback()
msg
.
hdr
.
subunit_id
=
p_data
[
1
]
&
AVRC_SUBID_MASK
;
avrc_api.c:553
avrc_msg_cback()
msg
.
hdr
.
opcode
=
opcode
;
avrc_api.c:744
avrc_msg_cback()
switch
(
p_msg
->
hdr
.
opcode
)
{
avrc_pars_ct.c:140
AVRC_ParsResponse()
AVRC_TRACE_ERROR
(
"AVRC_ParsResponse() unknown opcode:0x%x"
,
p_msg
->
hdr
.
opcode
)
;
avrc_pars_ct.c:153
AVRC_ParsResponse()
p_result
->
rsp
.
opcode
=
p_msg
->
hdr
.
opcode
;
avrc_pars_ct.c:156
AVRC_ParsResponse()
switch
(
p_msg
->
hdr
.
opcode
)
{
avrc_pars_tg.c:286
AVRC_ParsCommand()
AVRC_TRACE_ERROR
(
"AVRC_ParsCommand() unknown opcode:0x%x"
,
p_msg
->
hdr
.
opcode
)
;
avrc_pars_tg.c:299
AVRC_ParsCommand()
p_result
->
cmd
.
opcode
=
p_msg
->
hdr
.
opcode
;
avrc_pars_tg.c:302
AVRC_ParsCommand()
BOOLEAN
is_inquiry
=
(
(
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
==
AVRC_CMD_SPEC_INQ
)
||
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
==
AVRC_CMD_GEN_INQ
)
;
bta_av_act.c:820
bta_av_rc_msg()
if
(
(
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
==
AVRC_CMD_CTRL
)
||
bta_av_act.c:830
bta_av_rc_msg()
(
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
==
AVRC_CMD_SPEC_INQ
)
||
bta_av_act.c:831
bta_av_rc_msg()
(
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
==
AVRC_CMD_GEN_INQ
)
bta_av_act.c:832
bta_av_rc_msg()
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
=
BTA_AV_RSP_NOT_IMPL
;
bta_av_act.c:836
bta_av_rc_msg()
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
=
bta_av_act.c:839
bta_av_rc_msg()
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
=
bta_av_op_supported
(
p_data
->
rc_msg
.
msg
.
pass
.
op_id
,
is_inquiry
)
;
bta_av_act.c:845
bta_av_rc_msg()
APPL_TRACE_DEBUG
(
"ctype %d"
,
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
)
bta_av_act.c:848
bta_av_rc_msg()
if
(
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
!=
BTA_AV_RSP_INTERIM
)
{
bta_av_act.c:851
bta_av_rc_msg()
if
(
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
==
BTA_AV_RSP_ACCEPT
||
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
==
BTA_AV_RSP_INTERIM
)
{
bta_av_act.c:856
bta_av_rc_msg()
memcpy
(
&
av
.
remote_cmd
.
hdr
,
&
p_data
->
rc_msg
.
msg
.
hdr
,
sizeof
(
tAVRC_HDR
)
)
;
bta_av_act.c:862
bta_av_rc_msg()
else
if
(
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
>=
AVRC_RSP_NOT_IMPL
)
{
bta_av_act.c:867
bta_av_rc_msg()
av
.
remote_rsp
.
rsp_code
=
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
;
bta_av_act.c:872
bta_av_rc_msg()
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
=
BTA_AV_RSP_REJ
;
bta_av_act.c:877
bta_av_rc_msg()
av
.
vendor_cmd
.
code
=
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
;
bta_av_act.c:884
bta_av_rc_msg()
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
<=
AVRC_CMD_GEN_INQ
)
{
bta_av_act.c:892
bta_av_rc_msg()
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
>=
AVRC_RSP_ACCEPT
)
{
bta_av_act.c:906
bta_av_rc_msg()
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
<=
AVRC_CMD_GEN_INQ
)
{
bta_av_act.c:921
bta_av_rc_msg()
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
=
BTA_AV_RSP_REJ
;
bta_av_act.c:924
bta_av_rc_msg()
p_data
->
rc_msg
.
msg
.
hdr
.
ctype
=
BTA_AV_RSP_NOT_IMPL
;
bta_av_act.c:927
bta_av_rc_msg()
BTC_TRACE_DEBUG
(
"%s, opcode 0x%x, len %d, code %d"
,
__FUNCTION__
,
p_meta_msg
->
p_msg
->
hdr
.
opcode
,
p_meta_msg
->
len
,
p_meta_msg
->
code
)
;
btc_avrc.c:714
handle_rc_metamsg_cmd()
if
(
p_meta_msg
->
p_msg
->
hdr
.
opcode
!=
AVRC_OP_VENDOR
)
{
btc_avrc.c:716
handle_rc_metamsg_cmd()
BTC_TRACE_WARNING
(
"Invalid opcode: %x"
,
p_meta_msg
->
p_msg
->
hdr
.
opcode
)
;
btc_avrc.c:717
handle_rc_metamsg_cmd()
BTC_TRACE_WARNING
(
"Invalid length.Opcode: 0x%x, len: 0x%x"
,
p_meta_msg
->
p_msg
->
hdr
.
opcode
,
btc_avrc.c:721
handle_rc_metamsg_cmd()
BTC_TRACE_DEBUG
(
"%s: opcode %d, pdu 0x%x, code %d"
,
__FUNCTION__
,
p_meta_msg
->
p_msg
->
hdr
.
opcode
,
vendor_msg
->
p_vendor_data
[
0
]
,
btc_avrc.c:851
handle_rc_metamsg_rsp()
if
(
p_meta_msg
->
p_msg
->
hdr
.
opcode
!=
AVRC_OP_VENDOR
)
{
btc_avrc.c:853
handle_rc_metamsg_rsp()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
tAVRC_MSG::hdr
is read by 6 functions:
All items filtered out
tAVRC_MSG::hdr
bta_av_rc_msg()
handle_rc_metamsg_cmd()
handle_rc_metamsg_rsp()
avrc_msg_cback()
AVRC_ParsResponse()
AVRC_ParsCommand()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out