Home
last modified time | relevance | path

Searched refs:priv_beacon_state (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/bluetooth/mesh/
Dpriv_beacon_srv.c26 } priv_beacon_state; variable
34 const void *data = delete ? NULL : &priv_beacon_state; in priv_beacon_store()
35 size_t len = delete ? 0 : sizeof(priv_beacon_state); in priv_beacon_store()
221 (void)memset(&priv_beacon_state, 0, sizeof(priv_beacon_state)); in priv_beacon_srv_reset()
236 err = bt_mesh_settings_set(read_cb, cb_data, &priv_beacon_state, sizeof(priv_beacon_state)); in priv_beacon_srv_settings_set()
242 bt_mesh_priv_beacon_set(priv_beacon_state.state); in priv_beacon_srv_settings_set()
243 bt_mesh_priv_beacon_update_interval_set(priv_beacon_state.interval); in priv_beacon_srv_settings_set()
244 bt_mesh_priv_gatt_proxy_set(priv_beacon_state.proxy_state); in priv_beacon_srv_settings_set()
250 priv_beacon_state.state = bt_mesh_priv_beacon_get(); in priv_beacon_srv_pending_store()
251 priv_beacon_state.interval = bt_mesh_priv_beacon_update_interval_get(); in priv_beacon_srv_pending_store()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_persistence.c951 struct bt_mesh_priv_beacon priv_beacon_state = { in test_cfg_save() local
956 err = bt_mesh_priv_beacon_cli_set(test_netkey_idx, TEST_ADDR, &priv_beacon_state, in test_cfg_save()
957 &priv_beacon_state); in test_cfg_save()
1033 struct bt_mesh_priv_beacon priv_beacon_state; in test_cfg_load() local
1036 err = bt_mesh_priv_beacon_cli_get(test_netkey_idx, TEST_ADDR, &priv_beacon_state); in test_cfg_load()
1037 if (err || priv_beacon_state.enabled != current_stack_cfg->priv_beacon || in test_cfg_load()
1038 priv_beacon_state.rand_interval != current_stack_cfg->priv_beacon_int) { in test_cfg_load()
1040 priv_beacon_state.enabled, priv_beacon_state.rand_interval); in test_cfg_load()