ESP-IDF
bta_hh_cb
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (3/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
bta_hh_cb
bta_hh_cb variable
* Global data
Syntax
Show:
Summary
Declaration
Definition
from
bta_hh_int.h:310
extern
tBTA_HH_CB
bta_hh_cb
;
Implemented in
bta_hh_main.c:248
Examples
References
from
examples
Code
Location
Referrer
tBTA_HH_CB
bta_hh_cb
;
bta_hh_main.c:248
extern
tBTA_HH_CB
bta_hh_cb
;
bta_hh_int.h:310
memset
(
&
bta_hh_cb
,
0
,
sizeof
(
tBTA_HH_CB
)
)
;
bta_hh_act.c:77
bta_hh_api_enable()
bta_hh_cb
.
p_cback
=
p_data
->
api_enable
.
p_cback
;
bta_hh_act.c:84
bta_hh_api_enable()
bta_hh_cb
.
kdev
[
xx
]
.
state
=
BTA_HH_IDLE_ST
;
bta_hh_act.c:89
bta_hh_api_enable()
bta_hh_cb
.
kdev
[
xx
]
.
hid_handle
=
BTA_HH_INVALID_HANDLE
;
bta_hh_act.c:90
bta_hh_api_enable()
bta_hh_cb
.
kdev
[
xx
]
.
index
=
xx
;
bta_hh_act.c:91
bta_hh_api_enable()
bta_hh_cb
.
cb_index
[
xx
]
=
BTA_HH_IDX_INVALID
;
bta_hh_act.c:96
bta_hh_api_enable()
(
*
bta_hh_cb
.
p_cback
)
(
BTA_HH_ENABLE_EVT
,
(
tBTA_HH
*
)
&
status
)
;
bta_hh_act.c:107
bta_hh_api_enable()
if
(
bta_hh_cb
.
p_cback
==
NULL
)
{
bta_hh_act.c:125
bta_hh_api_disable()
if
(
!
bta_hh_cb
.
cnt_num
)
{
bta_hh_act.c:130
bta_hh_api_disable()
bta_hh_cb
.
w4_disable
=
TRUE
;
bta_hh_act.c:133
bta_hh_api_disable()
if
(
bta_hh_cb
.
kdev
[
xx
]
.
state
==
BTA_HH_CONN_ST
)
{
bta_hh_act.c:137
bta_hh_api_disable()
bta_hh_sm_execute
(
&
bta_hh_cb
.
kdev
[
xx
]
,
bta_hh_act.c:139
bta_hh_api_disable()
tBTA_HH_DEV_CB
*
p_cb
=
bta_hh_cb
.
p_cur
;
bta_hh_act.c:188
bta_hh_sdp_cback()
bta_hh_cb
.
cb_index
[
hdl
]
=
p_cb
->
index
;
bta_hh_act.c:213
bta_hh_sdp_cback()
utl_freebuf
(
(
void
*
*
)
&
bta_hh_cb
.
p_disc_db
)
;
bta_hh_act.c:242
bta_hh_sdp_cback()
tBTA_HH_DEV_CB
*
p_cb
=
bta_hh_cb
.
p_cur
;
bta_hh_act.c:260
bta_hh_di_sdp_cback()
if
(
result
==
SDP_SUCCESS
&&
SDP_GetNumDiRecords
(
bta_hh_cb
.
p_disc_db
)
!=
0
)
{
bta_hh_act.c:273
bta_hh_di_sdp_cback()
if
(
SDP_GetDiRecord
(
1
,
&
di_rec
,
bta_hh_cb
.
p_disc_db
)
==
SDP_SUCCESS
)
{
bta_hh_act.c:275
bta_hh_di_sdp_cback()
bta_hh_cb
.
p_disc_db
,
bta_hh_act.c:284
bta_hh_di_sdp_cback()
utl_freebuf
(
(
void
*
*
)
&
bta_hh_cb
.
p_disc_db
)
;
bta_hh_act.c:298
bta_hh_di_sdp_cback()
bta_hh_cb
.
p_cur
=
p_cb
;
bta_hh_act.c:327
bta_hh_start_sdp()
bta_hh_cb
.
cb_index
[
hdl
]
=
p_cb
->
index
;
bta_hh_act.c:352
bta_hh_start_sdp()
else
if
(
!
bta_hh_cb
.
p_disc_db
)
{
bta_hh_act.c:362
bta_hh_start_sdp()
bta_hh_cb
.
p_disc_db
=
(
tSDP_DISCOVERY_DB
*
)
osi_malloc
(
p_bta_hh_cfg
->
sdp_db_size
)
;
bta_hh_act.c:363
bta_hh_start_sdp()
if
(
bta_hh_cb
.
p_disc_db
==
NULL
)
{
bta_hh_act.c:365
bta_hh_start_sdp()
bta_hh_cb
.
p_cur
=
p_cb
;
bta_hh_act.c:368
bta_hh_start_sdp()
bta_hh_cb
.
p_disc_db
,
bta_hh_act.c:371
bta_hh_start_sdp()
utl_freebuf
(
(
void
*
*
)
&
bta_hh_cb
.
p_disc_db
)
;
bta_hh_act.c:379
bta_hh_start_sdp()
(
*
bta_hh_cb
.
p_cback
)
(
BTA_HH_OPEN_EVT
,
(
tBTA_HH
*
)
&
conn_dat
)
;
bta_hh_act.c:456
bta_hh_sdp_cmpl()
(
*
bta_hh_cb
.
p_cback
)
(
BTA_HH_CLOSE_EVT
,
(
tBTA_HH
*
)
&
disc_dat
)
;
bta_hh_act.c:500
bta_hh_api_disc_act()
bta_hh_cb
.
cnt_num
++
;
bta_hh_act.c:529
bta_hh_open_cmpl_act()
(
*
bta_hh_cb
.
p_cback
)
(
BTA_HH_OPEN_EVT
,
(
tBTA_HH
*
)
&
conn
)
;
bta_hh_act.c:558
bta_hh_open_cmpl_act()
(
*
bta_hh_cb
.
p_cback
)
(
BTA_HH_OPEN_EVT
,
(
tBTA_HH
*
)
&
conn
)
;
bta_hh_act.c:564
bta_hh_open_cmpl_act()
(
*
bta_hh_cb
.
p_cback
)
(
p_cb
->
w4_evt
,
(
tBTA_HH
*
)
&
hs_data
)
;
bta_hh_act.c:671
bta_hh_handsk_act()
(
*
bta_hh_cb
.
p_cback
)
(
p_cb
->
w4_evt
,
(
tBTA_HH
*
)
&
cback_data
)
;
bta_hh_act.c:686
bta_hh_handsk_act()
(
*
bta_hh_cb
.
p_cback
)
(
p_cb
->
w4_evt
,
(
tBTA_HH
*
)
&
conn
)
;
bta_hh_act.c:696
bta_hh_handsk_act()
(
*
bta_hh_cb
.
p_cback
)
(
p_cb
->
w4_evt
,
(
tBTA_HH
*
)
&
hs_data
)
;
bta_hh_act.c:771
bta_hh_ctrl_dat_act()
(
*
bta_hh_cb
.
p_cback
)
(
BTA_HH_OPEN_EVT
,
(
tBTA_HH
*
)
&
conn_dat
)
;
bta_hh_act.c:804
bta_hh_open_failure()
if
(
bta_hh_cb
.
cnt_num
==
0
&&
bta_hh_cb
.
w4_disable
)
{
bta_hh_act.c:814
bta_hh_open_failure()
(
*
bta_hh_cb
.
p_cback
)
(
BTA_HH_OPEN_EVT
,
(
tBTA_HH
*
)
&
conn_dat
)
;
bta_hh_act.c:855
bta_hh_close_act()
bta_hh_cb
.
cnt_num
--
;
bta_hh_act.c:869
bta_hh_close_act()
(
*
bta_hh_cb
.
p_cback
)
(
event
,
(
tBTA_HH
*
)
&
disc_dat
)
;
bta_hh_act.c:875
bta_hh_close_act()
if
(
bta_hh_cb
.
cnt_num
==
0
&&
bta_hh_cb
.
w4_disable
)
{
bta_hh_act.c:893
bta_hh_close_act()
(
*
bta_hh_cb
.
p_cback
)
(
BTA_HH_GET_DSCP_EVT
,
(
tBTA_HH
*
)
&
p_cb
->
dscp_info
)
;
bta_hh_act.c:920
bta_hh_get_dscp_act()
bta_hh_cb
.
cb_index
[
dev_handle
]
=
p_cb
->
index
;
bta_hh_act.c:983
bta_hh_maint_dev_act()
(
*
bta_hh_cb
.
p_cback
)
(
p_dev_info
->
sub_event
,
(
tBTA_HH
*
)
&
dev_info
)
;
bta_hh_act.c:1021
bta_hh_maint_dev_act()
(
*
bta_hh_cb
.
p_cback
)
(
event
,
(
tBTA_HH
*
)
&
send_data
)
;
bta_hh_act.c:1069
bta_hh_write_dev_act()
(
*
bta_hh_cb
.
p_cback
)
(
event
,
(
tBTA_HH
*
)
&
cbdata
)
;
bta_hh_act.c:1072
bta_hh_write_dev_act()
(
*
bta_hh_cb
.
p_cback
)
(
BTA_HH_VC_UNPLUG_EVT
,
(
tBTA_HH
*
)
&
cbdata
)
;
bta_hh_act.c:1076
bta_hh_write_dev_act()
(
*
bta_hh_cb
.
p_cback
)
(
BTA_HH_DATA_EVT
,
(
tBTA_HH
*
)
&
send_data
)
;
bta_hh_act.c:1095
bta_hh_write_dev_act()
if
(
bta_hh_cb
.
kdev
[
xx
]
.
hid_handle
==
dev_handle
)
{
bta_hh_act.c:1177
bta_hh_cback()
bta_hh_cb
.
kdev
[
xx
]
.
vp
=
TRUE
;
bta_hh_act.c:1178
bta_hh_cback()
if
(
bta_hh_cb
.
p_cback
!=
NULL
)
{
bta_hh_main.c:286
bta_hh_sm_execute()
(
*
bta_hh_cb
.
p_cback
)
(
cback_event
,
&
cback_data
)
;
bta_hh_main.c:354
bta_hh_sm_execute()
(
bta_hh_cb
.
kdev
[
index
]
.
in_use
==
FALSE
)
)
{
bta_hh_main.c:441
bta_hh_hdl_event()
bta_hh_cb
.
cb_index
[
hdl
]
=
bta_hh_cb
.
kdev
[
index
]
.
index
;
bta_hh_main.c:450
bta_hh_hdl_event()
p_cb
=
&
bta_hh_cb
.
kdev
[
index
]
;
bta_hh_main.c:457
bta_hh_hdl_event()
if
(
(
!
bdcmp
(
bda
,
bta_hh_cb
.
kdev
[
xx
]
.
addr
)
&&
bta_hh_utils.c:69
bta_hh_find_cb()
bta_hh_cb
.
kdev
[
xx
]
.
hid_handle
)
bta_hh_utils.c:73
bta_hh_find_cb()
bta_hh_cb
.
kdev
[
xx
]
.
in_use
,
xx
,
bta_hh_utils.c:80
bta_hh_find_cb()
bta_hh_cb
.
kdev
[
xx
]
.
hid_handle
,
bta_hh_utils.c:81
bta_hh_find_cb()
bta_hh_cb
.
kdev
[
xx
]
.
state
)
;
bta_hh_utils.c:82
bta_hh_find_cb()
if
(
!
bta_hh_cb
.
kdev
[
xx
]
.
in_use
)
{
bta_hh_utils.c:89
bta_hh_find_cb()
bdcpy
(
bta_hh_cb
.
kdev
[
xx
]
.
addr
,
bda
)
;
bta_hh_utils.c:90
bta_hh_find_cb()
bta_hh_cb
.
kdev
[
xx
]
.
in_use
=
TRUE
;
bta_hh_utils.c:91
bta_hh_find_cb()
bta_hh_cb
.
cb_index
[
p_cb
->
hid_handle
]
=
BTA_HH_IDX_INVALID
;
bta_hh_utils.c:129
bta_hh_clean_up_kdev()
tBTA_HH_KB_CB
*
p_kb
=
&
bta_hh_cb
.
kb_cb
;
bta_hh_utils.c:259
bta_hh_parse_keybd_rpt()
tBTA_HH_CB
*
p_cb
=
&
bta_hh_cb
;
bta_hh_utils.c:405
bta_hh_read_ssr_param()
utl_freebuf
(
(
void
*
*
)
&
bta_hh_cb
.
kdev
[
xx
]
.
dscp_info
.
descriptor
.
dsc_list
)
;
bta_hh_utils.c:460
bta_hh_cleanup_disable()
utl_freebuf
(
(
void
*
*
)
&
bta_hh_cb
.
p_disc_db
)
;
bta_hh_utils.c:462
bta_hh_cleanup_disable()
if
(
bta_hh_cb
.
p_cback
)
{
bta_hh_utils.c:464
bta_hh_cleanup_disable()
(
*
bta_hh_cb
.
p_cback
)
(
BTA_HH_DISABLE_EVT
,
(
tBTA_HH
*
)
&
status
)
;
bta_hh_utils.c:465
bta_hh_cleanup_disable()
memset
(
&
bta_hh_cb
,
0
,
sizeof
(
tBTA_HH_CB
)
)
;
bta_hh_utils.c:467
bta_hh_cleanup_disable()
index
=
bta_hh_cb
.
cb_index
[
dev_handle
]
;
bta_hh_utils.c:498
bta_hh_dev_handle_to_cb_idx()
bta_hh_cb
.
kdev
[
xx
]
.
in_use
,
bta_hh_cb
.
kdev
[
xx
]
.
hid_handle
)
;
bta_hh_utils.c:522
bta_hh_trace_dev_db()
bta_hh_cb
.
kdev
[
xx
]
.
attr_mask
,
bta_hh_cb
.
kdev
[
xx
]
.
state
,
bta_hh_utils.c:525
bta_hh_trace_dev_db()
bta_hh_cb
.
kdev
[
xx
]
.
sub_class
,
bta_hh_cb
.
kdev
[
xx
]
.
index
)
;
bta_hh_utils.c:526
bta_hh_trace_dev_db()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bta_hh_cb
is read by 24 functions:
All items filtered out
bta_hh_cb
bta_hh_sm_execute()
bta_hh_hdl_event()
bta_hh_api_enable()
bta_hh_api_disable()
bta_hh_sdp_cback()
bta_hh_di_sdp_cback()
bta_hh_start_sdp()
bta_hh_sdp_cmpl()
bta_hh_api_disc_act()
bta_hh_open_cmpl_act()
bta_hh_handsk_act()
bta_hh_ctrl_dat_act()
bta_hh_open_failure()
bta_hh_close_act()
bta_hh_get_dscp_act()
bta_hh_maint_dev_act()
bta_hh_write_dev_act()
bta_hh_cback()
bta_hh_find_cb()
bta_hh_clean_up_kdev()
bta_hh_parse_keybd_rpt()
bta_hh_cleanup_disable()
bta_hh_dev_handle_to_cb_idx()
bta_hh_trace_dev_db()
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