ESP-IDF
tAVRC_HDR::ctype
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_HDR::ctype
tAVRC_HDR::ctype field
Syntax
Show:
Summary
Declaration
from
avrc_defs.h:759
UINT8
ctype
;
Examples
References
from
examples
Code
Location
Referrer
UINT8
ctype
;
/* Command type. */
avrc_defs.h:759
p_msg
->
hdr
.
ctype
=
p_msg
->
p_vendor_data
[
0
]
&
AVRC_CTYPE_MASK
;
avrc_api.c:454
avrc_proc_far_msg()
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()
*
p_data
++
=
(
p_msg
->
hdr
.
ctype
&
AVRC_CTYPE_MASK
)
;
avrc_api.c:792
avrc_pass_msg()
p_msg
->
hdr
.
ctype
=
AVRC_CMD_CTRL
;
avrc_api.c:1059
AVRC_PassCmd()
*
p_data
++
=
(
p_msg
->
hdr
.
ctype
&
AVRC_CTYPE_MASK
)
;
avrc_opt.c:66
avrc_vendor_msg()
AVRC_TRACE_DEBUG
(
"avrc_pars_vendor_rsp() ctype:0x%x pdu:0x%x, len:%d/0x%x"
,
p_msg
->
hdr
.
ctype
,
p_result
->
pdu
,
len
,
len
)
;
avrc_pars_ct.c:63
avrc_pars_vendor_rsp()
if
(
p_msg
->
hdr
.
ctype
==
AVRC_RSP_REJ
)
{
avrc_pars_ct.c:64
avrc_pars_vendor_rsp()
&&
(
AVRC_RSP_CHANGED
==
p_msg
->
hdr
.
ctype
||
AVRC_RSP_INTERIM
==
p_msg
->
hdr
.
ctype
avrc_pars_ct.c:87
avrc_pars_vendor_rsp()
||
AVRC_RSP_REJ
==
p_msg
->
hdr
.
ctype
||
AVRC_RSP_NOT_IMPL
==
p_msg
->
hdr
.
ctype
)
)
{
avrc_pars_ct.c:88
avrc_pars_vendor_rsp()
p_result
->
reg_notif
.
status
=
p_msg
->
hdr
.
ctype
;
avrc_pars_ct.c:89
avrc_pars_vendor_rsp()
if
(
!
AVRC_IsValidAvcType
(
p_result
->
pdu
,
p_msg
->
hdr
.
ctype
)
)
{
avrc_pars_tg.c:66
avrc_pars_vendor_cmd()
p_vendor
->
hdr
.
ctype
=
BTA_AV_RSP_NOT_IMPL
;
bta_av_act.c:733
bta_av_proc_meta_cmd()
}
else
if
(
!
AVRC_IsValidAvcType
(
pdu
,
p_vendor
->
hdr
.
ctype
)
)
{
bta_av_act.c:735
bta_av_proc_meta_cmd()
APPL_TRACE_DEBUG
(
"Invalid pdu/ctype: 0x%x, %d"
,
pdu
,
p_vendor
->
hdr
.
ctype
)
;
bta_av_act.c:736
bta_av_proc_meta_cmd()
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()
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()
p_buf
->
msg
.
hdr
.
ctype
=
cmd_code
;
bta_av_api.c:459
BTA_AvVendorCmd()
p_buf
->
msg
.
hdr
.
ctype
=
rsp_code
;
bta_av_api.c:494
BTA_AvVendorRsp()
if
(
vendor_msg
->
hdr
.
ctype
==
AVRC_RSP_CHANGED
)
{
btc_avrc.c:882
handle_rc_metamsg_rsp()
}
else
if
(
vendor_msg
->
hdr
.
ctype
==
AVRC_RSP_INTERIM
)
{
btc_avrc.c:884
handle_rc_metamsg_rsp()
if
(
vendor_msg
->
hdr
.
ctype
==
AVRC_RSP_IMPL_STBL
)
{
btc_avrc.c:892
handle_rc_metamsg_rsp()
if
(
vendor_msg
->
hdr
.
ctype
==
AVRC_RSP_ACCEPT
)
{
btc_avrc.c:897
handle_rc_metamsg_rsp()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
tAVRC_HDR::ctype
is written by 7 functions and is read by 8 functions:
bta_av_proc_meta_cmd()
bta_av_rc_msg()
BTA_AvVendorCmd()
BTA_AvVendorRsp()
avrc_proc_far_msg()
avrc_msg_cback()
AVRC_PassCmd()
All items filtered out
tAVRC_HDR::ctype
bta_av_proc_meta_cmd()
bta_av_rc_msg()
handle_rc_metamsg_rsp()
avrc_msg_cback()
avrc_pass_msg()
avrc_vendor_msg()
avrc_pars_vendor_rsp()
avrc_pars_vendor_cmd()
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