ESP-IDF
seg_tx::seg_n
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
seg_tx::seg_n
seg_tx::seg_n field
Syntax
Show:
Summary
Declaration
from
transport.c:86
uint8_t
seg_n
:
5
;
Examples
References
from
examples
Code
Location
Referrer
uint8_t
seg_n
:
5
,
/* Last segment index */
transport.c:86
uint8_t
seg_n
;
/* Last segment index */
transport.c:103
for
(
i
=
0
;
i
<=
tx
->
seg_n
&&
tx
->
nack_count
;
i
++
)
{
transport.c:344
seg_tx_reset()
for
(
i
=
0
;
i
<=
tx
->
seg_n
;
i
++
)
{
transport.c:450
seg_tx_send_unacked()
BT_INFO
(
"Resending %u/%u, cred 0x%02x"
,
i
,
tx
->
seg_n
,
tx
->
cred
)
;
transport.c:464
seg_tx_send_unacked()
tx
->
seg_n
=
(
sdu
->
len
-
1
)
/
seg_len
(
!!
ctl_op
)
;
transport.c:528
send_seg()
tx
->
seg_n
=
0
;
transport.c:530
send_seg()
tx
->
nack_count
=
tx
->
seg_n
+
1
;
transport.c:532
send_seg()
tx
->
seg_n
+
1
)
&&
transport.c:556
send_seg()
tx
->
seg_n
+
1
)
;
transport.c:559
send_seg()
net_buf_add_u8
(
seg
,
(
(
seg_o
&
0x07
)
<
<
5
)
|
tx
->
seg_n
)
;
transport.c:581
send_seg()
if
(
seg_o
==
tx
->
seg_n
)
{
transport.c:589
send_seg()
tx
->
seg_n
+
1
,
transport.c:597
send_seg()
BT_DBG
(
"Sending %u/%u"
,
seg_o
,
tx
->
seg_n
)
;
transport.c:610
send_seg()
if
(
obo
&&
tx
->
nack_count
==
tx
->
seg_n
+
1
)
{
transport.c:898
seg_tx_lookup()
if
(
find_msb_set
(
ack
)
-
1
>
tx
->
seg_n
)
{
transport.c:955
trans_ack()
BT_INFO
(
"Seg %u/%u acked"
,
bit
-
1
,
tx
->
seg_n
)
;
transport.c:964
trans_ack()
for
(
i
=
0
;
i
<=
tx
->
seg_n
&&
tx
->
nack_count
;
i
++
)
{
transport.c:277
seg_tx_reset()
net_buf_simple_add_u8
(
buf
,
(
(
seg_o
&
0x07
)
<
<
5
)
|
tx
->
seg_n
)
;
transport.c:372
seg_tx_buf_build()
for
(
;
tx
->
seg_o
<=
tx
->
seg_n
;
tx
->
seg_o
++
)
{
transport.c:418
seg_tx_send_unacked()
BT_DBG
(
"Sending %u/%u"
,
tx
->
seg_o
,
tx
->
seg_n
)
;
transport.c:438
seg_tx_send_unacked()
tx
->
seg_n
=
(
sdu
->
om_len
-
1
)
/
seg_len
(
!!
ctl_op
)
;
transport.c:501
send_seg()
tx
->
nack_count
=
tx
->
seg_n
+
1
;
transport.c:504
send_seg()
tx
->
seg_n
+
1
)
&&
transport.c:526
send_seg()
tx
->
seg_n
+
1
)
;
transport.c:529
send_seg()
if
(
seg_o
==
tx
->
seg_n
)
{
transport.c:558
send_seg()
tx
->
seg_n
+
1
,
seg
)
&&
transport.c:566
send_seg()
if
(
obo
&&
tx
->
nack_count
==
tx
->
seg_n
+
1
)
{
transport.c:809
seg_tx_lookup()
if
(
find_msb_set
(
ack
)
-
1
>
tx
->
seg_n
)
{
transport.c:867
trans_ack()
BT_DBG
(
"seg %u/%u acked"
,
bit
-
1
,
tx
->
seg_n
)
;
transport.c:874
trans_ack()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
seg_tx::seg_n
is written by 1 function and is read by 6 functions:
send_seg()
All items filtered out
seg_tx::seg_n
seg_tx_reset()
seg_tx_send_unacked()
send_seg()
seg_tx_lookup()
trans_ack()
seg_tx_buf_build()
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