ESP-IDF
t_port_info::state
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
t_port_info::state
t_port_info::state field
Syntax
Show:
Summary
Declaration
from
port_int.h:151
UINT8
state
;
Examples
References
from
examples
Code
Location
Referrer
UINT8
state
;
/* State of the application */
port_int.h:151
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()
p_port
->
state
=
PORT_STATE_OPENING
;
port_api.c:175
RFCOMM_CreateConnection()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:244
RFCOMM_RemoveConnection()
p_port
->
state
=
PORT_STATE_CLOSING
;
port_api.c:249
RFCOMM_RemoveConnection()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:281
RFCOMM_RemoveServer()
p_port
->
state
=
PORT_STATE_CLOSING
;
port_api.c:288
RFCOMM_RemoveServer()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:321
PORT_SetEventCallback()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:381
PORT_SetDataCallback()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:415
PORT_SetDataCOCallback()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:449
PORT_SetEventMask()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:485
PORT_CheckConnection()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:579
PORT_SetState()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:623
PORT_GetRxQueueCnt()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:664
PORT_GetState()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:702
PORT_Control()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:788
PORT_FlowControl()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:928
PORT_FlowControl_GiveCredit()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:996
PORT_GetModemStatus()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:1036
PORT_ClearError()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:1073
PORT_SendError()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:1109
PORT_GetQueueStatus()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:1163
PORT_Purge()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:1243
PORT_ReadData()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:1338
PORT_Read()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:1453
PORT_Write()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:1517
PORT_WriteDataCO()
RFCOMM_TRACE_WARNING
(
"PORT_WriteDataByFd() no port state:%d"
,
p_port
->
state
)
;
port_api.c:1518
PORT_WriteDataCO()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:1638
PORT_WriteData()
RFCOMM_TRACE_WARNING
(
"PORT_WriteData() no port state:%d"
,
p_port
->
state
)
;
port_api.c:1639
PORT_WriteData()
if
(
!
p_port
->
in_use
||
(
p_port
->
state
==
PORT_STATE_CLOSED
)
)
{
port_api.c:1758
PORT_Test()
if
(
p_port
->
state
==
PORT_STATE_OPENING
)
{
port_rfc.c:408
PORT_ParNegCnf()
p_port
->
state
=
PORT_STATE_OPENED
;
port_rfc.c:491
PORT_DlcEstablishInd()
p_port
->
state
=
PORT_STATE_OPENED
;
port_rfc.c:545
PORT_DlcEstablishCnf()
if
(
(
p_port
->
state
==
PORT_STATE_OPENING
)
&&
(
p_port
->
is_server
)
)
{
port_rfc.c:1057
port_rfc_closed()
if
(
(
p_port
->
state
!=
PORT_STATE_CLOSING
)
&&
(
p_port
->
state
!=
PORT_STATE_CLOSED
)
)
{
port_rfc.c:1080
port_rfc_closed()
RFCOMM_TRACE_EVENT
(
"port_rfc_closed state:%d sending events:%x"
,
p_port
->
state
,
events
)
;
port_rfc.c:1093
port_rfc_closed()
if
(
p_port
->
p_mgmt_callback
&&
!
(
p_port
->
state
==
PORT_STATE_CLOSED
&&
p_port
->
is_server
)
)
{
port_rfc.c:1099
port_rfc_closed()
__func__
,
p_port
->
is_server
,
p_port
->
state
,
PORT_GetResultString
(
res
)
,
port_rfc.c:1106
port_rfc_closed()
p_port
->
state
=
PORT_STATE_CLOSED
;
port_utils.c:229
port_release_port()
p_port
->
state
=
PORT_STATE_OPENING
;
port_utils.c:260
port_release_port()
if
(
(
p_port
->
state
!=
PORT_STATE_OPENED
)
rfc_port_if.c:276
RFCOMM_ControlReq()
if
(
(
p_port
->
state
!=
PORT_STATE_OPENED
)
rfc_port_if.c:309
RFCOMM_FlowReq()
if
(
(
p_port
->
state
!=
PORT_STATE_OPENED
)
rfc_port_if.c:341
RFCOMM_LineStatusReq()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
t_port_info::state
is written by 6 functions and is read by 30 functions:
RFCOMM_CreateConnection()
RFCOMM_RemoveConnection()
RFCOMM_RemoveServer()
PORT_DlcEstablishInd()
PORT_DlcEstablishCnf()
port_release_port()
All items filtered out
t_port_info::state
RFCOMM_CreateConnection()
RFCOMM_RemoveConnection()
RFCOMM_RemoveServer()
PORT_SetEventCallback()
PORT_SetDataCallback()
PORT_SetDataCOCallback()
PORT_SetEventMask()
PORT_CheckConnection()
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_ParNegCnf()
port_rfc_closed()
RFCOMM_ControlReq()
RFCOMM_FlowReq()
RFCOMM_LineStatusReq()
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