ESP-IDF
+
0
/1 examples
SourceVu will show references to
bt_mesh_model::pub
from the following samples and libraries:
blemesh sample
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_model::pub
bt_mesh_model::pub field
Syntax
Show:
Summary
Declaration
from
access.h:529
struct
bt_mesh_model_pub
*
const
pub
;
Examples
bt_mesh_model::pub
is referenced by 1 libraries and example projects:
blemesh sample
References
from
0/1
examples
Code
Location
Referrer
struct
bt_mesh_model_pub
*
const
pub
;
access.h:529
struct
bt_mesh_model_pub
*
const
pub
;
access.h:456
if
(
!
mod
->
pub
)
{
access.c:74
bt_mesh_model_pub_period_get()
switch
(
mod
->
pub
->
period
>
>
6
)
{
access.c:79
bt_mesh_model_pub_period_get()
period
=
K_MSEC
(
(
mod
->
pub
->
period
&
BIT_MASK
(
6
)
)
*
100U
)
;
access.c:82
bt_mesh_model_pub_period_get()
period
=
K_SECONDS
(
mod
->
pub
->
period
&
BIT_MASK
(
6
)
)
;
access.c:86
bt_mesh_model_pub_period_get()
period
=
K_SECONDS
(
(
mod
->
pub
->
period
&
BIT_MASK
(
6
)
)
*
10U
)
;
access.c:90
bt_mesh_model_pub_period_get()
period
=
K_MINUTES
(
(
mod
->
pub
->
period
&
BIT_MASK
(
6
)
)
*
10U
)
;
access.c:94
bt_mesh_model_pub_period_get()
if
(
mod
->
pub
->
fast_period
)
{
access.c:101
bt_mesh_model_pub_period_get()
return
period
>
>
mod
->
pub
->
period_div
;
access.c:102
bt_mesh_model_pub_period_get()
struct
bt_mesh_model_pub
*
pub
=
mod
->
pub
;
access.c:110
next_period()
if
(
!
mod
->
pub
)
{
access.c:143
publish_sent()
if
(
mod
->
pub
->
count
)
{
access.c:148
publish_sent()
delay
=
BLE_MESH_PUB_TRANSMIT_INT
(
mod
->
pub
->
retransmit
)
;
access.c:149
publish_sent()
k_delayed_work_submit
(
&
mod
->
pub
->
timer
,
delay
)
;
access.c:156
publish_sent()
struct
bt_mesh_model_pub
*
pub
=
mod
->
pub
;
access.c:163
publish_start()
struct
bt_mesh_model_pub
*
pub
=
mod
->
pub
;
access.c:183
publish_retransmit()
if
(
mod
->
pub
)
{
access.c:354
mod_init()
mod
->
pub
->
mod
=
mod
;
access.c:355
mod_init()
k_delayed_work_init
(
&
mod
->
pub
->
timer
,
mod_publish
)
;
access.c:356
mod_init()
if
(
mod
->
pub
)
{
access.c:415
mod_deinit()
mod
->
pub
->
mod
=
NULL
;
access.c:416
mod_deinit()
k_delayed_work_free
(
&
mod
->
pub
->
timer
)
;
access.c:417
mod_deinit()
struct
bt_mesh_model_pub
*
pub
=
model
->
pub
;
access.c:1050
bt_mesh_model_publish()
if
(
!
mod
->
pub
)
{
access.c:82
bt_mesh_model_pub_period_get()
switch
(
mod
->
pub
->
period
>
>
6
)
{
access.c:86
bt_mesh_model_pub_period_get()
period
=
K_MSEC
(
(
mod
->
pub
->
period
&
BIT_MASK
(
6
)
)
*
100
)
;
access.c:89
bt_mesh_model_pub_period_get()
period
=
K_SECONDS
(
mod
->
pub
->
period
&
BIT_MASK
(
6
)
)
;
access.c:93
bt_mesh_model_pub_period_get()
period
=
K_SECONDS
(
(
mod
->
pub
->
period
&
BIT_MASK
(
6
)
)
*
10
)
;
access.c:97
bt_mesh_model_pub_period_get()
period
=
K_MINUTES
(
(
mod
->
pub
->
period
&
BIT_MASK
(
6
)
)
*
10
)
;
access.c:101
bt_mesh_model_pub_period_get()
if
(
mod
->
pub
->
fast_period
)
{
access.c:107
bt_mesh_model_pub_period_get()
return
period
>
>
mod
->
pub
->
period_div
;
access.c:108
bt_mesh_model_pub_period_get()
struct
bt_mesh_model_pub
*
pub
=
mod
->
pub
;
access.c:116
next_period()
if
(
mod
->
pub
->
count
)
{
access.c:144
publish_sent()
delay
=
BT_MESH_PUB_TRANSMIT_INT
(
mod
->
pub
->
retransmit
)
;
access.c:145
publish_sent()
k_work_schedule
(
&
mod
->
pub
->
timer
,
delay
)
;
access.c:152
publish_sent()
struct
bt_mesh_model_pub
*
pub
=
mod
->
pub
;
access.c:159
publish_start()
struct
bt_mesh_model_pub
*
pub
=
mod
->
pub
;
access.c:181
publish_transmit()
if
(
mod
->
pub
)
{
access.c:329
mod_init()
mod
->
pub
->
mod
=
mod
;
access.c:330
mod_init()
k_work_init_delayable
(
&
mod
->
pub
->
timer
,
mod_publish
)
;
access.c:331
mod_init()
k_work_add_arg_delayable
(
&
mod
->
pub
->
timer
,
mod
->
pub
)
;
access.c:332
mod_init()
struct
bt_mesh_model_pub
*
pub
=
model
->
pub
;
access.c:740
bt_mesh_model_publish()
if
(
mod
->
pub
&&
mod
->
pub
->
update
&&
access.c:1255
commit_mod()
mod
->
pub
->
addr
!=
BT_MESH_ADDR_UNASSIGNED
)
{
access.c:1256
commit_mod()
k_work_schedule
(
&
mod
->
pub
->
timer
,
K_MSEC
(
ms
)
)
;
access.c:1261
commit_mod()
if
(
!
model
->
pub
)
{
cfg_srv.c:315
_mod_pub_set()
if
(
!
model
->
pub
->
update
&&
period
)
{
cfg_srv.c:323
_mod_pub_set()
if
(
model
->
pub
->
addr
==
BLE_MESH_ADDR_UNASSIGNED
)
{
cfg_srv.c:328
_mod_pub_set()
model
->
pub
->
addr
=
BLE_MESH_ADDR_UNASSIGNED
;
cfg_srv.c:332
_mod_pub_set()
model
->
pub
->
key
=
0U
;
cfg_srv.c:333
_mod_pub_set()
model
->
pub
->
cred
=
0U
;
cfg_srv.c:334
_mod_pub_set()
model
->
pub
->
ttl
=
0U
;
cfg_srv.c:335
_mod_pub_set()
model
->
pub
->
period
=
0U
;
cfg_srv.c:336
_mod_pub_set()
model
->
pub
->
retransmit
=
0U
;
cfg_srv.c:337
_mod_pub_set()
model
->
pub
->
count
=
0U
;
cfg_srv.c:338
_mod_pub_set()
if
(
model
->
pub
->
update
)
{
cfg_srv.c:340
_mod_pub_set()
k_delayed_work_cancel
(
&
model
->
pub
->
timer
)
;
cfg_srv.c:341
_mod_pub_set()
model
->
pub
->
addr
=
pub_addr
;
cfg_srv.c:359
_mod_pub_set()
model
->
pub
->
key
=
app_idx
;
cfg_srv.c:360
_mod_pub_set()
model
->
pub
->
cred
=
cred_flag
;
cfg_srv.c:361
_mod_pub_set()
model
->
pub
->
ttl
=
ttl
;
cfg_srv.c:362
_mod_pub_set()
model
->
pub
->
period
=
period
;
cfg_srv.c:363
_mod_pub_set()
model
->
pub
->
retransmit
=
retransmit
;
cfg_srv.c:364
_mod_pub_set()
if
(
model
->
pub
->
update
)
{
cfg_srv.c:366
_mod_pub_set()
k_delayed_work_submit
(
&
model
->
pub
->
timer
,
period_ms
)
;
cfg_srv.c:373
_mod_pub_set()
k_delayed_work_cancel
(
&
model
->
pub
->
timer
)
;
cfg_srv.c:375
_mod_pub_set()
if
(
model
->
pub
&&
model
->
pub
->
key
==
key_idx
)
{
cfg_srv.c:439
mod_unbind()
idx_cred
=
mod
->
pub
->
key
|
(
uint16_t
)
mod
->
pub
->
cred
<
<
12
;
cfg_srv.c:1104
send_mod_pub_status()
net_buf_simple_add_u8
(
&
msg
,
mod
->
pub
->
ttl
)
;
cfg_srv.c:1106
send_mod_pub_status()
net_buf_simple_add_u8
(
&
msg
,
mod
->
pub
->
period
)
;
cfg_srv.c:1107
send_mod_pub_status()
net_buf_simple_add_u8
(
&
msg
,
mod
->
pub
->
retransmit
)
;
cfg_srv.c:1108
send_mod_pub_status()
if
(
!
mod
->
pub
)
{
cfg_srv.c:1156
mod_pub_get()
pub_addr
=
mod
->
pub
->
addr
;
cfg_srv.c:1161
mod_pub_get()
if
(
status
==
STATUS_SUCCESS
&&
mod
->
pub
)
{
cfg_srv.c:1230
mod_pub_set()
change
.
cfg_mod_pub_set
.
pub_addr
=
mod
->
pub
->
addr
;
cfg_srv.c:1233
mod_pub_set()
change
.
cfg_mod_pub_set
.
app_idx
=
mod
->
pub
->
key
;
cfg_srv.c:1234
mod_pub_set()
change
.
cfg_mod_pub_set
.
cred_flag
=
mod
->
pub
->
cred
;
cfg_srv.c:1235
mod_pub_set()
change
.
cfg_mod_pub_set
.
ttl
=
mod
->
pub
->
ttl
;
cfg_srv.c:1236
mod_pub_set()
change
.
cfg_mod_pub_set
.
period
=
mod
->
pub
->
period
;
cfg_srv.c:1237
mod_pub_set()
change
.
cfg_mod_pub_set
.
transmit
=
mod
->
pub
->
retransmit
;
cfg_srv.c:1238
mod_pub_set()
if
(
!
model
->
pub
)
{
cfg_srv.c:188
_mod_pub_set()
if
(
!
model
->
pub
->
update
&&
period
)
{
cfg_srv.c:196
_mod_pub_set()
if
(
model
->
pub
->
addr
==
BT_MESH_ADDR_UNASSIGNED
)
{
cfg_srv.c:201
_mod_pub_set()
model
->
pub
->
addr
=
BT_MESH_ADDR_UNASSIGNED
;
cfg_srv.c:205
_mod_pub_set()
model
->
pub
->
key
=
0
;
cfg_srv.c:206
_mod_pub_set()
model
->
pub
->
cred
=
0
;
cfg_srv.c:207
_mod_pub_set()
model
->
pub
->
ttl
=
0
;
cfg_srv.c:208
_mod_pub_set()
model
->
pub
->
period
=
0
;
cfg_srv.c:209
_mod_pub_set()
model
->
pub
->
retransmit
=
0
;
cfg_srv.c:210
_mod_pub_set()
model
->
pub
->
count
=
0
;
cfg_srv.c:211
_mod_pub_set()
if
(
model
->
pub
->
update
)
{
cfg_srv.c:213
_mod_pub_set()
(
void
)
k_work_cancel_delayable
(
&
model
->
pub
->
timer
)
;
cfg_srv.c:217
_mod_pub_set()
if
(
BT_MESH_ADDR_IS_VIRTUAL
(
model
->
pub
->
addr
)
)
{
cfg_srv.c:232
_mod_pub_set()
uint8_t
*
uuid
=
bt_mesh_va_label_get
(
model
->
pub
->
addr
)
;
cfg_srv.c:233
_mod_pub_set()
model
->
pub
->
addr
=
pub_addr
;
cfg_srv.c:241
_mod_pub_set()
model
->
pub
->
key
=
app_idx
;
cfg_srv.c:242
_mod_pub_set()
model
->
pub
->
cred
=
cred_flag
;
cfg_srv.c:243
_mod_pub_set()
model
->
pub
->
ttl
=
ttl
;
cfg_srv.c:244
_mod_pub_set()
model
->
pub
->
period
=
period
;
cfg_srv.c:245
_mod_pub_set()
model
->
pub
->
retransmit
=
retransmit
;
cfg_srv.c:246
_mod_pub_set()
if
(
model
->
pub
->
update
)
{
cfg_srv.c:248
_mod_pub_set()
k_work_reschedule
(
&
model
->
pub
->
timer
,
period_ms
)
;
cfg_srv.c:255
_mod_pub_set()
k_work_cancel_delayable
(
&
model
->
pub
->
timer
)
;
cfg_srv.c:260
_mod_pub_set()
if
(
model
->
pub
&&
model
->
pub
->
key
==
key_idx
)
{
cfg_srv.c:324
mod_unbind()
idx_cred
=
mod
->
pub
->
key
|
(
uint16_t
)
mod
->
pub
->
cred
<
<
12
;
cfg_srv.c:755
send_mod_pub_status()
net_buf_simple_add_u8
(
msg
,
mod
->
pub
->
ttl
)
;
cfg_srv.c:757
send_mod_pub_status()
net_buf_simple_add_u8
(
msg
,
mod
->
pub
->
period
)
;
cfg_srv.c:758
send_mod_pub_status()
net_buf_simple_add_u8
(
msg
,
mod
->
pub
->
retransmit
)
;
cfg_srv.c:759
send_mod_pub_status()
if
(
!
mod
->
pub
)
{
cfg_srv.c:815
mod_pub_get()
pub_addr
=
mod
->
pub
->
addr
;
cfg_srv.c:820
mod_pub_get()
return
MODEL
(
model
)
->
pub
;
ext.c:863
bt_mesh_ext_model_get_pub()
return
MODEL
(
model
)
->
pub
->
addr
;
ext.c:868
bt_mesh_ext_model_get_pub_addr()
return
MODEL
(
model
)
->
pub
->
key
;
ext.c:873
bt_mesh_ext_model_get_pub_key()
return
MODEL
(
model
)
->
pub
->
directed_pub_policy
;
ext.c:879
bt_mesh_ext_model_get_pub_directed_pub_policy()
MODEL
(
model
)
->
pub
->
directed_pub_policy
=
directed_pub_policy
;
ext.c:889
bt_mesh_ext_model_set_pub_directed_pub_policy()
return
MODEL
(
model
)
->
pub
->
msg
;
ext.c:897
bt_mesh_ext_model_get_pub_msg()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2434
gen_onoff_srv_init()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2444
gen_level_srv_init()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2454
gen_def_trans_time_srv_init()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2464
gen_power_onoff_srv_init()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2487
gen_power_level_srv_init()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2510
gen_battery_srv_init()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2520
gen_location_srv_init()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2543
gen_user_prop_srv_init()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2553
gen_admin_prop_srv_init()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2563
gen_manu_prop_srv_init()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2573
gen_client_prop_srv_init()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2642
gen_onoff_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2652
gen_level_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2662
gen_def_trans_time_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2672
gen_power_onoff_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2687
gen_power_level_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2702
gen_battery_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2712
gen_location_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2727
gen_user_prop_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2737
gen_admin_prop_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2747
gen_manu_prop_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
generic_server.c:2757
gen_client_prop_srv_deinit()
net_buf_simple_add_u8
(
&
msg
,
model
->
pub
->
period_div
)
;
health_srv.c:275
send_health_period_status()
model
->
pub
->
period_div
=
period
;
health_srv.c:303
health_set_period()
struct
bt_mesh_model_pub
*
pub
=
model
->
pub
;
health_srv.c:357
health_pub_update()
if
(
!
model
->
pub
)
{
health_srv.c:385
bt_mesh_fault_update()
if
(
!
model
->
pub
)
{
health_srv.c:436
health_srv_init()
model
->
pub
->
update
=
health_pub_update
;
health_srv.c:441
health_srv_init()
if
(
!
model
->
pub
)
{
health_srv.c:473
health_srv_deinit()
model
->
pub
->
addr
=
BLE_MESH_ADDR_UNASSIGNED
;
health_srv.c:478
health_srv_deinit()
model
->
pub
->
update
=
NULL
;
health_srv.c:479
health_srv_deinit()
net_buf_simple_add_u8
(
msg
,
model
->
pub
->
period_div
)
;
health_srv.c:304
send_health_period_status()
model
->
pub
->
period_div
=
period
;
health_srv.c:338
health_period_set_unrel()
struct
bt_mesh_model_pub
*
pub
=
mod
->
pub
;
health_srv.c:376
health_pub_update()
if
(
!
model
->
pub
)
{
health_srv.c:431
health_srv_init()
model
->
pub
->
update
=
health_pub_update
;
health_srv.c:436
health_srv_init()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3103
light_lightness_srv_init()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3126
light_ctl_srv_init()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3158
light_ctl_temp_srv_init()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3168
light_hsl_srv_init()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3201
light_hsl_hue_srv_init()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3211
light_hsl_sat_srv_init()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3221
light_xyl_srv_init()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3245
light_lc_srv_init()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3255
light_lc_setup_srv_init()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3397
light_lightness_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3412
light_ctl_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3427
light_ctl_temp_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3437
light_hsl_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3452
light_hsl_hue_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3462
light_hsl_sat_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3472
light_xyl_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3487
light_lc_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
lighting_server.c:3497
light_lc_setup_srv_deinit()
if
(
mod
->
pub
&&
mod
->
pub
->
update
)
{
main.c:312
model_suspend()
mod
->
pub
->
count
=
0U
;
main.c:313
model_suspend()
k_delayed_work_cancel
(
&
mod
->
pub
->
timer
)
;
main.c:314
model_suspend()
if
(
mod
->
pub
&&
mod
->
pub
->
update
)
{
main.c:357
model_resume()
k_delayed_work_submit
(
&
mod
->
pub
->
timer
,
period_ms
)
;
main.c:361
model_resume()
if
(
mod
->
pub
&&
mod
->
pub
->
update
)
{
mesh.c:222
model_suspend()
mod
->
pub
->
count
=
0
;
mesh.c:223
model_suspend()
(
void
)
k_work_cancel_delayable
(
&
mod
->
pub
->
timer
)
;
mesh.c:227
model_suspend()
if
(
mod
->
pub
&&
mod
->
pub
->
update
)
{
mesh.c:264
model_resume()
k_work_reschedule
(
&
mod
->
pub
->
timer
,
mesh.c:268
model_resume()
if
(
!
model
->
pub
)
{
pvnr_mgmt.c:1076
model_pub_clear()
if
(
model
->
pub
->
addr
==
BLE_MESH_ADDR_UNASSIGNED
)
{
pvnr_mgmt.c:1080
model_pub_clear()
model
->
pub
->
addr
=
BLE_MESH_ADDR_UNASSIGNED
;
pvnr_mgmt.c:1084
model_pub_clear()
model
->
pub
->
key
=
0U
;
pvnr_mgmt.c:1085
model_pub_clear()
model
->
pub
->
cred
=
0U
;
pvnr_mgmt.c:1086
model_pub_clear()
model
->
pub
->
ttl
=
0U
;
pvnr_mgmt.c:1087
model_pub_clear()
model
->
pub
->
period
=
0U
;
pvnr_mgmt.c:1088
model_pub_clear()
model
->
pub
->
retransmit
=
0U
;
pvnr_mgmt.c:1089
model_pub_clear()
model
->
pub
->
count
=
0U
;
pvnr_mgmt.c:1090
model_pub_clear()
if
(
model
->
pub
->
update
)
{
pvnr_mgmt.c:1092
model_pub_clear()
k_delayed_work_cancel
(
&
model
->
pub
->
timer
)
;
pvnr_mgmt.c:1093
model_pub_clear()
if
(
model
->
pub
==
NULL
)
{
sensor_server.c:1101
sensor_srv_init()
if
(
model
->
pub
==
NULL
)
{
sensor_server.c:1119
sensor_setup_srv_init()
if
(
model
->
pub
==
NULL
)
{
sensor_server.c:1140
sensor_srv_deinit()
if
(
model
->
pub
==
NULL
)
{
sensor_server.c:1150
sensor_setup_srv_deinit()
if
(
model
->
pub
==
NULL
||
model
->
pub
->
msg
==
NULL
||
server_common.c:232
bt_mesh_server_get_pub_msg()
model
->
pub
->
addr
==
BLE_MESH_ADDR_UNASSIGNED
)
{
server_common.c:233
bt_mesh_server_get_pub_msg()
buf
=
model
->
pub
->
msg
;
server_common.c:238
bt_mesh_server_get_pub_msg()
if
(
!
model
->
pub
)
{
settings.c:727
model_set_pub()
model
->
pub
->
addr
=
BLE_MESH_ADDR_UNASSIGNED
;
settings.c:737
model_set_pub()
model
->
pub
->
key
=
0U
;
settings.c:738
model_set_pub()
model
->
pub
->
cred
=
0U
;
settings.c:739
model_set_pub()
model
->
pub
->
ttl
=
0U
;
settings.c:740
model_set_pub()
model
->
pub
->
period
=
0U
;
settings.c:741
model_set_pub()
model
->
pub
->
retransmit
=
0U
;
settings.c:742
model_set_pub()
model
->
pub
->
count
=
0U
;
settings.c:743
model_set_pub()
model
->
pub
->
addr
=
pub
.
addr
;
settings.c:751
model_set_pub()
model
->
pub
->
key
=
pub
.
key
;
settings.c:752
model_set_pub()
model
->
pub
->
cred
=
pub
.
cred
;
settings.c:753
model_set_pub()
model
->
pub
->
ttl
=
pub
.
ttl
;
settings.c:754
model_set_pub()
model
->
pub
->
period
=
pub
.
period
;
settings.c:755
model_set_pub()
model
->
pub
->
retransmit
=
pub
.
retransmit
;
settings.c:756
model_set_pub()
model
->
pub
->
count
=
0U
;
settings.c:757
model_set_pub()
if
(
model
->
pub
&&
model
->
pub
->
update
&&
settings.c:1405
commit_model()
model
->
pub
->
addr
!=
BLE_MESH_ADDR_UNASSIGNED
)
{
settings.c:1406
commit_model()
k_delayed_work_submit
(
&
model
->
pub
->
timer
,
ms
)
;
settings.c:1410
commit_model()
if
(
!
model
->
pub
)
{
settings.c:1949
store_pending_mod_pub()
pub
.
addr
=
model
->
pub
->
addr
;
settings.c:1957
store_pending_mod_pub()
pub
.
key
=
model
->
pub
->
key
;
settings.c:1958
store_pending_mod_pub()
pub
.
ttl
=
model
->
pub
->
ttl
;
settings.c:1959
store_pending_mod_pub()
pub
.
retransmit
=
model
->
pub
->
retransmit
;
settings.c:1960
store_pending_mod_pub()
pub
.
period
=
model
->
pub
->
period
;
settings.c:1961
store_pending_mod_pub()
pub
.
period_div
=
model
->
pub
->
period_div
;
settings.c:1962
store_pending_mod_pub()
pub
.
cred
=
model
->
pub
->
cred
;
settings.c:1963
store_pending_mod_pub()
Call Tree
from
0/1
examples
All items filtered out
All items filtered out
Data Use
from
0/1
examples
bt_mesh_model::pub
is read by 79 functions:
All items filtered out
bt_mesh_model::pub
model_set_pub()
commit_model()
store_pending_mod_pub()
bt_mesh_model_pub_period_get()
next_period()
publish_sent()
publish_start()
publish_retransmit()
mod_init()
mod_deinit()
bt_mesh_model_publish()
_mod_pub_set()
mod_unbind()
send_mod_pub_status()
mod_pub_get()
mod_pub_set()
send_health_period_status()
health_set_period()
health_pub_update()
bt_mesh_fault_update()
health_srv_init()
health_srv_deinit()
model_suspend()
model_resume()
model_pub_clear()
gen_onoff_srv_init()
gen_level_srv_init()
gen_def_trans_time_srv_init()
gen_power_onoff_srv_init()
gen_power_level_srv_init()
gen_battery_srv_init()
gen_location_srv_init()
gen_user_prop_srv_init()
gen_admin_prop_srv_init()
gen_manu_prop_srv_init()
gen_client_prop_srv_init()
gen_onoff_srv_deinit()
gen_level_srv_deinit()
gen_def_trans_time_srv_deinit()
gen_power_onoff_srv_deinit()
gen_power_level_srv_deinit()
gen_battery_srv_deinit()
gen_location_srv_deinit()
gen_user_prop_srv_deinit()
gen_admin_prop_srv_deinit()
gen_manu_prop_srv_deinit()
gen_client_prop_srv_deinit()
light_lightness_srv_init()
light_ctl_srv_init()
light_ctl_temp_srv_init()
light_hsl_srv_init()
light_hsl_hue_srv_init()
light_hsl_sat_srv_init()
light_xyl_srv_init()
light_lc_srv_init()
light_lc_setup_srv_init()
light_lightness_srv_deinit()
light_ctl_srv_deinit()
light_ctl_temp_srv_deinit()
light_hsl_srv_deinit()
light_hsl_hue_srv_deinit()
light_hsl_sat_srv_deinit()
light_xyl_srv_deinit()
light_lc_srv_deinit()
light_lc_setup_srv_deinit()
bt_mesh_server_get_pub_msg()
bt_mesh_ext_model_get_pub()
bt_mesh_ext_model_get_pub_addr()
bt_mesh_ext_model_get_pub_key()
bt_mesh_ext_model_get_pub_directed_pub_policy()
bt_mesh_ext_model_set_pub_directed_pub_policy()
bt_mesh_ext_model_get_pub_msg()
sensor_srv_init()
sensor_setup_srv_init()
sensor_srv_deinit()
sensor_setup_srv_deinit()
publish_transmit()
commit_mod()
health_period_set_unrel()
All items filtered out
Class Tree
from
0/1
examples
All items filtered out
All items filtered out
Override Tree
from
0/1
examples
All items filtered out
All items filtered out
Implementations
from
0/1
examples
All items filtered out
All items filtered out
Instances
from
0/1
examples
Lifecycle
from
0/1
examples
All items filtered out
All items filtered out