ESP-IDF
pb_adv::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
pb_adv::tx
pb_adv::tx field
Syntax
Show:
Summary
Declaration
from
pb_adv.c:91
struct
{
int64_t
start
;
uint8_t
id
;
uint8_t
pending_ack
;
struct
os_mbuf
*
buf
[
3
]
;
prov_bearer_send_complete_t
cb
;
void
*
cb_data
;
struct
k_work_delayable
retransmit
;
}
tx
;
Examples
References
from
examples
Code
Location
Referrer
}
tx
;
pb_adv.c:110
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
link
.
tx
.
buf
)
;
i
++
)
{
pb_adv.c:169
free_segments()
struct
os_mbuf
*
buf
=
link
.
tx
.
buf
[
i
]
;
pb_adv.c:170
free_segments()
link
.
tx
.
buf
[
i
]
=
NULL
;
pb_adv.c:176
free_segments()
(
void
)
k_work_cancel_delayable
(
&
link
.
tx
.
retransmit
)
;
pb_adv.c:197
prov_clear_tx()
(
void
)
memset
(
&
link
,
0
,
offsetof
(
struct
pb_adv
,
tx
.
retransmit
)
)
;
pb_adv.c:216
reset_adv_link()
link
.
tx
.
id
=
XACT_ID_NVAL
;
pb_adv.c:223
reset_adv_link()
link
.
tx
.
pending_ack
=
XACT_ID_NVAL
;
pb_adv.c:225
reset_adv_link()
BT_DBG
(
"xact 0x%x complete"
,
(
uint8_t
)
link
.
tx
.
pending_ack
)
;
pb_adv.c:259
ack_complete()
if
(
pending
&&
link
.
tx
.
pending_ack
==
xact_id
)
{
pb_adv.c:322
gen_prov_ack_send()
link
.
tx
.
pending_ack
=
xact_id
;
pb_adv.c:336
gen_prov_ack_send()
if
(
!
link
.
tx
.
buf
[
0
]
)
{
pb_adv.c:421
gen_prov_ack()
if
(
rx
->
xact_id
==
link
.
tx
.
id
)
{
pb_adv.c:425
gen_prov_ack()
if
(
link
.
tx
.
cb
)
{
pb_adv.c:431
gen_prov_ack()
link
.
tx
.
cb
(
0
,
link
.
tx
.
cb_data
)
;
pb_adv.c:432
gen_prov_ack()
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
link
.
tx
.
buf
)
;
i
++
)
{
pb_adv.c:572
send_reliable()
struct
os_mbuf
*
buf
=
link
.
tx
.
buf
[
i
]
;
pb_adv.c:573
send_reliable()
k_work_reschedule
(
&
link
.
tx
.
retransmit
,
RETRANSMIT_TIMEOUT
)
;
pb_adv.c:588
send_reliable()
if
(
k_uptime_get
(
)
-
link
.
tx
.
start
>
TRANSACTION_TIMEOUT
)
{
pb_adv.c:600
prov_retransmit()
link
.
tx
.
start
=
k_uptime_get
(
)
;
pb_adv.c:637
bearer_ctl_send()
link
.
tx
.
buf
[
0
]
=
buf
;
pb_adv.c:638
bearer_ctl_send()
link
.
tx
.
id
=
next_transaction_id
(
link
.
tx
.
id
)
;
pb_adv.c:672
prov_send_adv()
net_buf_add_u8
(
start
,
link
.
tx
.
id
)
;
pb_adv.c:674
prov_send_adv()
link
.
tx
.
buf
[
0
]
=
start
;
pb_adv.c:680
prov_send_adv()
link
.
tx
.
cb
=
cb
;
pb_adv.c:681
prov_send_adv()
link
.
tx
.
cb_data
=
cb_data
;
pb_adv.c:682
prov_send_adv()
link
.
tx
.
start
=
k_uptime_get
(
)
;
pb_adv.c:683
prov_send_adv()
BT_DBG
(
"xact_id: 0x%x len: %u"
,
link
.
tx
.
id
,
msg
->
om_len
)
;
pb_adv.c:685
prov_send_adv()
if
(
seg_id
>=
ARRAY_SIZE
(
link
.
tx
.
buf
)
)
{
pb_adv.c:694
prov_send_adv()
link
.
tx
.
buf
[
seg_id
]
=
buf
;
pb_adv.c:706
prov_send_adv()
net_buf_add_u8
(
buf
,
link
.
tx
.
id
)
;
pb_adv.c:714
prov_send_adv()
link
.
tx
.
id
=
XACT_ID_MAX
;
pb_adv.c:847
prov_link_open()
link
.
tx
.
id
=
XACT_ID_NVAL
;
pb_adv.c:872
prov_link_accept()
k_work_init_delayable
(
&
link
.
tx
.
retransmit
,
prov_retransmit
)
;
pb_adv.c:897
pb_adv_init()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
pb_adv::tx
is read by 13 functions:
All items filtered out
pb_adv::tx
free_segments()
prov_clear_tx()
reset_adv_link()
ack_complete()
gen_prov_ack_send()
gen_prov_ack()
send_reliable()
prov_retransmit()
bearer_ctl_send()
prov_send_adv()
prov_link_open()
prov_link_accept()
pb_adv_init()
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