ESP-IDF
pub
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
pub
pub variable
Syntax
Show:
Summary
Declaration
from
heartbeat.c:32
static
struct
bt_mesh_hb_pub
pub
;
Examples
References
from
examples
Code
Location
Referrer
static
struct
bt_mesh_hb_pub
pub
;
heartbeat.c:32
if
(
pub
.
period
&&
pub
.
count
>
1
)
{
heartbeat.c:50
hb_publish_end_cb()
k_work_reschedule
(
&
pub_timer
,
K_SECONDS
(
pub
.
period
)
)
;
heartbeat.c:51
hb_publish_end_cb()
if
(
pub
.
count
!=
0xffff
)
{
heartbeat.c:54
hb_publish_end_cb()
pub
.
count
--
;
heartbeat.c:55
hb_publish_end_cb()
.
net_idx
=
pub
.
net_idx
,
heartbeat.c:90
heartbeat_send()
.
addr
=
pub
.
dst
,
heartbeat.c:92
heartbeat_send()
.
send_ttl
=
pub
.
ttl
,
heartbeat.c:93
heartbeat_send()
.
sub
=
bt_mesh_subnet_get
(
pub
.
net_idx
)
,
heartbeat.c:96
heartbeat_send()
if
(
!
tx
.
sub
||
pub
.
dst
==
BT_MESH_ADDR_UNASSIGNED
)
{
heartbeat.c:105
heartbeat_send()
hb
.
init_ttl
=
pub
.
ttl
;
heartbeat.c:109
heartbeat_send()
BT_DBG
(
"InitTTL %u feat 0x%04x"
,
pub
.
ttl
,
feat
)
;
heartbeat.c:129
heartbeat_send()
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()
sub
=
bt_mesh_subnet_get
(
pub
.
net_idx
)
;
heartbeat.c:158
hb_publish()
BT_ERR
(
"No matching subnet for idx 0x%02x"
,
pub
.
net_idx
)
;
heartbeat.c:160
hb_publish()
pub
.
dst
=
BT_MESH_ADDR_UNASSIGNED
;
heartbeat.c:161
hb_publish()
pub
.
dst
=
BT_MESH_ADDR_UNASSIGNED
;
heartbeat.c:216
pub_disable()
pub
.
count
=
0U
;
heartbeat.c:217
pub_disable()
pub
.
ttl
=
0U
;
heartbeat.c:218
pub_disable()
pub
.
period
=
0U
;
heartbeat.c:219
pub_disable()
pub
=
*
new_pub
;
heartbeat.c:244
bt_mesh_hb_pub_set()
*
get
=
pub
;
heartbeat.c:269
bt_mesh_hb_pub_get()
if
(
pub
.
dst
==
BT_MESH_ADDR_UNASSIGNED
)
{
heartbeat.c:335
bt_mesh_hb_feature_changed()
if
(
!
(
pub
.
feat
&
features
)
)
{
heartbeat.c:339
bt_mesh_hb_feature_changed()
pub
.
net_idx
=
BT_MESH_KEY_UNUSED
;
heartbeat.c:348
bt_mesh_hb_init()
if
(
pub
.
count
&&
pub
.
period
)
{
heartbeat.c:355
bt_mesh_hb_start()
if
(
pub
.
period
&&
pub
.
count
)
{
heartbeat.c:368
bt_mesh_hb_resume()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
pub
is written by 1 function and is read by 9 functions:
bt_mesh_hb_pub_set()
All items filtered out
pub
hb_publish_end_cb()
heartbeat_send()
hb_publish()
pub_disable()
bt_mesh_hb_pub_get()
bt_mesh_hb_feature_changed()
bt_mesh_hb_init()
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