Home
last modified time | relevance | path

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

12345678910>>...36

/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/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
49 yaml.indent(offset=2)
57 update = False
61 update |= process(common)
64 update |= process(spec)
[all …]
/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 get_upgrade_string_to_verify(build_dir: Path) -> str:
42 def clear_buffer(dut: DeviceAdapter) -> None:
56 2) Prepare an update of an application containing the SMP server
57 3) Upload the application update to slot 1 using mcumgr
58 4) Flag the application update in slot 1 as 'pending' by using mcumgr 'test'
65 new_version = '0.0.2+0'
108 2) Prepare an update of an application containing the SMP server
109 3) Upload the application update to slot 1 using mcumgr
[all …]
Dtest_downgrade_prevention.py3 # SPDX-License-Identifier: Apache-2.0
22 2) Prepare an update of an application containing the SMP server, where
24 3) Upload the application update to slot 1 using mcumgr
25 4) Flag the application update in slot 1 as 'pending' by using mcumgr 'test'
/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 …]
Dbsim-tests.yaml6 - ".github/workflows/bsim-tests.yaml"
7 - ".github/workflows/bsim-tests-publish.yaml"
8 - "west.yml"
9 - "subsys/bluetooth/**"
10 - "tests/bsim/**"
11 - "boards/nordic/nrf5*/*dt*"
12 - "dts/*/nordic/**"
13 - "tests/bluetooth/common/testlib/**"
14 - "samples/bluetooth/**"
15 - "boards/native/**"
[all …]
Dfootprint-tracking.yml6 - 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 …]
Dcodecov.yaml5 - cron: '25 06,18 * * *'
8 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
9 cancel-in-progress: true
13 if: github.repository_owner == 'zephyrproject-rtos'
14 runs-on:
15 group: zephyr-runner-v2-linux-x64-4xlarge
17 image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026
18 options: '--entrypoint /bin/bash'
20 fail-fast: false
24 - platform: 'mps2/an385'
[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/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
36 leshan.execute(endpoint, '5/0/2')
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')
[all …]
/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
60 struct bt_mesh_key val[2];
67 struct bt_mesh_key val[2];
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.
[all …]
/Zephyr-latest/dts/bindings/auxdisplay/
Dsparkfun,serlcd.yaml2 # SPDX-License-Identifier: Apache-2.0
13 rows = <2>;
14 command-delay-ms = <10>;
15 special-command-delay-ms = <50>;
21 include: [auxdisplay-device.yaml, i2c-device.yaml]
28 - 16
29 - 20
33 default: 2
35 - 2
36 - 4
[all …]
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/standard/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
40 printk("%s: device not ready.\n", hts221->name); in main()
44 printk("%s: device not ready.\n", lps22hb->name); in main()
48 printk("%s: device not ready.\n", lsm6dsl->name); in main()
52 printk("%s: device not ready.\n", lsm303agr_a->name); in main()
56 printk("%s: device not ready.\n", lsm303agr_m->name); in main()
92 printf("HTS221 Sensor sample update error\n"); in main()
96 printf("LPS22HB Sensor sample update error\n"); in main()
101 printf("LSM6DSL Sensor sample update error\n"); in main()
106 if (ret < 0 && ret != -EBADMSG) { in main()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_iv_index.c4 * SPDX-License-Identifier: Apache-2.0
49 bt_mesh.ivu_duration = 2 * BT_MESH_IVU_MIN_HOURS; in emulate_recovery_timeout()
60 /* Already in IV Update in Progress state */ in test_ivu_recovery()
64 ASSERT_FALSE(bt_mesh_net_iv_update(TEST_IV_IDX - 1, BCN_IV_IN_IDLE)); in test_ivu_recovery()
68 ASSERT_TRUE(bt_mesh_net_iv_update(TEST_IV_IDX + 2, BCN_IV_IN_IDLE)); in test_ivu_recovery()
69 ASSERT_EQUAL(TEST_IV_IDX + 2, bt_mesh.iv_index); in test_ivu_recovery()
84 ASSERT_FALSE(bt_mesh_net_iv_update(TEST_IV_IDX - 1, BCN_IV_IN_IDLE)); in test_ivu_recovery()
105 /* update before minimum duration */ in test_ivu_normal()
118 /* update before minimum duration */ in test_ivu_normal()
120 /* moving into the IV update mode */ in test_ivu_normal()
[all …]
/Zephyr-latest/scripts/checkpatch/
Dcheck_known_checkpatch_issues.sh6 # SPDX-License-Identifier: Apache-2.0
11 # and optionally update scripts/known_checkpatch_issues
12 # usage: check_known_checkpatch_issues.sh [-u]
13 # where: -u updates the known_checkpatch_issues db and commits it
14 # -q is the quiet mode (don't display the diff on stdout)
21 declare update=n
25 printf "usage: %s [-u][-q]\n" ${exe_name} >&2
30 exit -1
40 printf "need '%s' but not found in PATH\n" $i >&2
41 exit -1
[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:
30 2. Creating a workspace around an existing local manifest repository
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
[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
36 2. The `Golioth OTA documentation`_ includes complete information about the
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
[all …]
/Zephyr-latest/samples/shields/x_nucleo_iks01a1/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
19 sensor_sample_fetch_chan(dev, trig->chan); in lis3mdl_trigger_handler()
38 printk("%s: device not ready.\n", hts221->name); in main()
42 printk("%s: device not ready.\n", lis3mdl->name); in main()
46 printk("%s: device not ready.\n", lsm6ds0->name); in main()
50 printk("%s: device not ready.\n", lps25hb->name); in main()
65 printf("HTS221 Sensor sample update error\n"); in main()
69 printf("LPS25HB Sensor sample update error\n"); in main()
74 printf("LIS3MDL Sensor sample update error\n"); in main()
79 printf("LSM6DS0 Sensor sample update error\n"); in main()
[all …]
/Zephyr-latest/subsys/net/lib/lwm2m/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
15 module-dep = LOG
16 module-str = Log level for LwM2M library
90 bool "Use path matching as fallback for cancel-observe"
93 implementations to implement cancel-observe by specifying the resource
95 this option, cancel-observe may not work properly when connecting to
117 Messages are sent right away instead of waiting for next registration update.
140 According to LwM2M specification v1.0 and v1.1, non-core object versions other than 1.0
141 'must' be provided, while all other versions 'may' be provided. With specification v1.2,
177 int "Default server ssid when using the lwm2m-client. (used for access control)"
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/priv_beacon/
Dpriv_proxy_gatt.sh3 # SPDX-License-Identifier: Apache-2.0
11 # Private GATT proxy. Test mode for IV update is also enabled on both devices.
14 # 2. Both TX and RX device disables the scanner to prevent interferance
16 # 3. The TX device (Proxy SRV) starts an IV update procedure.
/Zephyr-latest/doc/connectivity/networking/api/
Dlwm2m.rst8 :depth: 2
18 CoAP packet-size optimization and a simple, stateless flow that supports a
35 .. list-table::
36 :header-rows: 1
38 * - Object ID
39 - Name
40 - Instance
41 - Mandatory
43 * - 3
44 - Device
[all …]
/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_private.h4 * SPDX-License-Identifier: Apache-2.0
28 #define GPTP_STATS_INC(port, var) (GPTP_PORT_PARAM_DS(port)->var++)
60 * @param log_msg_interval Logarithm 2 to apply to this interval.
77 * @brief Update pDelay request interval and its timer.
81 * @param log_val New logarithm 2 to apply to this interval.
86 * @brief Update sync interval and its timer.
90 * @param log_val New logarithm 2 to apply to this interval.
95 * @brief Update announce interval and its timer.
99 * @param log_val New logarithm 2 to apply to this interval.
117 return (ts->second * NSEC_PER_SEC) + ts->nanosecond; in gptp_timestamp_to_nsec()
/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``).
53 Step 2: Flash MCUboot
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio/test_scripts/
Dcap_broadcast_update.sh5 # SPDX-License-Identifier: Apache-2.0
8 VERBOSITY_LEVEL=2
15 printf "\n\n======== Running CAP broadcast update test =========\n\n"
18 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=cap_initiator_broadcast_update \
19 -RealEncryption=1 -rs=46 -D=2
22 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=cap_acceptor_broadcast_update \
23 -RealEncryption=1 -rs=23 -D=2
26 Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \
27 -D=2 -sim_length=60e6 $@

12345678910>>...36