Home
last modified time | relevance | path

Searched refs:priv_beacon (Results 1 – 9 of 9) sorted by relevance

/Zephyr-Core-3.6.0/subsys/bluetooth/mesh/
Dbeacon.c86 return priv ? &sub->priv_beacon : &sub->secure_beacon; in subnet_beacon_get_by_type()
112 (void)memset(sub->priv_beacon.cache, 0, sizeof(sub->priv_beacon.cache)); in bt_mesh_beacon_cache_clear()
203 err = bt_mesh_beacon_encrypt(&keys->priv_beacon, flags, bt_mesh.iv_index, in private_beacon_update()
205 sub->priv_beacon.auth); in private_beacon_update()
236 net_buf_simple_add_mem(buf, sub->priv_beacon.auth, 8); in private_beacon_create()
322 .beacon = &sub->priv_beacon, in net_beacon_for_subnet_send()
441 sub->priv_beacon.last = sub->priv_beacon.cur; in sub_update_beacon_observation()
442 sub->priv_beacon.cur = 0U; in sub_update_beacon_observation()
585 err = bt_mesh_beacon_decrypt(&sub->keys[i].priv_beacon, params->random, in priv_beacon_decrypt()
813 sub->priv_beacon.last = 0U; in subnet_beacon_enable()
[all …]
Dsubnet.h62 struct bt_mesh_beacon priv_beacon; member
79 struct bt_mesh_key priv_beacon; /* PrivateBeaconKey */ member
Dcfg.c86 int bt_mesh_priv_beacon_set(enum bt_mesh_feat_state priv_beacon) in bt_mesh_priv_beacon_set() argument
94 err = feature_set(BT_MESH_PRIV_BEACON, priv_beacon); in bt_mesh_priv_beacon_set()
99 if (priv_beacon == BT_MESH_FEATURE_ENABLED) { in bt_mesh_priv_beacon_set()
Dsubnet.c207 bt_mesh_key_destroy(&key->priv_beacon); in subnet_keys_destroy()
357 err = bt_mesh_private_beacon_key(key, &keys->priv_beacon); in net_keys_create()
363 LOG_DBG("PrivateBeaconKey %s", bt_hex(&keys->priv_beacon, sizeof(struct bt_mesh_key))); in net_keys_create()
/Zephyr-Core-3.6.0/subsys/bluetooth/mesh/shell/
DCMakeLists.txt16 zephyr_library_sources_ifdef(CONFIG_BT_MESH_SHELL_PRIV_BEACON_CLI priv_beacon.c)
/Zephyr-Core-3.6.0/include/zephyr/bluetooth/mesh/
Dpriv_beacon_cli.h66 struct bt_mesh_priv_beacon *priv_beacon);
Dcfg.h98 int bt_mesh_priv_beacon_set(enum bt_mesh_feat_state priv_beacon);
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/mesh/src/
Dtest_persistence.c208 uint8_t priv_beacon; member
224 .priv_beacon = 1,
240 .priv_beacon = 1,
952 .enabled = current_stack_cfg->priv_beacon, in test_cfg_save()
1037 if (err || priv_beacon_state.enabled != current_stack_cfg->priv_beacon || in test_cfg_load()
Dtest_beacon.c1070 BT_MESH_BEACON_CB_DEFINE(priv_beacon) = {