ESP-IDF
avct_cb
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
avct_cb
avct_cb variable
Syntax
Show:
Summary
Declaration
from
avct_int.h:221
extern
tAVCT_CB
avct_cb
;
Examples
References
from
examples
Code
Location
Referrer
tAVCT_CB
avct_cb
;
avct_api.c:40
extern
tAVCT_CB
avct_cb
;
avct_int.h:221
AVCT_TRACE_API
(
"AVCT_Register"
)
;
avct_api.c:63
AVCT_Register()
memset
(
&
avct_cb
,
0
,
sizeof
(
tAVCT_CB
)
)
;
avct_api.c:73
AVCT_Register()
avct_cb
.
trace_level
=
AVCT_INITIAL_TRACE_LEVEL
;
avct_api.c:89
AVCT_Register()
avct_cb
.
mtu
=
mtu
;
avct_api.c:98
AVCT_Register()
AVCT_TRACE_API
(
"AVCT_Deregister"
)
;
avct_api.c:117
AVCT_Deregister()
AVCT_TRACE_API
(
"AVCT_CreateConn: %d, control:%d"
,
p_cc
->
role
,
p_cc
->
control
)
;
avct_api.c:145
AVCT_CreateConn()
AVCT_TRACE_DEBUG
(
"ch_state: %d"
,
p_lcb
->
ch_state
)
;
avct_api.c:173
AVCT_CreateConn()
AVCT_TRACE_API
(
"AVCT_RemoveConn"
)
;
avct_api.c:199
AVCT_RemoveConn()
AVCT_TRACE_API
(
"AVCT_MsgReq"
)
;
avct_api.c:397
AVCT_MsgReq()
AVCT_TRACE_API
(
"len: %d"
,
p_msg
->
len
)
;
avct_api.c:403
AVCT_MsgReq()
tAVCT_CCB
*
p_ccb
=
&
avct_cb
.
ccb
[
0
]
;
avct_ccb.c:46
avct_ccb_alloc()
AVCT_TRACE_DEBUG
(
"avct_ccb_alloc %d"
,
i
)
;
avct_ccb.c:53
avct_ccb_alloc()
AVCT_TRACE_WARNING
(
"Out of ccbs"
)
;
avct_ccb.c:61
avct_ccb_alloc()
AVCT_TRACE_DEBUG
(
"avct_ccb_dealloc %d"
,
avct_ccb_to_idx
(
p_ccb
)
)
;
avct_ccb.c:81
avct_ccb_dealloc()
return
(
UINT8
)
(
p_ccb
-
avct_cb
.
ccb
)
;
avct_ccb.c:112
avct_ccb_to_idx()
p_ccb
=
&
avct_cb
.
ccb
[
idx
]
;
avct_ccb.c:131
avct_ccb_by_idx()
AVCT_TRACE_WARNING
(
"ccb %d not allocated"
,
idx
)
;
avct_ccb.c:136
avct_ccb_by_idx()
AVCT_TRACE_WARNING
(
"No ccb for idx %d"
,
idx
)
;
avct_ccb.c:140
avct_ccb_by_idx()
tAVCT_CCB
*
p_ccb
=
&
avct_cb
.
ccb
[
0
]
;
avct_l2c.c:79
avct_l2c_is_passive()
AVCT_TRACE_DEBUG
(
"avct_l2c_is_ct control:x%x"
,
p_ccb
->
cc
.
control
)
;
avct_l2c.c:84
avct_l2c_is_passive()
AVCT_TRACE_DEBUG
(
"avct_l2c_connect_ind_cback conflict_lcid:0x%x"
,
p_lcb
->
conflict_lcid
)
;
avct_l2c.c:127
avct_l2c_connect_ind_cback()
AVCT_TRACE_DEBUG
(
"avct_l2c_connect_ind_cback: 0x%x, res: %d, ch_state: %d"
,
avct_l2c.c:132
avct_l2c_connect_ind_cback()
cfg
.
mtu
=
avct_cb
.
mtu
;
avct_l2c.c:149
avct_l2c_connect_ind_cback()
AVCT_TRACE_DEBUG
(
"avct_l2c snd Cfg Req"
)
;
avct_l2c.c:151
avct_l2c_connect_ind_cback()
AVCT_TRACE_DEBUG
(
"avct_l2c_connect_cfm_cback lcid:0x%x result: %d ch_state: %d, conflict_lcid:0x%x"
,
avct_l2c.c:178
avct_l2c_connect_cfm_cback()
cfg
.
mtu
=
avct_cb
.
mtu
;
avct_l2c.c:190
avct_l2c_connect_cfm_cback()
AVCT_TRACE_DEBUG
(
"avct_l2c snd Cfg Req"
)
;
avct_l2c.c:192
avct_l2c_connect_cfm_cback()
AVCT_TRACE_DEBUG
(
"avct_l2c_connect_cfm_cback conflict_lcid:0x%x"
,
p_lcb
->
conflict_lcid
)
;
avct_l2c.c:196
avct_l2c_connect_cfm_cback()
AVCT_TRACE_DEBUG
(
"avct_l2c_connect_cfm_cback ch_state: %d, conflict_lcid:0x%x"
,
p_lcb
->
ch_state
,
p_lcb
->
conflict_lcid
)
;
avct_l2c.c:205
avct_l2c_connect_cfm_cback()
AVCT_TRACE_DEBUG
(
"ch_state cnc: %d "
,
p_lcb
->
ch_state
)
;
avct_l2c.c:212
avct_l2c_connect_cfm_cback()
AVCT_TRACE_DEBUG
(
"avct_l2c_config_cfm_cback: 0x%x, ch_state: %d, res: %d"
,
avct_l2c.c:232
avct_l2c_config_cfm_cback()
AVCT_TRACE_DEBUG
(
"ERROR avct_l2c_config_cfm_cback L2CA_DisconnectReq %d "
,
p_lcb
->
ch_state
)
;
avct_l2c.c:249
avct_l2c_config_cfm_cback()
AVCT_TRACE_DEBUG
(
"ch_state cfc: %d "
,
p_lcb
->
ch_state
)
;
avct_l2c.c:257
avct_l2c_config_cfm_cback()
AVCT_TRACE_DEBUG
(
"avct_l2c_config_ind_cback: 0x%x, ch_state: %d"
,
lcid
,
p_lcb
->
ch_state
)
;
avct_l2c.c:277
avct_l2c_config_ind_cback()
AVCT_TRACE_DEBUG
(
"ch_state cfi: %d "
,
p_lcb
->
ch_state
)
;
avct_l2c.c:301
avct_l2c_config_ind_cback()
AVCT_TRACE_DEBUG
(
"avct_l2c_disconnect_ind_cback: 0x%x, ch_state: %d"
,
lcid
,
p_lcb
->
ch_state
)
;
avct_l2c.c:322
avct_l2c_disconnect_ind_cback()
AVCT_TRACE_DEBUG
(
"ch_state di: %d "
,
p_lcb
->
ch_state
)
;
avct_l2c.c:329
avct_l2c_disconnect_ind_cback()
AVCT_TRACE_DEBUG
(
"avct_l2c_disconnect_cfm_cback: 0x%x, ch_state: %d, res: %d"
,
avct_l2c.c:350
avct_l2c_disconnect_cfm_cback()
AVCT_TRACE_DEBUG
(
"ch_state dc: %d "
,
p_lcb
->
ch_state
)
;
avct_l2c.c:357
avct_l2c_disconnect_cfm_cback()
AVCT_TRACE_DEBUG
(
"avct_l2c_congestion_ind_cback: 0x%x"
,
lcid
)
;
avct_l2c.c:375
avct_l2c_congestion_ind_cback()
AVCT_TRACE_DEBUG
(
"avct_l2c_data_ind_cback: 0x%x"
,
lcid
)
;
avct_l2c.c:396
avct_l2c_data_ind_cback()
AVCT_TRACE_WARNING
(
"ERROR -> avct_l2c_data_ind_cback drop buffer"
)
;
avct_l2c.c:401
avct_l2c_data_ind_cback()
AVCT_TRACE_EVENT
(
"LCB lcb=%d event=%d state=%d"
,
p_lcb
->
allocated
,
event
,
p_lcb
->
state
)
;
avct_lcb.c:205
avct_lcb_event()
tAVCT_LCB
*
p_lcb
=
&
avct_cb
.
lcb
[
0
]
;
avct_lcb.c:276
avct_lcb_by_bd()
AVCT_TRACE_DEBUG
(
"No lcb for addr %02x-%02x-%02x-%02x-%02x-%02x"
,
avct_lcb.c:290
avct_lcb_by_bd()
tAVCT_LCB
*
p_lcb
=
&
avct_cb
.
lcb
[
0
]
;
avct_lcb.c:308
avct_lcb_alloc()
AVCT_TRACE_DEBUG
(
"avct_lcb_alloc %d"
,
p_lcb
->
allocated
)
;
avct_lcb.c:315
avct_lcb_alloc()
AVCT_TRACE_WARNING
(
"Out of lcbs"
)
;
avct_lcb.c:324
avct_lcb_alloc()
AVCT_TRACE_DEBUG
(
"%s allocated: %d"
,
__func__
,
p_lcb
->
allocated
)
;
avct_lcb.c:343
avct_lcb_dealloc()
tAVCT_CCB
*
p_ccb
=
&
avct_cb
.
ccb
[
0
]
;
avct_lcb.c:347
avct_lcb_dealloc()
AVCT_TRACE_DEBUG
(
"%s LCB in use; lcb index: %d"
,
__func__
,
i
)
;
avct_lcb.c:352
avct_lcb_dealloc()
AVCT_TRACE_DEBUG
(
"%s Freeing LCB"
,
__func__
)
;
avct_lcb.c:359
avct_lcb_dealloc()
tAVCT_LCB
*
p_lcb
=
&
avct_cb
.
lcb
[
0
]
;
avct_lcb.c:377
avct_lcb_by_lcid()
AVCT_TRACE_WARNING
(
"No lcb for lcid %x"
,
lcid
)
;
avct_lcb.c:389
avct_lcb_by_lcid()
tAVCT_CCB
*
p_ccb
=
&
avct_cb
.
ccb
[
0
]
;
avct_lcb.c:407
avct_lcb_has_pid()
tAVCT_CCB
*
p_ccb
=
&
avct_cb
.
ccb
[
0
]
;
avct_lcb.c:430
avct_lcb_last_ccb()
AVCT_TRACE_DEBUG
(
"avct_lcb_last_ccb"
)
;
avct_lcb.c:433
avct_lcb_last_ccb()
AVCT_TRACE_DEBUG
(
"%x: aloc:%d, lcb:%p/%p, ccb:%p/%p"
,
avct_lcb.c:435
avct_lcb_last_ccb()
AVCT_TRACE_WARNING
(
"Bad length during reassembly"
)
;
avct_lcb_act.c:69
avct_lcb_msg_asmbl()
AVCT_TRACE_WARNING
(
"Got single during reassembly"
)
;
avct_lcb_act.c:76
avct_lcb_msg_asmbl()
AVCT_TRACE_WARNING
(
"Got start during reassembly"
)
;
avct_lcb_act.c:86
avct_lcb_msg_asmbl()
AVCT_TRACE_ERROR
(
"Cannot alloc buffer for reassembly !!"
)
;
avct_lcb_act.c:95
avct_lcb_msg_asmbl()
AVCT_TRACE_WARNING
(
"Pkt type=%d out of order"
,
pkt_type
)
;
avct_lcb_act.c:122
avct_lcb_msg_asmbl()
AVCT_TRACE_WARNING
(
"%s: Fragmented message too big!"
,
__func__
)
;
avct_lcb_act.c:139
avct_lcb_msg_asmbl()
tAVCT_CCB
*
p_ccb
=
&
avct_cb
.
ccb
[
0
]
;
avct_lcb_act.c:223
avct_lcb_open_ind()
tAVCT_CCB
*
p_ccb
=
&
avct_cb
.
ccb
[
0
]
;
avct_lcb_act.c:269
avct_lcb_open_fail()
tAVCT_CCB
*
p_ccb
=
&
avct_cb
.
ccb
[
0
]
;
avct_lcb_act.c:293
avct_lcb_close_ind()
tAVCT_CCB
*
p_ccb
=
&
avct_cb
.
ccb
[
0
]
;
avct_lcb_act.c:324
avct_lcb_close_cfm()
AVCT_TRACE_EVENT
(
"avct_lcb_chk_disc"
)
;
avct_lcb_act.c:380
avct_lcb_chk_disc()
AVCT_TRACE_EVENT
(
"closing"
)
;
avct_lcb_act.c:385
avct_lcb_chk_disc()
AVCT_TRACE_EVENT
(
"dealloc ccb"
)
;
avct_lcb_act.c:389
avct_lcb_chk_disc()
tAVCT_CCB
*
p_ccb
=
&
avct_cb
.
ccb
[
0
]
;
avct_lcb_act.c:441
avct_lcb_cong_ind()
AVCT_TRACE_WARNING
(
"Dropping msg"
)
;
avct_lcb_act.c:483
avct_lcb_discard_msg()
AVCT_TRACE_ERROR
(
"avct_lcb_send_msg cannot alloc buffer!!"
)
;
avct_lcb_act.c:537
avct_lcb_send_msg()
AVCT_TRACE_DEBUG
(
"avct_lcb_send_msg tx_q_count:%d"
,
avct_lcb_act.c:589
avct_lcb_send_msg()
AVCT_TRACE_WARNING
(
"Invalid cr_ipid %d"
,
cr_ipid
)
;
avct_lcb_act.c:652
avct_lcb_msg_ind()
AVCT_TRACE_WARNING
(
"No ccb for PID=%x"
,
pid
)
;
avct_lcb_act.c:667
avct_lcb_msg_ind()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
avct_cb
is read by 35 functions:
All items filtered out
avct_cb
AVCT_Register()
AVCT_Deregister()
AVCT_CreateConn()
AVCT_RemoveConn()
AVCT_MsgReq()
avct_ccb_alloc()
avct_ccb_dealloc()
avct_ccb_to_idx()
avct_ccb_by_idx()
avct_l2c_is_passive()
avct_l2c_connect_ind_cback()
avct_l2c_connect_cfm_cback()
avct_l2c_config_cfm_cback()
avct_l2c_config_ind_cback()
avct_l2c_disconnect_ind_cback()
avct_l2c_disconnect_cfm_cback()
avct_l2c_congestion_ind_cback()
avct_l2c_data_ind_cback()
avct_lcb_event()
avct_lcb_by_bd()
avct_lcb_alloc()
avct_lcb_dealloc()
avct_lcb_by_lcid()
avct_lcb_has_pid()
avct_lcb_last_ccb()
avct_lcb_msg_asmbl()
avct_lcb_open_ind()
avct_lcb_open_fail()
avct_lcb_close_ind()
avct_lcb_close_cfm()
avct_lcb_chk_disc()
avct_lcb_cong_ind()
avct_lcb_discard_msg()
avct_lcb_send_msg()
avct_lcb_msg_ind()
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