ESP-IDF
sub
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
sub
sub variable
Syntax
Show:
Summary
Declaration
from
heartbeat.c:33
static
struct
bt_mesh_hb_sub
sub
;
Examples
References
from
examples
Code
Location
Referrer
static
struct
bt_mesh_hb_sub
sub
;
heartbeat.c:33
if
(
sub
.
dst
==
BT_MESH_ADDR_UNASSIGNED
)
{
heartbeat.c:39
sub_remaining()
sub
.
remaining
=
sub_remaining
(
)
;
heartbeat.c:61
notify_recv()
hb_cb
.
recv
(
&
sub
,
hops
,
feat
)
;
heartbeat.c:64
notify_recv()
sub
.
remaining
=
0
;
heartbeat.c:70
notify_sub_end()
hb_cb
.
sub_end
(
&
sub
)
;
heartbeat.c:73
notify_sub_end()
if
(
rx
->
ctx
.
addr
!=
sub
.
src
||
rx
->
ctx
.
recv_dst
!=
sub
.
dst
)
{
heartbeat.c:186
bt_mesh_hb_recv()
sub
.
min_hops
=
MIN
(
sub
.
min_hops
,
hops
)
;
heartbeat.c:196
bt_mesh_hb_recv()
sub
.
max_hops
=
MAX
(
sub
.
max_hops
,
hops
)
;
heartbeat.c:197
bt_mesh_hb_recv()
if
(
sub
.
count
<
0xffff
)
{
heartbeat.c:199
bt_mesh_hb_recv()
sub
.
count
++
;
heartbeat.c:200
bt_mesh_hb_recv()
sub
.
src
=
BT_MESH_ADDR_UNASSIGNED
;
heartbeat.c:294
bt_mesh_hb_sub_set()
sub
.
dst
=
BT_MESH_ADDR_UNASSIGNED
;
heartbeat.c:295
bt_mesh_hb_sub_set()
sub
.
min_hops
=
0U
;
heartbeat.c:296
bt_mesh_hb_sub_set()
sub
.
max_hops
=
0U
;
heartbeat.c:297
bt_mesh_hb_sub_set()
sub
.
count
=
0U
;
heartbeat.c:298
bt_mesh_hb_sub_set()
sub
.
period
=
0U
;
heartbeat.c:299
bt_mesh_hb_sub_set()
sub
.
src
=
src
;
heartbeat.c:301
bt_mesh_hb_sub_set()
sub
.
dst
=
dst
;
heartbeat.c:302
bt_mesh_hb_sub_set()
sub
.
min_hops
=
BT_MESH_TTL_MAX
;
heartbeat.c:303
bt_mesh_hb_sub_set()
sub
.
max_hops
=
0U
;
heartbeat.c:304
bt_mesh_hb_sub_set()
sub
.
count
=
0U
;
heartbeat.c:305
bt_mesh_hb_sub_set()
sub
.
period
=
period
;
heartbeat.c:306
bt_mesh_hb_sub_set()
sub
.
period
=
0U
;
heartbeat.c:311
bt_mesh_hb_sub_set()
k_work_reschedule
(
&
sub_timer
,
K_SECONDS
(
sub
.
period
)
)
;
heartbeat.c:317
bt_mesh_hb_sub_set()
sub
.
count
=
0
;
heartbeat.c:324
bt_mesh_hb_sub_reset_count()
*
get
=
sub
;
heartbeat.c:329
bt_mesh_hb_sub_get()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
sub
is read by 7 functions:
All items filtered out
sub
sub_remaining()
notify_recv()
notify_sub_end()
bt_mesh_hb_recv()
bt_mesh_hb_sub_set()
bt_mesh_hb_sub_reset_count()
bt_mesh_hb_sub_get()
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