ESP-IDF
tRFC_CB::port
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
tRFC_CB::port
tRFC_CB::port field
Syntax
Show:
Summary
Declaration
from
rfc_int.h:222
tPORT_CB
port
;
Examples
References
from
examples
Code
Location
Referrer
tPORT_CB
port
;
rfc_int.h:222
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:242
RFCOMM_RemoveConnection()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:276
RFCOMM_RemoveServer()
p_port
=
&
rfc_cb
.
port
.
port
[
port_handle
-
1
]
;
port_api.c:319
PORT_SetEventCallback()
p_port
=
&
rfc_cb
.
port
.
port
[
port_handle
-
1
]
;
port_api.c:350
PORT_ClearKeepHandleFlag()
p_port
=
&
rfc_cb
.
port
.
port
[
port_handle
-
1
]
;
port_api.c:379
PORT_SetDataCallback()
p_port
=
&
rfc_cb
.
port
.
port
[
port_handle
-
1
]
;
port_api.c:413
PORT_SetDataCOCallback()
p_port
=
&
rfc_cb
.
port
.
port
[
port_handle
-
1
]
;
port_api.c:447
PORT_SetEventMask()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:483
PORT_CheckConnection()
if
(
(
rfc_cb
.
port
.
rfc_mcb
[
xx
]
.
state
>
RFC_MX_STATE_IDLE
)
&&
port_api.c:522
PORT_IsOpening()
(
rfc_cb
.
port
.
rfc_mcb
[
xx
]
.
state
<
RFC_MX_STATE_CONNECTED
)
)
{
port_api.c:523
PORT_IsOpening()
memcpy
(
bd_addr
,
rfc_cb
.
port
.
rfc_mcb
[
xx
]
.
bd_addr
,
BD_ADDR_LEN
)
;
port_api.c:524
PORT_IsOpening()
if
(
rfc_cb
.
port
.
rfc_mcb
[
xx
]
.
state
==
RFC_MX_STATE_CONNECTED
)
{
port_api.c:528
PORT_IsOpening()
p_mcb
=
&
rfc_cb
.
port
.
rfc_mcb
[
xx
]
;
port_api.c:530
PORT_IsOpening()
p_port
=
&
rfc_cb
.
port
.
port
[
0
]
;
port_api.c:531
PORT_IsOpening()
memcpy
(
bd_addr
,
rfc_cb
.
port
.
rfc_mcb
[
xx
]
.
bd_addr
,
BD_ADDR_LEN
)
;
port_api.c:543
PORT_IsOpening()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:577
PORT_SetState()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:621
PORT_GetRxQueueCnt()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:662
PORT_GetState()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:700
PORT_Control()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:786
PORT_FlowControl()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:926
PORT_FlowControl_GiveCredit()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:994
PORT_GetModemStatus()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:1034
PORT_ClearError()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:1071
PORT_SendError()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:1107
PORT_GetQueueStatus()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:1161
PORT_Purge()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:1241
PORT_ReadData()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:1336
PORT_Read()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:1451
PORT_Write()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:1515
PORT_WriteDataCO()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:1636
PORT_WriteData()
p_port
=
&
rfc_cb
.
port
.
port
[
handle
-
1
]
;
port_api.c:1756
PORT_Test()
rfc_cb
.
port
.
enable_l2cap_ertm
=
enable_l2cap_ertm
;
port_api.c:1880
PORT_SetL2capErtm()
p_port
=
&
rfc_cb
.
port
.
port
[
0
]
;
port_rfc.c:206
PORT_StartCnf()
p_port
=
&
rfc_cb
.
port
.
port
[
0
]
;
port_rfc.c:266
PORT_StartInd()
p_port
=
&
rfc_cb
.
port
.
port
[
0
]
;
port_rfc.c:802
PORT_CloseInd()
p_port
=
&
rfc_cb
.
port
.
port
[
0
]
;
port_rfc.c:826
Port_TimeOutCloseMux()
p_port
=
&
rfc_cb
.
port
.
port
[
i
]
;
port_rfc.c:963
PORT_FlowInd()
tPORT
*
p_port
=
&
rfc_cb
.
port
.
port
[
0
]
;
port_utils.c:66
port_allocate_port()
p_port
=
&
rfc_cb
.
port
.
port
[
yy
]
;
port_utils.c:74
port_allocate_port()
if
(
(
rfc_cb
.
port
.
rfc_mcb
[
i
]
.
state
!=
RFC_MX_STATE_IDLE
)
port_utils.c:290
port_find_mcb()
&&
!
memcmp
(
rfc_cb
.
port
.
rfc_mcb
[
i
]
.
bd_addr
,
bd_addr
,
BD_ADDR_LEN
)
)
{
port_utils.c:291
port_find_mcb()
i
,
&
rfc_cb
.
port
.
rfc_mcb
[
i
]
,
rfc_cb
.
port
.
rfc_mcb
[
i
]
.
lcid
)
;
port_utils.c:296
port_find_mcb()
return
(
&
rfc_cb
.
port
.
rfc_mcb
[
i
]
)
;
port_utils.c:297
port_find_mcb()
return
(
&
rfc_cb
.
port
.
port
[
inx
-
1
]
)
;
port_utils.c:335
port_find_mcb_dlci_port()
p_port
=
&
rfc_cb
.
port
.
port
[
i
]
;
port_utils.c:355
port_find_dlci_port()
p_port
=
&
rfc_cb
.
port
.
port
[
i
]
;
port_utils.c:385
port_find_port()
tL2CAP_ERTM_INFO
*
ertm_opt
=
rfc_cb
.
port
.
enable_l2cap_ertm
?
&
rfc_l2c_etm_opt
:
NULL
;
rfc_l2cap_if.c:131
RFCOMM_ConnectInd()
rfc_cb
.
port
.
port
[
idx
-
1
]
.
dlci
+=
1
;
rfc_l2cap_if.c:182
RFCOMM_ConnectCnf()
RFCOMM_TRACE_DEBUG
(
"RFCOMM MX - DLCI:%d -> %d"
,
i
,
rfc_cb
.
port
.
port
[
idx
-
1
]
.
dlci
)
;
rfc_l2cap_if.c:183
RFCOMM_ConnectCnf()
tL2CAP_ERTM_INFO
*
ertm_opt
=
rfc_cb
.
port
.
enable_l2cap_ertm
?
&
rfc_l2c_etm_opt
:
NULL
;
rfc_l2cap_if.c:192
RFCOMM_ConnectCnf()
ertm_opt
=
rfc_cb
.
port
.
enable_l2cap_ertm
?
&
rfc_l2c_etm_opt
:
NULL
;
rfc_mx_fsm.c:149
rfc_mx_sm_state_idle()
ertm_opt
=
rfc_cb
.
port
.
enable_l2cap_ertm
?
&
rfc_l2c_etm_opt
:
NULL
;
rfc_mx_fsm.c:172
rfc_mx_sm_state_idle()
rfc_cb
.
port
.
port
[
idx
-
1
]
.
dlci
+=
1
;
rfc_mx_fsm.c:261
rfc_mx_sm_state_wait_conn_cnf()
RFCOMM_TRACE_DEBUG
(
"RFCOMM MX - DLCI:%d -> %d"
,
i
,
rfc_cb
.
port
.
port
[
idx
-
1
]
.
dlci
)
;
rfc_mx_fsm.c:262
rfc_mx_sm_state_wait_conn_cnf()
tL2CAP_ERTM_INFO
*
ertm_opt
=
rfc_cb
.
port
.
enable_l2cap_ertm
?
&
rfc_l2c_etm_opt
:
NULL
;
rfc_mx_fsm.c:510
rfc_mx_sm_state_disc_wait_ua()
if
(
rfc_cb
.
port
.
enable_l2cap_ertm
)
{
rfc_mx_fsm.c:586
rfc_mx_send_config_req()
i
,
rfc_cb
.
port
.
rfc_mcb
[
i
]
.
state
)
;
rfc_utils.c:143
rfc_alloc_multiplexer_channel()
rfc_cb
.
port
.
rfc_mcb
[
i
]
.
bd_addr
[
0
]
,
rfc_cb
.
port
.
rfc_mcb
[
i
]
.
bd_addr
[
1
]
,
rfc_utils.c:145
rfc_alloc_multiplexer_channel()
rfc_cb
.
port
.
rfc_mcb
[
i
]
.
bd_addr
[
2
]
,
rfc_cb
.
port
.
rfc_mcb
[
i
]
.
bd_addr
[
3
]
,
rfc_utils.c:146
rfc_alloc_multiplexer_channel()
rfc_cb
.
port
.
rfc_mcb
[
i
]
.
bd_addr
[
4
]
,
rfc_cb
.
port
.
rfc_mcb
[
i
]
.
bd_addr
[
5
]
)
;
rfc_utils.c:147
rfc_alloc_multiplexer_channel()
if
(
(
rfc_cb
.
port
.
rfc_mcb
[
i
]
.
state
!=
RFC_MX_STATE_IDLE
)
rfc_utils.c:149
rfc_alloc_multiplexer_channel()
&&
(
!
memcmp
(
rfc_cb
.
port
.
rfc_mcb
[
i
]
.
bd_addr
,
bd_addr
,
BD_ADDR_LEN
)
)
)
{
rfc_utils.c:150
rfc_alloc_multiplexer_channel()
if
(
rfc_cb
.
port
.
rfc_mcb
[
i
]
.
state
==
RFC_MX_STATE_CONNECTED
)
{
rfc_utils.c:153
rfc_alloc_multiplexer_channel()
rfc_timer_stop
(
&
rfc_cb
.
port
.
rfc_mcb
[
i
]
)
;
rfc_utils.c:154
rfc_alloc_multiplexer_channel()
is_initiator
,
rfc_cb
.
port
.
rfc_mcb
[
i
]
.
state
,
&
rfc_cb
.
port
.
rfc_mcb
[
i
]
)
;
rfc_utils.c:157
rfc_alloc_multiplexer_channel()
return
(
&
rfc_cb
.
port
.
rfc_mcb
[
i
]
)
;
rfc_utils.c:158
rfc_alloc_multiplexer_channel()
p_mcb
=
&
rfc_cb
.
port
.
rfc_mcb
[
j
]
;
rfc_utils.c:168
rfc_alloc_multiplexer_channel()
if
(
rfc_cb
.
port
.
rfc_mcb
[
j
]
.
state
==
RFC_MX_STATE_IDLE
)
{
rfc_utils.c:169
rfc_alloc_multiplexer_channel()
is_initiator
,
&
rfc_cb
.
port
.
rfc_mcb
[
j
]
,
j
)
;
rfc_utils.c:176
rfc_alloc_multiplexer_channel()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
tRFC_CB::port
is read by 44 functions:
All items filtered out
tRFC_CB::port
RFCOMM_RemoveConnection()
RFCOMM_RemoveServer()
PORT_SetEventCallback()
PORT_ClearKeepHandleFlag()
PORT_SetDataCallback()
PORT_SetDataCOCallback()
PORT_SetEventMask()
PORT_CheckConnection()
PORT_IsOpening()
PORT_SetState()
PORT_GetRxQueueCnt()
PORT_GetState()
PORT_Control()
PORT_FlowControl()
PORT_FlowControl_GiveCredit()
PORT_GetModemStatus()
PORT_ClearError()
PORT_SendError()
PORT_GetQueueStatus()
PORT_Purge()
PORT_ReadData()
PORT_Read()
PORT_Write()
PORT_WriteDataCO()
PORT_WriteData()
PORT_Test()
PORT_SetL2capErtm()
PORT_StartCnf()
PORT_StartInd()
PORT_CloseInd()
Port_TimeOutCloseMux()
PORT_FlowInd()
port_allocate_port()
port_find_mcb()
port_find_mcb_dlci_port()
port_find_dlci_port()
port_find_port()
RFCOMM_ConnectInd()
RFCOMM_ConnectCnf()
rfc_mx_sm_state_idle()
rfc_mx_sm_state_wait_conn_cnf()
rfc_mx_sm_state_disc_wait_ua()
rfc_mx_send_config_req()
rfc_alloc_multiplexer_channel()
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