/Zephyr-Core-3.7.0/doc/connectivity/bluetooth/api/mesh/ |
D | priv_beacon_srv.rst | 3 Private Beacon Server 6 The Private Beacon Server model is a foundation model defined by the Bluetooth 10 The Private Beacon Server model is introduced in the Bluetooth Mesh Protocol 11 Specification version 1.1, and controls the mesh node's Private Beacon state, 15 beacons by periodically randomizing the beacon input data. This protects the 17 network's IV index, IV update and the Key Refresh state. The Private Beacon Server 21 The Private Beacon Server does not have an API of its own, but relies on a 22 :ref:`bluetooth_mesh_models_priv_beacon_cli` to control it. The Private Beacon 25 The application can configure the initial parameters of the Private Beacon 31 If present, the Private Beacon Server model must only be instantiated on the primary element.
|
D | priv_beacon_cli.rst | 3 Private Beacon Client 6 The Private Beacon Client model is a foundation model defined by the Bluetooth 10 The Private Beacon Client model is introduced in the Bluetooth Mesh Protocol 15 beacons by periodically randomizing the beacon input data. This protects the 19 The Private Beacon Client model communicates with a 21 target node. The Private Beacon Client model may communicate with servers on 22 other nodes or self-configure through the local Private Beacon Server model. 24 All configuration functions in the Private Beacon Client API have ``net_idx`` 28 If present, the Private Beacon Client model must only be instantiated on the primary element.
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/mesh/src/ |
D | test_beacon.c | 10 #include "mesh/beacon.h" 70 /* Setting for scanner defining what beacon is expected next, SNB as default */ 110 .descript = "Random interval to be set for Private Beacon" in test_args_parse() 336 } beacon; variable 357 beacon.flags = net_buf_simple_pull_u8(buf); in beacon_scan_cb() 359 beacon.iv_index = net_buf_simple_pull_be32(buf); in beacon_scan_cb() 365 memcpy(beacon.random, buf->data, 13); in beacon_scan_cb() 366 bt_addr_le_copy(&beacon.adv_addr, addr); in beacon_scan_cb() 370 beacon.flags = private_beacon_data[0]; in beacon_scan_cb() 371 beacon.iv_index = sys_get_be32(&private_beacon_data[1]); in beacon_scan_cb() [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/bluetooth/mesh/ |
D | priv_beacon_cli.h | 17 * @defgroup bt_mesh_priv_beacon_cli Bluetooth Mesh Private Beacon Client 24 * @brief Private Beacon Client model composition data entry. 35 /** Private Beacon */ 37 /** Private beacon is enabled */ 55 /** Private Beacon Client Status messages callbacks */ 57 /** @brief Optional callback for Private Beacon Status message. 59 * Handles received Private Beacon Status messages from a Private Beacon server. 61 * @param cli Private Beacon client context. 63 * @param priv_beacon Mesh Private Beacon state received from the server. 70 * Handles received Private GATT Proxy Status messages from a Private Beacon server. [all …]
|
D | cfg.h | 72 /** @brief Enable or disable sending of the Secure Network Beacon. 74 * @param beacon New Secure Network Beacon state. 76 void bt_mesh_beacon_set(bool beacon); 78 /** @brief Get the current Secure Network Beacon state. 80 * @returns Whether the Secure Network Beacon feature is enabled. 84 /** @brief Enable or disable sending of the Mesh Private beacon. 86 * Support for the Private beacon state must be enabled with @c 89 * @param priv_beacon New Mesh Private beacon state. Must be one of 93 * @retval 0 Successfully changed the Mesh Private beacon feature state. 94 * @retval -ENOTSUP The Mesh Private beacon feature is not supported. [all …]
|
D | priv_beacon_srv.h | 17 * @defgroup bt_mesh_priv_beacon_srv Bluetooth Mesh Private Beacon Server 24 * @brief Private Beacon Server model composition data entry.
|
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/ |
D | beacon.c | 23 #include "beacon.h" 48 * Identifier for the current Private beacon random-value. 50 * Whenever it's time for a subnet to create a beacon, it'll compare 51 * the subnet's beacon idx to determine whether the random value has 52 * changed since the last beacon was sent. If this is the case, we'll 53 * regenerate the beacon based on the new random value. 95 struct bt_mesh_beacon *beacon; in beacon_cache_match() local 98 beacon = subnet_beacon_get_by_type(sub, params->private); in beacon_cache_match() 100 return !memcmp(beacon->cache, params->auth, sizeof(beacon->cache)); in beacon_cache_match() 103 static void cache_add(const uint8_t auth[8], struct bt_mesh_beacon *beacon) in cache_add() argument [all …]
|
D | priv_beacon_srv.c | 11 #include "beacon.h" 21 /* Private Beacon configuration server model states */ 69 uint8_t beacon; in handle_beacon_set() local 75 beacon = net_buf_simple_pull_u8(buf); in handle_beacon_set() 76 if (beacon != BT_MESH_BEACON_DISABLED && in handle_beacon_set() 77 beacon != BT_MESH_BEACON_ENABLED) { in handle_beacon_set() 78 LOG_WRN("Invalid beacon value %u", beacon); in handle_beacon_set() 86 (void)bt_mesh_priv_beacon_set(beacon); in handle_beacon_set() 202 LOG_ERR("Private Beacon server cannot extend Configuration server"); in priv_beacon_srv_init() 233 LOG_ERR("Failed to set Private Beacon state"); in priv_beacon_srv_settings_set()
|
D | priv_beacon_cli.c | 26 uint8_t beacon, rand_int; in handle_beacon_status() local 28 beacon = net_buf_simple_pull_u8(buf); in handle_beacon_status() 31 if (beacon != BT_MESH_BEACON_DISABLED && in handle_beacon_status() 32 beacon != BT_MESH_BEACON_ENABLED) { in handle_beacon_status() 33 LOG_WRN("Invalid beacon value 0x%02x", beacon); in handle_beacon_status() 37 LOG_DBG("0x%02x (%u s)", beacon, 10U * rand_int); in handle_beacon_status() 41 rsp->enabled = beacon; in handle_beacon_status() 49 .enabled = beacon, in handle_beacon_status() 140 LOG_ERR("Private Beacon Client only allowed in primary element"); in priv_beacon_cli_init()
|
D | cfg.c | 13 #include "beacon.h" 30 uint8_t beacon; member 36 void bt_mesh_beacon_set(bool beacon) in bt_mesh_beacon_set() argument 38 if (atomic_test_bit(bt_mesh.flags, BT_MESH_BEACON) == beacon) { in bt_mesh_beacon_set() 42 atomic_set_bit_to(bt_mesh.flags, BT_MESH_BEACON, beacon); in bt_mesh_beacon_set() 44 if (beacon) { in bt_mesh_beacon_set() 47 /* Beacon timer will stop automatically when all beacons are disabled. */ in bt_mesh_beacon_set() 102 /* Beacon timer will stop automatically when all beacons are disabled. */ in bt_mesh_priv_beacon_set() 236 /* Re-generate proxy beacon */ in bt_mesh_priv_gatt_proxy_set() 445 bt_mesh_beacon_set(cfg.beacon); in cfg_set() [all …]
|
D | subnet.h | 38 uint32_t sent; /* Timestamp of last sent beacon */ 39 uint32_t recv; /* Timestamp of last received beacon */ 46 uint8_t cache[8]; /* Cached last beacon auth value */ 47 uint8_t auth[8]; /* Beacon Authentication Value */ 64 uint16_t idx; /* Private beacon random index */ 66 uint8_t data[5]; /* Private Beacon data */ 78 struct bt_mesh_key beacon; /* BeaconKey */ member 208 /** @brief Process a Key Refresh event from a beacon.
|
/Zephyr-Core-3.7.0/samples/boards/stm32/power_mgmt/stm32wb_ble/ |
D | README.rst | 12 After startup, a first 2 seconds beacon is performed, 1 second break and 13 beacon is started again. 15 beacon sequence happens. 21 before beacon is started and between advertising peaks besides as SHUTDOWN mode
|
D | prj.conf | 2 CONFIG_BT_DEVICE_NAME="Test beacon"
|
/Zephyr-Core-3.7.0/samples/bluetooth/beacon/ |
D | sample.yaml | 2 name: Bluetooth Beacon 4 sample.bluetooth.beacon: 18 sample.bluetooth.beacon-coex:
|
D | README.rst | 1 .. _bluetooth-beacon-sample: 3 Bluetooth: Beacon 23 This sample can be found under :zephyr_file:`samples/bluetooth/beacon` in the
|
D | prj.conf | 3 CONFIG_BT_DEVICE_NAME="Test beacon"
|
D | prj-coex.conf | 3 CONFIG_BT_DEVICE_NAME="Test beacon"
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/mesh/tests_scripts/priv_beacon/ |
D | priv_beacon_adv.sh | 7 # Test Private Beacon advertising on node supporting relay feature. 8 # Test Random value changes for different Random intervals (10s, 0 - on every beacon, 30s).
|
D | priv_beacon_cache.sh | 7 # Test Private Beacon cache 10 # 0. RX device starts monitoring all accepted private beacon messages.
|
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/shell/ |
D | priv_beacon.c | 23 shell_error(sh, "Failed to send Private Beacon Get (err %d)", err); in cmd_priv_beacon_get() 27 shell_print(sh, "Private Beacon state: %u, %u", val.enabled, val.rand_interval); in cmd_priv_beacon_get() 53 shell_error(sh, "Failed to send Private Beacon Set (err %d)", err); in cmd_priv_beacon_set() 144 SHELL_CMD_ARG(priv-beacon-get, NULL, NULL, cmd_priv_beacon_get, 1, 0), 145 SHELL_CMD_ARG(priv-beacon-set, NULL, "<Val(off, on)> <RandInt(10s steps)>", 155 SHELL_SUBCMD_ADD((mesh, models), prb, &priv_beacons_cmds, "Private Beacon Cli commands",
|
/Zephyr-Core-3.7.0/samples/boards/stm32/power_mgmt/stm32wb_ble/src/ |
D | main.c | 78 printk("Beacon started, advertising as %s\n", addr_s); in bt_ready() 88 printk("Beacon stopped\n"); in bt_ready() 100 printk("Beacon started\n"); in bt_ready() 108 printk("Beacon stopped\n"); in bt_ready() 115 printk("Starting Beacon Demo\n"); in main()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/mesh/tests_scripts/beacon/ |
D | beacon_interval.sh | 11 # tx node is able to adapt observed beacon interval and able to send at least one 16 # after rx node sends out beacon. rx node skips the 3rd SNB and verifies that tx nodes keeps
|
/Zephyr-Core-3.7.0/subsys/net/l2/ieee802154/ |
D | ieee802154_mgmt_priv.h | 34 * Handles the given Beacon frame. 37 * @retval NET_DROP error while parsing the beacon
|
/Zephyr-Core-3.7.0/subsys/lorawan/ |
D | lw_priv.c | 30 "Busy beacon reserved time", 67 [LORAMAC_EVENT_INFO_STATUS_BEACON_LOCKED] = "Beacon locked", 68 [LORAMAC_EVENT_INFO_STATUS_BEACON_LOST] = "Beacon lost", 69 [LORAMAC_EVENT_INFO_STATUS_BEACON_NOT_FOUND] = "Beacon not found",
|
/Zephyr-Core-3.7.0/samples/bluetooth/hci_pwr_ctrl/ |
D | prj.conf | 6 CONFIG_BT_DEVICE_NAME="Dynamic test beacon"
|