ESP-IDF
t_port_info::tx
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::tx
t_port_info::tx field
Syntax
Show:
Summary
Declaration
from
port_int.h:169
tPORT_DATA
tx
;
Examples
References
from
examples
Code
Location
Referrer
tPORT_DATA
tx
;
/* Control block for data from app to peer */
port_int.h:169
p_status
->
out_queue_size
=
(
UINT16
)
p_port
->
tx
.
queue_size
;
port_api.c:1114
PORT_GetQueueStatus()
while
(
(
p_buf
=
(
BT_HDR
*
)
fixed_queue_dequeue
(
p_port
->
tx
.
queue
,
0
)
)
!=
NULL
)
{
port_api.c:1189
PORT_Purge()
p_port
->
tx
.
queue_size
=
0
;
port_api.c:1193
PORT_Purge()
if
(
p_port
->
tx
.
peer_fc
port_api.c:1388
port_write()
if
(
(
p_port
->
tx
.
queue_size
>
PORT_TX_CRITICAL_WM
)
port_api.c:1394
port_write()
||
(
fixed_queue_length
(
p_port
->
tx
.
queue
)
>
PORT_TX_BUF_CRITICAL_WM
)
)
{
port_api.c:1395
port_write()
p_port
->
tx
.
queue_size
)
;
port_api.c:1397
port_write()
p_port
->
tx
.
peer_fc
,
port_api.c:1409
port_write()
fixed_queue_enqueue
(
p_port
->
tx
.
queue
,
p_buf
,
FIXED_QUEUE_MAX_TIMEOUT
)
;
port_api.c:1414
port_write()
p_port
->
tx
.
queue_size
+=
p_buf
->
len
;
port_api.c:1415
port_write()
if
(
(
p_port
->
tx
.
queue_size
>
PORT_TX_HIGH_WM
)
port_api.c:1537
PORT_WriteDataCO()
||
(
fixed_queue_length
(
p_port
->
tx
.
queue
)
>
PORT_TX_BUF_HIGH_WM
)
)
{
port_api.c:1538
PORT_WriteDataCO()
p_port
->
tx
.
queue_size
,
fixed_queue_length
(
p_port
->
tx
.
queue
)
,
available
)
;
port_api.c:1542
PORT_WriteDataCO()
if
(
(
(
p_buf
=
(
BT_HDR
*
)
fixed_queue_try_peek_last
(
p_port
->
tx
.
queue
)
)
!=
NULL
)
port_api.c:1656
PORT_WriteData()
p_port
->
tx
.
queue_size
+=
max_len
;
port_api.c:1660
PORT_WriteData()
if
(
(
p_port
->
tx
.
queue_size
>
PORT_TX_HIGH_WM
)
port_api.c:1674
PORT_WriteData()
||
(
fixed_queue_length
(
p_port
->
tx
.
queue
)
>
PORT_TX_BUF_HIGH_WM
)
)
{
port_api.c:1675
PORT_WriteData()
p_port
->
tx
.
peer_fc
=
!
enable_data
;
port_rfc.c:957
PORT_FlowInd()
if
(
p_port
->
tx
.
queue_size
>
0
)
{
port_rfc.c:1007
port_rfc_send_tx_data()
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()
if
(
(
p_buf
=
(
BT_HDR
*
)
fixed_queue_dequeue
(
p_port
->
tx
.
queue
,
0
)
)
!=
NULL
)
{
port_rfc.c:1013
port_rfc_send_tx_data()
p_port
->
tx
.
queue_size
-=
p_buf
->
len
;
port_rfc.c:1014
port_rfc_send_tx_data()
RFCOMM_TRACE_DEBUG
(
"Sending RFCOMM_DataReq tx.queue_size=%d"
,
p_port
->
tx
.
queue_size
)
;
port_rfc.c:1018
port_rfc_send_tx_data()
if
(
p_port
->
tx
.
queue_size
==
0
)
{
port_rfc.c:1024
port_rfc_send_tx_data()
p_port
->
tx
.
peer_fc
=
TRUE
;
port_rfc.c:1127
port_get_credits()
memset
(
&
p_port
->
tx
,
0
,
sizeof
(
p_port
->
tx
)
)
;
port_utils.c:129
port_set_defaults()
p_port
->
tx
.
queue
=
fixed_queue_new
(
QUEUE_SIZE_MAX
)
;
port_utils.c:131
port_set_defaults()
if
(
p_port
->
tx
.
queue
!=
NULL
)
{
port_utils.c:220
port_release_port()
while
(
(
p_buf
=
(
BT_HDR
*
)
fixed_queue_dequeue
(
p_port
->
tx
.
queue
,
0
)
)
!=
NULL
)
{
port_utils.c:221
port_release_port()
p_port
->
tx
.
queue_size
=
0
;
port_utils.c:225
port_release_port()
fixed_queue_free
(
p_port
->
tx
.
queue
,
NULL
)
;
port_utils.c:240
port_release_port()
p_port
->
tx
.
queue
=
NULL
;
port_utils.c:241
port_release_port()
BOOLEAN
fc
=
p_port
->
tx
.
peer_fc
port_utils.c:414
port_flow_control_user()
||
(
p_port
->
tx
.
queue_size
>
PORT_TX_HIGH_WM
)
port_utils.c:417
port_flow_control_user()
||
(
fixed_queue_length
(
p_port
->
tx
.
queue
)
>
PORT_TX_BUF_HIGH_WM
)
;
port_utils.c:418
port_flow_control_user()
if
(
p_port
->
tx
.
user_fc
==
fc
)
{
port_utils.c:420
port_flow_control_user()
p_port
->
tx
.
user_fc
=
fc
;
port_utils.c:424
port_flow_control_user()
if
(
new_peer_fc
!=
p_port
->
tx
.
peer_fc
)
{
rfc_port_fsm.c:717
rfc_process_msc()
if
(
p_port
->
tx
.
peer_fc
==
TRUE
)
{
rfc_utils.c:443
rfc_inc_credit()
p_port
->
tx
.
peer_fc
=
TRUE
;
rfc_utils.c:468
rfc_dec_credit()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
t_port_info::tx
is read by 14 functions:
All items filtered out
t_port_info::tx
PORT_GetQueueStatus()
PORT_Purge()
port_write()
PORT_WriteDataCO()
PORT_WriteData()
PORT_FlowInd()
port_rfc_send_tx_data()
port_get_credits()
port_set_defaults()
port_release_port()
port_flow_control_user()
rfc_process_msc()
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