ESP-IDF
t_rfc_port::p_mcb
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
t_rfc_port::p_mcb
t_rfc_port::p_mcb field
Syntax
Show:
Summary
Declaration
from
port_int.h:132
tRFC_MCB
*
p_mcb
;
Examples
References
from
examples
Code
Location
Referrer
tRFC_MCB
*
p_mcb
;
port_int.h:132
p_port
->
state
,
p_port
->
rfc
.
state
,
p_port
->
rfc
.
p_mcb
?
p_port
->
rfc
.
p_mcb
->
state
:
0
)
;
port_api.c:141
RFCOMM_CreateConnection()
if
(
!
p_port
->
rfc
.
p_mcb
||
!
p_port
->
rfc
.
p_mcb
->
peer_ready
||
port_api.c:489
PORT_CheckConnection()
memcpy
(
bd_addr
,
p_port
->
rfc
.
p_mcb
->
bd_addr
,
BD_ADDR_LEN
)
;
port_api.c:494
PORT_CheckConnection()
*
p_lcid
=
p_port
->
rfc
.
p_mcb
->
lcid
;
port_api.c:496
PORT_CheckConnection()
if
(
p_port
->
rfc
.
p_mcb
==
p_mcb
)
{
port_api.c:534
PORT_IsOpening()
if
(
!
p_port
->
rfc
.
p_mcb
)
{
port_api.c:792
PORT_FlowControl()
if
(
p_port
->
rfc
.
p_mcb
->
flow
==
PORT_FC_CREDIT
)
{
port_api.c:798
PORT_FlowControl()
if
(
!
p_port
->
rfc
.
p_mcb
)
{
port_api.c:932
PORT_FlowControl_GiveCredit()
if
(
p_port
->
rfc
.
p_mcb
->
flow
==
PORT_FC_CREDIT
)
{
port_api.c:938
PORT_FlowControl_GiveCredit()
if
(
!
p_port
->
rfc
.
p_mcb
)
{
port_api.c:1077
PORT_SendError()
RFCOMM_LineStatusReq
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
errors
)
;
port_api.c:1081
PORT_SendError()
||
!
p_port
->
rfc
.
p_mcb
port_api.c:1389
port_write()
||
!
p_port
->
rfc
.
p_mcb
->
peer_ready
port_api.c:1390
port_write()
(
p_port
->
rfc
.
p_mcb
&&
p_port
->
rfc
.
p_mcb
->
peer_ready
)
,
port_api.c:1410
port_write()
RFCOMM_DataReq
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
p_buf
)
;
port_api.c:1421
port_write()
rfc_send_test
(
p_port
->
rfc
.
p_mcb
,
TRUE
,
p_buf
)
;
port_api.c:1773
PORT_Test()
p_port
->
rfc
.
p_mcb
=
p_mcb
;
port_rfc.c:69
port_open_continue()
tRFC_MCB
*
p_mcb
=
p_port
->
rfc
.
p_mcb
;
port_rfc.c:105
port_start_control()
tRFC_MCB
*
p_mcb
=
p_port
->
rfc
.
p_mcb
;
port_rfc.c:127
port_start_par_neg()
tRFC_MCB
*
p_mcb
=
p_port
->
rfc
.
p_mcb
;
port_rfc.c:149
port_start_close()
if
(
p_port
->
rfc
.
p_mcb
==
p_mcb
)
{
port_rfc.c:208
PORT_StartCnf()
p_port
->
rfc
.
p_mcb
=
NULL
;
port_rfc.c:225
PORT_StartCnf()
if
(
(
p_port
->
rfc
.
p_mcb
==
NULL
)
port_rfc.c:268
PORT_StartInd()
||
(
p_port
->
rfc
.
p_mcb
==
p_mcb
)
)
{
port_rfc.c:269
PORT_StartInd()
p_port
->
rfc
.
p_mcb
=
p_mcb
;
port_rfc.c:317
PORT_ParNegInd()
RFCOMM_PortNegReq
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
NULL
)
;
port_rfc.c:550
PORT_DlcEstablishCnf()
RFCOMM_ControlReq
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
&
p_port
->
local_ctrl
)
;
port_rfc.c:552
PORT_DlcEstablishCnf()
RFCOMM_ControlReq
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
&
p_port
->
local_ctrl
)
;
port_rfc.c:621
PORT_PortNegCnf()
RFCOMM_ControlReq
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
&
p_port
->
local_ctrl
)
;
port_rfc.c:655
PORT_ControlInd()
if
(
p_port
->
rfc
.
p_mcb
==
p_mcb
)
{
port_rfc.c:804
PORT_CloseInd()
if
(
p_port
->
rfc
.
p_mcb
==
p_mcb
)
{
port_rfc.c:828
Port_TimeOutCloseMux()
||
(
p_port
->
rfc
.
p_mcb
!=
p_mcb
)
port_rfc.c:965
PORT_FlowInd()
while
(
!
p_port
->
tx
.
peer_fc
&&
p_port
->
rfc
.
p_mcb
&&
p_port
->
rfc
.
p_mcb
->
peer_ready
)
{
port_rfc.c:1009
port_rfc_send_tx_data()
RFCOMM_DataReq
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
p_buf
)
;
port_rfc.c:1020
port_rfc_send_tx_data()
tRFC_MCB
*
p_mcb
=
p_port
->
rfc
.
p_mcb
;
port_rfc.c:1055
port_rfc_closed()
p_port
->
rfc
.
p_mcb
=
NULL
;
port_rfc.c:1069
port_rfc_closed()
if
(
p_port
->
rfc
.
p_mcb
)
{
port_utils.c:233
port_release_port()
p_port
->
rfc
.
p_mcb
->
port_inx
[
p_port
->
dlci
]
=
0
;
port_utils.c:234
port_release_port()
rfc_check_mcb_active
(
p_port
->
rfc
.
p_mcb
)
;
port_utils.c:237
port_release_port()
p_port
->
rfc
.
p_mcb
=
NULL
;
port_utils.c:261
port_release_port()
if
(
p_port
->
in_use
&&
(
p_port
->
rfc
.
p_mcb
==
NULL
)
)
{
port_utils.c:357
port_find_dlci_port()
||
!
p_port
->
rfc
.
p_mcb
port_utils.c:415
port_flow_control_user()
||
!
p_port
->
rfc
.
p_mcb
->
peer_ready
port_utils.c:416
port_flow_control_user()
if
(
!
p_port
->
rfc
.
p_mcb
)
{
port_utils.c:494
port_flow_control_peer()
if
(
p_port
->
rfc
.
p_mcb
->
flow
==
PORT_FC_CREDIT
)
{
port_utils.c:499
port_flow_control_peer()
rfc_send_credit
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
port_utils.c:515
port_flow_control_peer()
RFCOMM_FlowReq
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
TRUE
)
;
port_utils.c:550
port_flow_control_peer()
RFCOMM_FlowReq
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
FALSE
)
;
port_utils.c:559
port_flow_control_peer()
RFCOMM_FlowReq
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
FALSE
)
;
port_utils.c:569
port_flow_control_peer()
||
(
!
p_port
->
rfc
.
p_mcb
)
)
{
rfc_l2cap_if.c:336
RFCOMM_BufDataInd()
p_port
->
rfc
.
p_mcb
=
p_mcb
;
rfc_l2cap_if.c:353
RFCOMM_BufDataInd()
btm_sec_mx_access_request
(
p_port
->
rfc
.
p_mcb
->
bd_addr
,
BT_PSM_RFCOMM
,
TRUE
,
rfc_port_fsm.c:116
rfc_port_sm_state_closed()
rfc_timer_stop
(
p_port
->
rfc
.
p_mcb
)
;
rfc_port_fsm.c:133
rfc_port_sm_state_closed()
btm_sec_mx_access_request
(
p_port
->
rfc
.
p_mcb
->
bd_addr
,
BT_PSM_RFCOMM
,
FALSE
,
rfc_port_fsm.c:137
rfc_port_sm_state_closed()
rfc_send_dm
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
FALSE
)
;
rfc_port_fsm.c:151
rfc_port_sm_state_closed()
rfc_send_dm
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
FALSE
)
;
rfc_port_fsm.c:155
rfc_port_sm_state_closed()
Port_TimeOutCloseMux
(
p_port
->
rfc
.
p_mcb
)
;
rfc_port_fsm.c:159
rfc_port_sm_state_closed()
rfc_send_disc
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
)
;
rfc_port_fsm.c:188
rfc_port_sm_sabme_wait_ua()
PORT_DlcEstablishCnf
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
p_port
->
rfc
.
p_mcb
->
peer_l2cap_mtu
,
RFCOMM_SUCCESS
)
;
rfc_port_fsm.c:204
rfc_port_sm_sabme_wait_ua()
p_port
->
rfc
.
p_mcb
->
is_disc_initiator
=
TRUE
;
rfc_port_fsm.c:208
rfc_port_sm_sabme_wait_ua()
PORT_DlcEstablishCnf
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
p_port
->
rfc
.
p_mcb
->
peer_l2cap_mtu
,
RFCOMM_ERROR
)
;
rfc_port_fsm.c:209
rfc_port_sm_sabme_wait_ua()
rfc_send_ua
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
)
;
rfc_port_fsm.c:214
rfc_port_sm_sabme_wait_ua()
PORT_DlcEstablishCnf
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
p_port
->
rfc
.
p_mcb
->
peer_l2cap_mtu
,
RFCOMM_ERROR
)
;
rfc_port_fsm.c:215
rfc_port_sm_sabme_wait_ua()
rfc_send_ua
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
)
;
rfc_port_fsm.c:221
rfc_port_sm_sabme_wait_ua()
PORT_DlcEstablishCnf
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
p_port
->
rfc
.
p_mcb
->
peer_l2cap_mtu
,
RFCOMM_ERROR
)
;
rfc_port_fsm.c:230
rfc_port_sm_sabme_wait_ua()
if
(
p_port
->
rfc
.
p_mcb
)
{
rfc_port_fsm.c:256
rfc_port_sm_term_wait_sec_check()
rfc_send_dm
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
TRUE
)
;
rfc_port_fsm.c:257
rfc_port_sm_term_wait_sec_check()
p_port
->
rfc
.
p_mcb
->
is_disc_initiator
=
TRUE
;
rfc_port_fsm.c:258
rfc_port_sm_term_wait_sec_check()
PORT_DlcEstablishInd
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
p_port
->
rfc
.
p_mcb
->
peer_l2cap_mtu
)
;
rfc_port_fsm.c:262
rfc_port_sm_term_wait_sec_check()
btm_sec_abort_access_req
(
p_port
->
rfc
.
p_mcb
->
bd_addr
)
;
rfc_port_fsm.c:272
rfc_port_sm_term_wait_sec_check()
btm_sec_abort_access_req
(
p_port
->
rfc
.
p_mcb
->
bd_addr
)
;
rfc_port_fsm.c:286
rfc_port_sm_term_wait_sec_check()
rfc_send_ua
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
)
;
rfc_port_fsm.c:288
rfc_port_sm_term_wait_sec_check()
PORT_DlcReleaseInd
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
)
;
rfc_port_fsm.c:290
rfc_port_sm_term_wait_sec_check()
if
(
p_port
->
rfc
.
p_mcb
)
{
rfc_port_fsm.c:299
rfc_port_sm_term_wait_sec_check()
rfc_send_dm
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
TRUE
)
;
rfc_port_fsm.c:300
rfc_port_sm_term_wait_sec_check()
rfc_send_ua
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
)
;
rfc_port_fsm.c:308
rfc_port_sm_term_wait_sec_check()
p_port
->
rfc
.
p_mcb
->
is_disc_initiator
=
TRUE
;
rfc_port_fsm.c:333
rfc_port_sm_orig_wait_sec_check()
PORT_DlcEstablishCnf
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
0
,
RFCOMM_SECURITY_ERR
)
;
rfc_port_fsm.c:334
rfc_port_sm_orig_wait_sec_check()
rfc_send_sabme
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
)
;
rfc_port_fsm.c:338
rfc_port_sm_orig_wait_sec_check()
btm_sec_abort_access_req
(
p_port
->
rfc
.
p_mcb
->
bd_addr
)
;
rfc_port_fsm.c:349
rfc_port_sm_orig_wait_sec_check()
rfc_send_disc
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
)
;
rfc_port_fsm.c:385
rfc_port_sm_opened()
if
(
(
p_port
->
rfc
.
p_mcb
->
flow
==
PORT_FC_CREDIT
)
rfc_port_fsm.c:398
rfc_port_sm_opened()
rfc_send_buf_uih
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
(
BT_HDR
*
)
p_data
)
;
rfc_port_fsm.c:407
rfc_port_sm_opened()
rfc_send_ua
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
)
;
rfc_port_fsm.c:415
rfc_port_sm_opened()
PORT_DlcReleaseInd
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
)
;
rfc_port_fsm.c:419
rfc_port_sm_opened()
rfc_send_ua
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
)
;
rfc_port_fsm.c:425
rfc_port_sm_opened()
PORT_DlcReleaseInd
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
)
;
rfc_port_fsm.c:431
rfc_port_sm_opened()
Port_TimeOutCloseMux
(
p_port
->
rfc
.
p_mcb
)
;
rfc_port_fsm.c:440
rfc_port_sm_opened()
p_port
->
rfc
.
p_mcb
->
is_disc_initiator
=
TRUE
;
rfc_port_fsm.c:475
rfc_port_sm_disc_wait_ua()
rfc_send_dm
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
TRUE
)
;
rfc_port_fsm.c:483
rfc_port_sm_disc_wait_ua()
rfc_send_dm
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
TRUE
)
;
rfc_port_fsm.c:487
rfc_port_sm_disc_wait_ua()
rfc_send_dm
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
FALSE
)
;
rfc_port_fsm.c:492
rfc_port_sm_disc_wait_ua()
PORT_DataInd
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
p_buf
)
;
rfc_port_fsm.c:513
rfc_port_uplink_data()
if
(
p_port
->
rfc
.
p_mcb
->
flow
!=
PORT_FC_CREDIT
)
{
rfc_port_fsm.c:713
rfc_process_msc()
PORT_ControlCnf
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
&
pars
)
;
rfc_port_fsm.c:736
rfc_process_msc()
tRFC_MCB
*
p_mcb
=
p_port
->
rfc
.
p_mcb
;
rfc_utils.c:405
rfc_port_closed()
if
(
p_port
->
rfc
.
p_mcb
->
flow
==
PORT_FC_CREDIT
)
{
rfc_utils.c:438
rfc_inc_credit()
PORT_FlowInd
(
p_port
->
rfc
.
p_mcb
,
p_port
->
dlci
,
TRUE
)
;
rfc_utils.c:444
rfc_inc_credit()
if
(
p_port
->
rfc
.
p_mcb
->
flow
==
PORT_FC_CREDIT
)
{
rfc_utils.c:462
rfc_dec_credit()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
t_rfc_port::p_mcb
is written by 6 functions and is read by 37 functions:
port_open_continue()
PORT_StartCnf()
PORT_ParNegInd()
port_rfc_closed()
port_release_port()
RFCOMM_BufDataInd()
All items filtered out
t_rfc_port::p_mcb
RFCOMM_CreateConnection()
PORT_CheckConnection()
PORT_IsOpening()
PORT_FlowControl()
PORT_FlowControl_GiveCredit()
PORT_SendError()
port_write()
PORT_Test()
port_start_control()
port_start_par_neg()
port_start_close()
PORT_StartCnf()
PORT_StartInd()
PORT_DlcEstablishCnf()
PORT_PortNegCnf()
PORT_ControlInd()
PORT_CloseInd()
Port_TimeOutCloseMux()
PORT_FlowInd()
port_rfc_send_tx_data()
port_rfc_closed()
port_release_port()
port_find_dlci_port()
port_flow_control_user()
port_flow_control_peer()
RFCOMM_BufDataInd()
rfc_port_sm_state_closed()
rfc_port_sm_sabme_wait_ua()
rfc_port_sm_term_wait_sec_check()
rfc_port_sm_orig_wait_sec_check()
rfc_port_sm_opened()
rfc_port_sm_disc_wait_ua()
rfc_port_uplink_data()
rfc_process_msc()
rfc_port_closed()
rfc_inc_credit()
rfc_dec_credit()
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