ESP-IDF
tBTA_HH_DATA::api_sndcmd
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
tBTA_HH_DATA::api_sndcmd
tBTA_HH_DATA::api_sndcmd field
Syntax
Show:
Summary
Declaration
from
bta_hh_int.h:168
tBTA_HH_CMD_DATA
api_sndcmd
;
Examples
References
from
examples
Code
Location
Referrer
tBTA_HH_CMD_DATA
api_sndcmd
;
bta_hh_int.h:168
UINT16
event
=
(
p_data
->
api_sndcmd
.
t_type
-
BTA_HH_FST_BTE_TRANS_EVT
)
+
bta_hh_act.c:1037
bta_hh_write_dev_act()
if
(
p_data
->
api_sndcmd
.
t_type
==
HID_TRANS_SET_PROTOCOL
)
{
bta_hh_act.c:1051
bta_hh_write_dev_act()
p_cb
->
new_mode
=
p_data
->
api_sndcmd
.
param
;
bta_hh_act.c:1052
bta_hh_write_dev_act()
p_data
->
api_sndcmd
.
param
=
(
p_data
->
api_sndcmd
.
param
==
BTA_HH_PROTO_RPT_MODE
)
?
\
bta_hh_act.c:1053
bta_hh_write_dev_act()
status
=
HID_HostWriteDev
(
p_cb
->
hid_handle
,
p_data
->
api_sndcmd
.
t_type
,
p_data
->
api_sndcmd
.
param
,
bta_hh_act.c:1057
bta_hh_write_dev_act()
p_data
->
api_sndcmd
.
data
,
p_data
->
api_sndcmd
.
rpt_id
,
p_data
->
api_sndcmd
.
p_data
)
;
bta_hh_act.c:1058
bta_hh_write_dev_act()
if
(
p_data
->
api_sndcmd
.
t_type
!=
HID_TRANS_CONTROL
)
{
bta_hh_act.c:1064
bta_hh_write_dev_act()
switch
(
p_data
->
api_sndcmd
.
t_type
)
{
bta_hh_act.c:1065
bta_hh_write_dev_act()
}
else
if
(
p_data
->
api_sndcmd
.
param
==
BTA_HH_CTRL_VIRTUAL_CABLE_UNPLUG
)
{
bta_hh_act.c:1075
bta_hh_write_dev_act()
switch
(
p_data
->
api_sndcmd
.
t_type
)
{
bta_hh_act.c:1080
bta_hh_write_dev_act()
if
(
p_data
->
api_sndcmd
.
param
==
BTA_HH_CTRL_VIRTUAL_CABLE_UNPLUG
)
{
bta_hh_act.c:1100
bta_hh_write_dev_act()
p_data
->
api_sndcmd
.
t_type
)
;
bta_hh_act.c:1109
bta_hh_write_dev_act()
if
(
p_data
->
api_sndcmd
.
t_type
!=
HID_TRANS_CONTROL
)
{
bta_hh_act.c:1114
bta_hh_write_dev_act()
}
else
if
(
p_data
->
api_sndcmd
.
param
==
BTA_HH_CTRL_SUSPEND
)
{
bta_hh_act.c:1118
bta_hh_write_dev_act()
}
else
if
(
p_data
->
api_sndcmd
.
param
==
BTA_HH_CTRL_EXIT_SUSPEND
)
{
bta_hh_act.c:1120
bta_hh_write_dev_act()
cback_event
=
(
p_data
->
api_sndcmd
.
t_type
-
BTA_HH_FST_BTE_TRANS_EVT
)
+
bta_hh_main.c:312
bta_hh_sm_execute()
if
(
p_data
->
api_sndcmd
.
p_data
!=
NULL
)
{
bta_hh_main.c:314
bta_hh_sm_execute()
osi_free
(
p_data
->
api_sndcmd
.
p_data
)
;
bta_hh_main.c:315
bta_hh_sm_execute()
if
(
p_data
->
api_sndcmd
.
t_type
==
HID_TRANS_SET_PROTOCOL
||
bta_hh_main.c:317
bta_hh_sm_execute()
p_data
->
api_sndcmd
.
t_type
==
HID_TRANS_SET_REPORT
||
bta_hh_main.c:318
bta_hh_sm_execute()
p_data
->
api_sndcmd
.
t_type
==
HID_TRANS_SET_IDLE
)
{
bta_hh_main.c:319
bta_hh_sm_execute()
cback_data
.
dev_status
.
handle
=
(
UINT8
)
p_data
->
api_sndcmd
.
hdr
.
layer_specific
;
bta_hh_main.c:321
bta_hh_sm_execute()
}
else
if
(
p_data
->
api_sndcmd
.
t_type
!=
HID_TRANS_DATA
&&
bta_hh_main.c:322
bta_hh_sm_execute()
p_data
->
api_sndcmd
.
t_type
!=
HID_TRANS_CONTROL
)
{
bta_hh_main.c:323
bta_hh_sm_execute()
cback_data
.
hs_data
.
handle
=
(
UINT8
)
p_data
->
api_sndcmd
.
hdr
.
layer_specific
;
bta_hh_main.c:324
bta_hh_sm_execute()
}
else
if
(
p_data
->
api_sndcmd
.
t_type
==
HID_TRANS_CONTROL
&&
bta_hh_main.c:327
bta_hh_sm_execute()
p_data
->
api_sndcmd
.
param
==
BTA_HH_CTRL_VIRTUAL_CABLE_UNPLUG
)
{
bta_hh_main.c:328
bta_hh_sm_execute()
cback_data
.
dev_status
.
handle
=
(
UINT8
)
p_data
->
api_sndcmd
.
hdr
.
layer_specific
;
bta_hh_main.c:340
bta_hh_sm_execute()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
tBTA_HH_DATA::api_sndcmd
is read by 2 functions:
All items filtered out
tBTA_HH_DATA::api_sndcmd
bta_hh_write_dev_act()
bta_hh_sm_execute()
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