ESP-IDF
bt_mesh_hb_pub::count
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_hb_pub::count
bt_mesh_hb_pub::count field
Remaining publish count.
Syntax
Show:
Summary
Declaration
from
heartbeat.h:29
uint16_t
count
;
Examples
References
from
examples
Code
Location
Referrer
uint16_t
count
;
cfg_srv.h:43
uint16_t
count
;
heartbeat.h:29
cfg
->
hb_pub
.
count
=
0U
;
cfg_srv.c:2471
hb_pub_disable()
net_buf_simple_add_u8
(
&
msg
,
hb_pub_count_log
(
cfg
->
hb_pub
.
count
)
)
;
cfg_srv.c:3226
hb_pub_send_status()
cfg
->
hb_pub
.
count
=
hb_pwr2
(
param
->
count_log
,
1
)
;
cfg_srv.c:3302
heartbeat_pub_set()
BT_DBG
(
"hb_pub.count: %u"
,
cfg
->
hb_pub
.
count
)
;
cfg_srv.c:3532
hb_publish()
if
(
cfg
->
hb_pub
.
count
==
0U
)
{
cfg_srv.c:3542
hb_publish()
if
(
period_ms
&&
cfg
->
hb_pub
.
count
>
1
)
{
cfg_srv.c:3547
hb_publish()
if
(
cfg
->
hb_pub
.
count
!=
0xffff
)
{
cfg_srv.c:3553
hb_publish()
cfg
->
hb_pub
.
count
--
;
cfg_srv.c:3554
hb_publish()
net_buf_simple_add_u8
(
msg
,
hb_pub_count_log
(
pub
->
count
)
)
;
cfg_srv.c:2368
hb_pub_send_status()
pub
.
count
=
bt_mesh_hb_pwr2
(
param
->
count_log
)
;
cfg_srv.c:2407
heartbeat_pub_set()
if
(
pub
.
period
&&
pub
.
count
>
1
)
{
heartbeat.c:50
hb_publish_end_cb()
if
(
pub
.
count
!=
0xffff
)
{
heartbeat.c:54
hb_publish_end_cb()
pub
.
count
--
;
heartbeat.c:55
hb_publish_end_cb()
BT_DBG
(
"hb_pub.count: %u"
,
pub
.
count
)
;
heartbeat.c:151
hb_publish()
if
(
pub
.
period
==
0U
||
pub
.
count
==
0U
)
{
heartbeat.c:154
hb_publish()
pub
.
count
=
0U
;
heartbeat.c:217
pub_disable()
if
(
pub
.
count
&&
pub
.
period
)
{
heartbeat.c:355
bt_mesh_hb_start()
if
(
pub
.
period
&&
pub
.
count
)
{
heartbeat.c:368
bt_mesh_hb_resume()
hb_pub
->
count
=
0U
;
settings.c:607
hb_pub_set()
hb_pub
->
count
=
0xffff
;
settings.c:624
hb_pub_set()
hb_pub
->
count
=
0U
;
settings.c:626
hb_pub_set()
hb_pub
->
count
&&
hb_pub
->
period
)
{
settings.c:1490
settings_core_commit()
val
.
indefinite
=
(
hb_pub
->
count
=
0xffff
)
;
settings.c:1727
store_pending_hb_pub()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_hb_pub::count
is written by 7 functions and is read by 6 functions:
hb_pub_set()
store_pending_hb_pub()
hb_pub_disable()
heartbeat_pub_set()
hb_publish()
hb_publish_end_cb()
pub_disable()
All items filtered out
bt_mesh_hb_pub::count
settings_core_commit()
hb_pub_send_status()
hb_publish()
hb_publish_end_cb()
bt_mesh_hb_start()
bt_mesh_hb_resume()
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