ESP-IDF
bt_mesh_prov_link::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
bt_mesh_prov_link::tx
bt_mesh_prov_link::tx field
Syntax
Show:
Summary
Declaration
from
prov_common.h:272
struct
{
int64_t
start
;
uint8_t
id
;
struct
net_buf
*
buf
[
3
]
;
struct
k_delayed_work
retransmit
;
}
tx
;
Examples
References
from
examples
Code
Location
Referrer
}
tx
;
prov_common.h:277
if
(
link
->
tx
.
id
!=
0
&&
link
->
tx
.
id
!=
0xFF
)
{
prov_common.c:151
node_next_xact_id()
return
++
link
->
tx
.
id
;
prov_common.c:152
node_next_xact_id()
link
->
tx
.
id
=
0x80
;
prov_common.c:155
node_next_xact_id()
return
link
->
tx
.
id
;
prov_common.c:156
node_next_xact_id()
if
(
link
->
tx
.
id
>
0x7F
)
{
prov_common.c:161
pvnr_next_xact_id()
link
->
tx
.
id
=
0
;
prov_common.c:162
pvnr_next_xact_id()
return
link
->
tx
.
id
++
;
prov_common.c:164
pvnr_next_xact_id()
for
(
size_t
i
=
0
;
i
<
ARRAY_SIZE
(
link
->
tx
.
buf
)
;
i
++
)
{
prov_common.c:352
free_segments()
struct
net_buf
*
buf
=
link
->
tx
.
buf
[
i
]
;
prov_common.c:353
free_segments()
link
->
tx
.
buf
[
i
]
=
NULL
;
prov_common.c:359
free_segments()
k_delayed_work_cancel
(
&
link
->
tx
.
retransmit
)
;
prov_common.c:372
bt_mesh_prov_clear_tx()
if
(
!
link
->
tx
.
buf
[
0
]
)
{
prov_common.c:385
buf_sent()
k_delayed_work_submit
(
&
link
->
tx
.
retransmit
,
timeout
)
;
prov_common.c:400
buf_sent()
if
(
k_uptime_get
(
)
-
link
->
tx
.
start
>
timeout
)
{
prov_common.c:430
prov_retransmit()
for
(
size_t
i
=
0
;
i
<
ARRAY_SIZE
(
link
->
tx
.
buf
)
;
i
++
)
{
prov_common.c:470
prov_retransmit()
struct
net_buf
*
buf
=
link
->
tx
.
buf
[
i
]
;
prov_common.c:471
prov_retransmit()
if
(
i
+
1
<
ARRAY_SIZE
(
link
->
tx
.
buf
)
&&
link
->
tx
.
buf
[
i
+
1
]
)
{
prov_common.c:483
prov_retransmit()
link
->
tx
.
retransmit
.
work
.
user_data
=
link
;
prov_common.c:495
bt_mesh_prov_retransmit_init()
return
k_delayed_work_init
(
&
link
->
tx
.
retransmit
,
prov_retransmit
)
;
prov_common.c:497
bt_mesh_prov_retransmit_init()
link
->
tx
.
start
=
k_uptime_get
(
)
;
prov_common.c:502
send_reliable()
for
(
size_t
i
=
0
;
i
<
ARRAY_SIZE
(
link
->
tx
.
buf
)
;
i
++
)
{
prov_common.c:504
send_reliable()
struct
net_buf
*
buf
=
link
->
tx
.
buf
[
i
]
;
prov_common.c:505
send_reliable()
if
(
i
+
1
<
ARRAY_SIZE
(
link
->
tx
.
buf
)
&&
link
->
tx
.
buf
[
i
+
1
]
)
{
prov_common.c:511
send_reliable()
link
->
tx
.
buf
[
0
]
=
buf
;
prov_common.c:540
bt_mesh_prov_bearer_ctl_send()
link
->
tx
.
id
=
0
;
/* Set Transaction ID to 0 */
prov_common.c:541
bt_mesh_prov_bearer_ctl_send()
link
->
tx
.
buf
[
0
]
=
start
;
prov_common.c:596
bt_mesh_prov_send_adv()
if
(
seg_id
>=
ARRAY_SIZE
(
link
->
tx
.
buf
)
)
{
prov_common.c:608
bt_mesh_prov_send_adv()
link
->
tx
.
buf
[
seg_id
]
=
buf
;
prov_common.c:620
bt_mesh_prov_send_adv()
(
void
)
memset
(
&
prov_link
,
0
,
offsetof
(
struct
bt_mesh_prov_link
,
tx
.
retransmit
)
)
;
prov_node.c:89
reset_state()
if
(
!
prov_link
.
tx
.
buf
[
0
]
)
{
prov_node.c:1251
gen_prov_ack()
if
(
prov_link
.
tx
.
id
==
0
)
{
prov_node.c:1257
gen_prov_ack()
if
(
rx
->
xact_id
==
prov_link
.
tx
.
id
-
1
)
{
prov_node.c:1261
gen_prov_ack()
if
(
rx
->
xact_id
==
prov_link
.
tx
.
id
)
{
prov_node.c:1271
gen_prov_ack()
k_delayed_work_free
(
&
prov_link
.
tx
.
retransmit
)
;
prov_node.c:1579
bt_mesh_prov_deinit()
memset
(
link
,
0
,
offsetof
(
struct
bt_mesh_prov_link
,
tx
.
retransmit
)
)
;
prov_pvnr.c:1052
reset_adv_link()
if
(
!
link
->
tx
.
buf
[
0
]
)
{
prov_pvnr.c:2488
gen_prov_ack()
if
(
!
link
->
tx
.
id
)
{
prov_pvnr.c:2492
gen_prov_ack()
if
(
rx
->
xact_id
==
(
link
->
tx
.
id
-
1
)
)
{
prov_pvnr.c:2496
gen_prov_ack()
memset
(
&
prov_links
[
i
]
,
0
,
offsetof
(
struct
bt_mesh_prov_link
,
tx
.
retransmit
)
)
;
prov_pvnr.c:2859
bt_mesh_provisioner_prov_reset()
k_delayed_work_free
(
&
prov_links
[
i
]
.
tx
.
retransmit
)
;
prov_pvnr.c:2914
bt_mesh_provisioner_prov_deinit()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_prov_link::tx
is read by 13 functions:
All items filtered out
bt_mesh_prov_link::tx
node_next_xact_id()
pvnr_next_xact_id()
free_segments()
bt_mesh_prov_clear_tx()
buf_sent()
prov_retransmit()
bt_mesh_prov_retransmit_init()
send_reliable()
bt_mesh_prov_bearer_ctl_send()
bt_mesh_prov_send_adv()
gen_prov_ack()
bt_mesh_prov_deinit()
bt_mesh_provisioner_prov_deinit()
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