/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/ |
D | dfu_srv.c | 4 * SPDX-License-Identifier: Apache-2.0 20 "The Firmware Update Start message does not fit into the maximum incoming SDU size."); 25 "The Firmware Update Info Status message does not fit into the maximum outgoing SDU " 30 bt_mesh_model_data_store(srv->mod, false, NULL, &srv->update, in store_state() 31 sizeof(srv->update)); in store_state() 36 bt_mesh_model_data_store(srv->mod, false, NULL, NULL, 0); in erase_state() 42 srv->update.idx >= srv->img_count) { in xfer_failed() 48 if (srv->cb->end) { in xfer_failed() 49 srv->cb->end(srv, &srv->imgs[srv->update.idx], false); in xfer_failed() 60 if (idx >= srv->img_count) { in metadata_check() [all …]
|
D | cdb.c | 4 * SPDX-License-Identifier: Apache-2.0 73 bool update; member 78 /* One more entry for the node's address update. */ 85 [0 ... (CONFIG_BT_MESH_CDB_NODE_COUNT - 1)] = { 90 [0 ... (CONFIG_BT_MESH_CDB_SUBNET_COUNT - 1)] = { 95 [0 ... (CONFIG_BT_MESH_CDB_APP_KEY_COUNT - 1)] = { 102 * Check if an address range from addr_start for addr_start + num_elem - 1 is 104 * available after the conflicting range and -EAGAIN will be returned. 108 uint16_t addr_end = addr_start + num_elem - 1; in addr_is_free() 115 return -EINVAL; in addr_is_free() [all …]
|
/Zephyr-Core-3.4.0/doc/develop/west/ |
D | built-in.rst | 1 .. _west-built-in-cmds: 3 Built-in commands 6 This page describes west's built-in commands, some of which were introduced in 7 :ref:`west-basics`, in more detail. 20 For additional help, run ``west <command> -h`` (e.g. ``west init -h``). 22 .. _west-init: 34 .. code-block:: none 36 west init [-m URL] [--mr REVISION] [--mf FILE] [directory] 40 the ``-m`` switch, the initial revision to check out using ``--mr``, and 41 the location of the manifest file within the repository using ``--mf``. [all …]
|
D | basics.rst | 1 .. _west-basics: 9 West's built-in commands allow you to work with *projects* (Git 18 .. code-block:: none 22 │ └── config # per-workspace local configuration file 33 ├── net-tools/ # .git/ project 36 .. _west-workspace: 42 Additional details are in :ref:`west-workspaces`. 47 -- it could be anything, like ``z``, ``my-zephyr-workspace``, etc.) 50 using :ref:`west init <west-init-basics>`. 61 file <west-config>`. [all …]
|
D | config.rst | 1 .. _west-config: 7 command, and configuration options used by built-in commands. For API 9 :ref:`west-apis-configuration`. 12 ------------------------ 14 West's configuration file syntax is INI-like; here is an example file: 16 .. code-block:: ini 32 - Linux: :file:`/etc/westconfig` 33 - macOS: :file:`/usr/local/etc/westconfig` 34 - Windows: :file:`%PROGRAMDATA%\\west\\config` 39 - All platforms: the default is :file:`.westconfig` in the user's home [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/bluetooth/mesh/ |
D | dfu_srv.h | 4 * SPDX-License-Identifier: Apache-2.0 9 * @defgroup bt_mesh_dfu_srv Firmware Update Server model 12 * @brief API for the Bluetooth mesh Firmware Update Server model 44 * @brief Firmware Update Server model entry. 49 BT_MESH_MODEL_BLOB_SRV(&(_srv)->blob), \ 53 /** @brief Firmware Update Server event callbacks. */ 72 * @param srv Firmware Update Server instance. 87 * Called when the Firmware Update Server is ready to start a new DFU transfer. 93 * - @c -ENOMEM: The device cannot fit this image. 94 * - @c -EBUSY: The application is temporarily unable to accept the [all …]
|
D | dfu_cli.h | 4 * SPDX-License-Identifier: Apache-2.0 12 * @brief API for the Bluetooth mesh Firmware Update Client model 44 * @brief Firmware Update Client model Composition Data entry. 49 BT_MESH_MODEL_BLOB_CLI(&(_cli)->blob), \ 83 /** The effect the update will have on the Target device's state. */ 92 /** Additional response time for the Target nodes, in 10-second increments. 113 * @param cli Firmware Update Client model instance. 129 /** Firmware Update Client event callbacks. */ 135 * @param cli Firmware Update Client model instance. 144 * @param cli Firmware Update Client model instance. [all …]
|
/Zephyr-Core-3.4.0/scripts/utils/ |
D | twister_to_list.py | 2 Utility script to migrate Twister configuration files from using string-based 8 -p path/to/zephyr-based-project 11 SPDX-License-Identifier: Apache-2.0 34 update = False 43 update = True 45 return update 58 update = False 62 update |= process(common) 65 update |= process(spec) 67 if update: [all …]
|
/Zephyr-Core-3.4.0/.github/workflows/ |
D | footprint.yml | 6 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }} 7 cancel-in-progress: true 10 footprint-delta: 11 runs-on: ubuntu-22.04 12 if: github.repository == 'zephyrproject-rtos/zephyr' 14 image: ghcr.io/zephyrproject-rtos/ci:v0.26.4 15 options: '--entrypoint /bin/bash' 17 fail-fast: false 19 ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.16.1 22 - name: Apply container owner mismatch workaround [all …]
|
D | footprint-tracking.yml | 6 - cron: '50 1/12 * * *' 9 - 'VERSION' 10 - '.github/workflows/footprint-tracking.yml' 12 - main 13 - v*-branch 15 # only publish v* tags, do not care about zephyr-v* which point to the 17 - 'v*' 20 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }} 21 cancel-in-progress: true 24 footprint-tracking: [all …]
|
D | bsim-tests.yaml | 6 - ".github/workflows/bsim-tests.yaml" 7 - ".github/workflows/bsim-tests-publish.yaml" 8 - "west.yml" 9 - "subsys/bluetooth/**" 10 - "tests/bsim/**" 11 - "samples/bluetooth/**" 12 - "boards/posix/**" 13 - "soc/posix/**" 14 - "arch/posix/**" 15 - "samples/net/sockets/echo_*/**" [all …]
|
/Zephyr-Core-3.4.0/doc/connectivity/bluetooth/api/mesh/ |
D | dfu_srv.rst | 3 Firmware Update Server 6 The Firmware Update Server model implements the Target node functionality of the :ref:`bluetooth_me… 8 Together with the extended BLOB Transfer Server model, the Firmware Update Server model implements … 13 The Firmware Update Server holds a list of all the updatable firmware images on the device. The ful… 15 …pgradable bootloader, an application and a peripheral chip with firmware update capabilities could… 20 …re Update Server model uses a BLOB Transfer Server model on the same element to transfer the binar… 24 :alt: Bluetooth mesh Firmware Update Server transfer 26 Bluetooth mesh Firmware Update Server transfer 31 …r check is an optional pre-transfer check the application can perform on incoming firmware image m… 33 …ed back to the Distributor, and should indicate what effect the firmware update will have on the m… [all …]
|
/Zephyr-Core-3.4.0/doc/services/device_mgmt/ |
D | ota.rst | 3 Over-the-Air Update 9 Over-the-Air (OTA) Update is a method for delivering firmware updates to remote 14 when an update is available. Security is a concern with OTA updates; firmware 35 1. A working sample can be found on the `Golioth Zephyr-SDK repository`_ 42 `Eclipse hawkBit`_ |trade| is an update server framework that uses polling on a 43 REST api to detect firmware updates. When a new update is detected, the binary 47 There is a :ref:`hawkbit-api-sample` included in the 48 Zephyr :ref:`mgmt-samples` section. 54 be manually triggered or monitored via polling. When a new update is detected, 59 :ref:`mgmt-samples` section. [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/mgmt/ |
D | updatehub.h | 2 * Copyright (c) 2018-2023 O.S.Systems 4 * SPDX-License-Identifier: Apache-2.0 8 * @brief UpdateHub Firmware Over-the-Air for Zephyr Project. 9 * @defgroup updatehub UpdateHub Firmware Over-the-Air 43 * @brief Runs UpdateHub probe and UpdateHub update automatically. 46 * in pre-determined time intervals. 51 * @brief The UpdateHub probe verify if there is some update to be performed. 53 * @return UPDATEHUB_HAS_UPDATE has an update available. 54 * @return UPDATEHUB_NO_UPDATE no update available. 62 * @brief Apply the update package. [all …]
|
D | hawkbit.h | 4 * SPDX-License-Identifier: Apache-2.0 8 * @brief hawkBit Firmware Over-the-Air for Zephyr Project. 9 * @defgroup hawkbit hawkBit Firmware Over-the-Air 46 * @brief Runs hawkBit probe and hawkBit update automatically 49 * in pre-determined time intervals. 54 * @brief The hawkBit probe verify if there is some update to be performed. 56 * @return HAWKBIT_UPDATE_INSTALLED has an update available. 57 * @return HAWKBIT_NO_UPDATE no update available. 61 * @return HAWKBIT_DOWNLOAD_ERROR fail while downloading the update package.
|
/Zephyr-Core-3.4.0/samples/net/lwm2m_client/src/ |
D | firmware_update.c | 4 * SPDX-License-Identifier: Apache-2.0 16 /* Array with supported PULL firmware update protocols */ 22 LOG_DBG("UPDATE"); in firmware_update_cb() 24 /* TODO: kick off update process */ in firmware_update_cb() 26 /* If success, set the update result as RESULT_SUCCESS. in firmware_update_cb() 53 LOG_INF("FIRMWARE: Update canceled"); in firmware_cancel_cb() 59 /* setup data buffer for block-wise transfer */ in init_firmware_update()
|
/Zephyr-Core-3.4.0/drivers/sensor/icm42670/ |
D | icm42670_spi.h | 5 * SPDX-License-Identifier: Apache-2.0 28 * @brief update a single ICM42670 register value 30 * this functions wraps all logic necessary to update any of the ICM42670 registers, regardless 34 * @param reg address of ICM42670 register to update 35 * @param mask bitmask defining which bits of the register to update 36 * @param data new value to update register with, respecting the bitmask
|
/Zephyr-Core-3.4.0/drivers/sensor/icm42688/ |
D | icm42688_spi.h | 4 * SPDX-License-Identifier: Apache-2.0 27 * @brief update a single ICM42688 register value 29 * this functions wraps all logic necessary to update any of the ICM42688 registers, regardless 33 * @param reg address of ICM42688 register to update 34 * @param mask bitmask defining which bits of the register to update 35 * @param data new value to update register with, respecting the bitmask
|
/Zephyr-Core-3.4.0/tests/drivers/rtc/rtc_api/src/ |
D | test_update_callback.c | 4 * SPDX-License-Identifier: Apache-2.0 32 zassert_true(ret == 0, "Failed to clear and disable update callback"); in ZTEST() 40 zassert_true(counter == 0, "Update callback should not have been called"); in ZTEST() 44 zassert_true(ret == 0, "Failed to set and enable update callback"); in ZTEST() 52 zassert_true(counter < 12 && counter > 8, "Invalid update callback called counter"); in ZTEST()
|
/Zephyr-Core-3.4.0/scripts/west_commands/zspdx/ |
D | util.py | 3 # SPDX-License-Identifier: Apache-2.0 14 - filePath: path to file to scan. 22 log.dbg(f" - getting hashes for {filePath}") 27 hSHA1.update(buf) 28 hSHA256.update(buf) 29 hMD5.update(buf)
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/mesh/tests_scripts/replay_cache/ |
D | rpl_frag.sh | 3 # SPDX-License-Identifier: Apache-2.0 9 # 2. Toggle IV index update; 10 # 3. Send a new message from even addresses. This should update IVI index of RPL for these nodes. 12 # 4. Complete IVI Update; 13 # 5. Repeate steps 2 - 4 to remove RPL entry with odd address from RPL and cause fragmentation;
|
/Zephyr-Core-3.4.0/samples/subsys/mgmt/hawkbit/ |
D | README.rst | 1 .. _hawkbit-api-sample: 9 The hawkbit update server provides REST resources which are consumed by the 10 device to retrieve software update tasks. This API is based on HTTP standards 14 update mode. 21 an available update, it will install the update. You can access the sample 28 :ref:`Freedom-K64F <frdm_k64f>` MCU by default. The application should 44 the Freedom-K64F Development Kit (``BOARD=frdm_k64f``). 58 .. code-block:: console 67 .. code-block:: console 69 sudo docker run -p 8080:8080 hawkbit/hawkbit-update-server:latest \ [all …]
|
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/host/att/mtu_update/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 50 #define PERIPHERAL_NOTIFY_TIME ((WAIT_TIME - 10e6) / 1e6) 81 PASS("MTU Update test passed\n"); in test_central_main() 83 FAIL("MTU Update test failed\n"); in test_central_main() 94 PASS("MTU Update test passed\n"); in test_peripheral_main() 113 .test_descr = "Central GATT MTU Update", 120 .test_descr = "Peripheral GATT MTU Update",
|
/Zephyr-Core-3.4.0/scripts/ci/ |
D | version_mgr.py | 3 # SPDX-License-Identifier: Apache-2.0 29 parser.add_argument('-l', '--list', action="store_true", 31 parser.add_argument('-u', '--update', 32 help="Update versions file from tree.") 33 parser.add_argument('-L', '--latest', action="store_true", 35 parser.add_argument('-w', '--weekly', action="store_true", 37 parser.add_argument('-v', '--verbose', action="store_true", 74 pdate = datetime.strptime(item_compat['date'], '%Y-%m-%dT%H:%M:%S.%f') 77 print(f"- {item_compat['version']} {datestr} {wstr}") 84 latest = data[-1] [all …]
|
/Zephyr-Core-3.4.0/subsys/bluetooth/ |
D | Kconfig | 5 # SPDX-License-Identifier: Apache-2.0 9 # Some BT threads use co-op priorities to implement critical sections, 25 bool "HCI-based" 27 HCI-based stack with optional host & controller parts and an 33 Select a custom, non-HCI based stack. If you're not sure what 34 this is, you probably want the HCI-based stack instead. 41 range -256 -1 130 # Enable if building a Host-only build 132 # Enable if building a Controller-only build 143 # Enable if building a Controller-only build [all …]
|