ESP-IDF
bt_mesh_hb_pub::net_idx
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
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::net_idx
bt_mesh_hb_pub::net_idx field
Network index used for publishing.
Syntax
Show:
Summary
Declaration
from
heartbeat.h:40
uint16_t
net_idx
;
Examples
References
from
examples
Code
Location
Referrer
uint16_t
net_idx
;
cfg_srv.h:47
uint16_t
net_idx
;
heartbeat.h:40
net_buf_simple_add_le16
(
&
msg
,
cfg
->
hb_pub
.
net_idx
)
;
cfg_srv.c:3230
hb_pub_send_status()
cfg
->
hb_pub
.
net_idx
=
idx
;
cfg_srv.c:3296
heartbeat_pub_set()
sub
=
bt_mesh_subnet_get
(
cfg
->
hb_pub
.
net_idx
)
;
cfg_srv.c:3534
hb_publish()
cfg
->
hb_pub
.
net_idx
)
;
cfg_srv.c:3537
hb_publish()
cfg
->
hb_pub
.
net_idx
=
BLE_MESH_KEY_UNUSED
;
cfg_srv.c:3625
cfg_srv_init()
if
(
conf
&&
conf
->
hb_pub
.
net_idx
==
sub
->
net_idx
)
{
cfg_srv.c:3847
bt_mesh_subnet_del()
net_buf_simple_add_le16
(
msg
,
pub
->
net_idx
)
;
cfg_srv.c:2372
hb_pub_send_status()
pub
.
net_idx
=
sys_le16_to_cpu
(
param
->
net_idx
)
;
cfg_srv.c:2411
heartbeat_pub_set()
if
(
pub
.
net_idx
>
0xfff
)
{
cfg_srv.c:2434
heartbeat_pub_set()
BT_ERR
(
"Invalid NetKeyIndex 0x%04x"
,
pub
.
net_idx
)
;
cfg_srv.c:2435
heartbeat_pub_set()
.
net_idx
=
cfg
->
hb_pub
.
net_idx
,
heartbeat.c:76
bt_mesh_heartbeat_send()
.
sub
=
bt_mesh_subnet_get
(
cfg
->
hb_pub
.
net_idx
)
,
heartbeat.c:83
bt_mesh_heartbeat_send()
.
net_idx
=
pub
.
net_idx
,
heartbeat.c:90
heartbeat_send()
.
sub
=
bt_mesh_subnet_get
(
pub
.
net_idx
)
,
heartbeat.c:96
heartbeat_send()
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()
if
(
!
bt_mesh_subnet_get
(
new_pub
->
net_idx
)
)
{
heartbeat.c:238
bt_mesh_hb_pub_set()
BT_ERR
(
"Unknown NetKey 0x%04x"
,
new_pub
->
net_idx
)
;
heartbeat.c:239
bt_mesh_hb_pub_set()
pub
.
net_idx
=
BT_MESH_KEY_UNUSED
;
heartbeat.c:348
bt_mesh_hb_init()
hb_pub
->
net_idx
=
hb_val
.
net_idx
;
settings.c:622
hb_pub_set()
hb_pub
->
dst
,
hb_pub
->
period
,
hb_pub
->
net_idx
)
;
settings.c:630
hb_pub_set()
val
.
net_idx
=
hb_pub
->
net_idx
;
settings.c:1732
store_pending_hb_pub()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_hb_pub::net_idx
is written by 4 functions and is read by 9 functions:
hb_pub_set()
heartbeat_pub_set()
cfg_srv_init()
bt_mesh_hb_init()
All items filtered out
bt_mesh_hb_pub::net_idx
hb_pub_set()
store_pending_hb_pub()
hb_pub_send_status()
hb_publish()
bt_mesh_subnet_del()
bt_mesh_heartbeat_send()
heartbeat_pub_set()
heartbeat_send()
bt_mesh_hb_pub_set()
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