Home
last modified time | relevance | path

Searched +full:- +full:- +full:update (Results 1 – 25 of 1012) sorted by relevance

12345678910>>...41

/Zephyr-latest/subsys/bluetooth/mesh/
Ddfu_srv.c4 * 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 …]
Dcdb.c4 * SPDX-License-Identifier: Apache-2.0
74 bool update; member
79 /* One more entry for the node's address update. */
86 [0 ... (CONFIG_BT_MESH_CDB_NODE_COUNT - 1)] = {
91 [0 ... (CONFIG_BT_MESH_CDB_SUBNET_COUNT - 1)] = {
96 [0 ... (CONFIG_BT_MESH_CDB_APP_KEY_COUNT - 1)] = {
104 * Check if an address range from addr_start for addr_start + num_elem - 1 is
106 * available after the conflicting range and -EAGAIN will be returned.
110 uint16_t addr_end = addr_start + num_elem - 1; in addr_is_free()
117 return -EINVAL; in addr_is_free()
[all …]
/Zephyr-latest/doc/develop/west/
Dbuilt-in.rst1 .. _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 …]
Dalias.rst1 .. _west-aliases:
20 .. code-block:: shell
22 west config alias.mylist "list -f '{name} {revision}'"
27 building more complex but easy-to-remember commands.
31 .. code-block:: shell
33 west config alias.update "update -o=--depth=1 -n"
37 Overriding/shadowing other or built-in commands is an advanced use case, it can lead to
38 strange side-effects and should be done with great care.
41 --------
46 .. code-block:: shell
[all …]
Dbasics.rst1 .. _west-basics:
9 West's built-in commands allow you to work with :term:`projects <west project>`
14 repository>`, while the ``west update`` command initially clones, and later updates, the
24 .. code-block:: none
28 │ └── config # per-workspace local configuration file
40 │ └── net-tools/ # .git/ project
43 .. _west-workspace:
49 Additional details are in :ref:`west-workspaces`.
54 -- it could be anything, like ``z``, ``my-zephyr-workspace``, etc.)
57 using :ref:`west init <west-init-basics>`.
[all …]
Dconfig.rst1 .. _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-latest/doc/connectivity/bluetooth/api/mesh/
Ddfu_srv.rst3 Firmware Update Server
6 The Firmware Update Server model implements the Target node functionality of the
10 Together with the extended BLOB Transfer Server model, the Firmware Update Server model implements
17 The Firmware Update Server holds a list of all the updatable firmware images on the device. The full
24 firmware update capabilities could have three entries in the firmware image list, each with their
30 The Firmware Update Server model uses a BLOB Transfer Server model on the same element to transfer
31 the binary image. The interaction between the Firmware Update Server, BLOB Transfer Server and
36 :alt: Bluetooth Mesh Firmware Update Server transfer
38 Bluetooth Mesh Firmware Update Server transfer
43 The transfer check is an optional pre-transfer check the application can perform on incoming
[all …]
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Ddfu_srv.h4 * 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 …]
Ddfu_cli.h4 * 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-latest/scripts/utils/
Dtwister_to_list.py2 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
33 update = False
42 update = True
44 return update
57 update = False
61 update |= process(common)
64 update |= process(spec)
66 if update:
[all …]
/Zephyr-latest/doc/services/device_mgmt/
Dota.rst3 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
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 :zephyr:code-sample:`hawkbit-api` sample included in the
48 Zephyr :zephyr:code-sample-category:`mgmt` section.
54 be manually triggered or monitored via polling. When a new update is detected,
58 There is an :zephyr:code-sample:`updatehub-fota` sample included in the Zephyr
59 :zephyr:code-sample-category:`mgmt` section.
[all …]
/Zephyr-latest/include/zephyr/mgmt/
Dupdatehub.h2 * 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 …]
/Zephyr-latest/drivers/clock_control/
Dclock_control_nrf2_common.h3 * SPDX-License-Identifier: Apache-2.0
45 * @retval -EINVAL If accuracy is not configured.
55 * @param update_work_handler function that performs configuration update,
63 * @brief Starts a clock configuration update.
66 * from its update work handler.
68 * @param work pointer to the work item received by the update work handler.
75 * @brief Finalizes a clock configuration update.
77 * Notifies all relevant onoff managers about the update result.
79 * the actual operation. Any further calls are simply no-ops.
/Zephyr-latest/samples/net/lwm2m_client/src/
Dfirmware_update.c4 * 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-latest/subsys/mgmt/hawkbit/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
5 bool "Eclipse hawkBit Firmware Over-the-Air support"
24 hawkBit is a domain independent back-end framework for polling out
34 Set the interval that the hawkbit update server will be polled.
43 Activate autohandler to handle the update process automatically.
165 prompt "Reboot mode after update"
169 bool "Warm reboot after update"
171 Do a warm reboot after the update.
174 bool "Cold reboot after update"
176 Do a cold reboot after the update.
[all …]
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_spi.h4 * 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-latest/tests/boot/with_mcumgr/pytest/
Dtest_upgrade.py3 # SPDX-License-Identifier: Apache-2.0
18 def create_signed_image(build_dir: Path, app_build_dir: Path, version: str) -> Path:
35 def clear_buffer(dut: DeviceAdapter) -> None:
49 2) Prepare an update of an application containing the SMP server
50 3) Upload the application update to slot 1 using mcumgr
51 4) Flag the application update in slot 1 as 'pending' by using mcumgr 'test'
100 2) Prepare an update of an application containing the SMP server
101 3) Upload the application update to slot 1 using mcumgr
102 4) Flag the application update in slot 1 as 'pending' by using mcumgr 'test'
106 8) Verify that MCUboot reverts update
[all …]
/Zephyr-latest/.github/workflows/
Dtwister_tests_blackbox.yml2 # SPDX-License-Identifier: Apache-2.0
9 - main
10 - collab-*
11 - v*-branch
13 - 'scripts/pylib/twister/**'
14 - 'scripts/twister'
15 - 'scripts/tests/twister_blackbox/**'
16 - '.github/workflows/twister_tests_blackbox.yml'
19 twister-tests:
21 runs-on: ${{ matrix.os }}
[all …]
/Zephyr-latest/samples/subsys/mgmt/hawkbit/
DREADME.rst1 .. zephyr:code-sample:: hawkbit-api
3 :relevant-api: hawkbit
5 Update a device using Eclipse hawkBit DDI API.
10 The Eclipse hawkBit update server provides REST resources which are consumed by the
11 device to retrieve software update tasks. This API is based on HTTP standards
15 update mode.
22 an available update, it will install the update. You can access the sample
29 :zephyr:board:`Freedom-K64F <frdm_k64f>` MCU by default. The application should
45 the Freedom-K64F Development Kit (``BOARD=frdm_k64f``).
59 .. code-block:: console
[all …]
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dtest_blockwise.py2 Tests for Block-Wise transfers in LwM2M
7 SPDX-License-Identifier: Apache-2.0
26 """Blockwise test 1: Block-Wise PUT using OPAQUE content format"""
35 # when Update is executed
37 lines = dut.readlines_until(regex='app_fw_update: UPDATE', timeout=5.0)
39 line = lines[-1]
40 crc = int(re.search('CRC ([0-9]+)', line).group(1))
47 """Blockwise test 2: Block-Wise PUT with retry"""
59 shell.exec_command('lwm2m update')
65 # when Update is executed
[all …]
/Zephyr-latest/scripts/west_commands/zspdx/
Dutil.py3 # SPDX-License-Identifier: Apache-2.0
15 - filePath: path to file to scan.
23 log.dbg(f" - getting hashes for {filePath}")
28 hSHA1.update(buf)
29 hSHA256.update(buf)
30 hMD5.update(buf)
/Zephyr-latest/tests/drivers/rtc/rtc_api/src/
Dtest_update_callback.c4 * SPDX-License-Identifier: Apache-2.0
37 if (ret == -ENOSYS) { in ZTEST()
40 zassert_ok(ret, "Failed to clear and disable update callback"); in ZTEST()
58 zassert_equal(counter, 0, "Update callback should not have been called"); in ZTEST()
62 zassert_ok(ret, "Failed to set and enable update callback"); in ZTEST()
73 zassert_true(counter < 12 && counter > 8, "Invalid update callback called counter"); in ZTEST()
/Zephyr-latest/dts/bindings/display/
Drenesas,smartbond-display.yaml2 # SPDX-License-Identifier: Apache-2.0
4 include: [display-controller.yaml, lcd-controller.yaml, pinctrl-device.yaml]
8 compatible: "renesas,smartbond-display"
17 disp-gpios:
18 type: phandle-array
22 dma-prefetch:
25 - "no-prefetch"
26 - "prefetch-44-bytes"
27 - "prefetch-84-bytes"
28 - "prefetch-116-bytes"
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/replay_cache/
Drpl_frag.sh3 # 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;
16 rpc_rx_rpl_frag -flash=../results/mesh_replay_fragmentation/flash.bin -flash_erase \
22 rpc_rx_reboot_after_defrag -flash=../results/mesh_replay_fragmentation/flash.bin -flash_rm
26 rpc_rx_rpl_frag -flash=../results/mesh_replay_fragmentation_psa/flash.bin -flash_erase \
31 rpc_rx_reboot_after_defrag -flash=../results/mesh_replay_fragmentation_psa/flash.bin -flash_rm
/Zephyr-latest/doc/develop/manifest/
Dindex.rst8 See :ref:`external-contributions` for more information about
15 call :command:`west update`. Many of the projects or modules listed below are
22 west config manifest.project-filter -- -hal_FOO
23 west update
25 .. manifest-projects-table::
33 call :command:`west update`. You can add any of the projects or modules listed below
39 west config manifest.project-filter -- +nanopb
40 west update
42 .. manifest-projects-table::
52 file which includes them. See :ref:`west-manifest-import` for information on

12345678910>>...41