Home
last modified time | relevance | path

Searched refs:mcumgr (Results 1 – 25 of 215) sorted by relevance

123456789

/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/fixtures/
Dmcumgr_fixture_test.py9 from twister_harness.helpers.mcumgr import MCUmgr, MCUmgrException
19 patched_run_command: mock.Mock, mcumgr: MCUmgr
21 mcumgr.reset_device()
24 mcumgr.get_image_list()
27 mcumgr.image_upload('/path/to/image', timeout=100)
30 mcumgr.image_upload('/path/to/image', slot=2, timeout=100)
33 mcumgr.image_test(hash='ABCD')
36 mcumgr.image_confirm(hash='ABCD')
40 def test_if_mcumgr_fixture_raises_exception_when_no_hash_to_test(mcumgr: MCUmgr) -> None:
50 mcumgr.run_command = mock.Mock(return_value=cmd_output)
[all …]
/Zephyr-latest/tests/boot/with_mcumgr/pytest/
Dtest_upgrade.py45 def test_upgrade_with_confirm(dut: DeviceAdapter, shell: Shell, mcumgr: MCUmgr):
64 mcumgr.image_upload(image_to_test)
67 second_hash = mcumgr.get_hash_to_test()
68 mcumgr.image_test(second_hash)
70 mcumgr.reset_device()
81 check_with_mcumgr_command(mcumgr, new_version)
84 mcumgr.image_confirm(second_hash)
85 mcumgr.reset_device()
96 def test_upgrade_with_revert(dut: DeviceAdapter, shell: Shell, mcumgr: MCUmgr):
119 mcumgr.image_upload(image_to_test)
[all …]
Dtest_downgrade_prevention.py17 def test_downgrade_prevention(dut: DeviceAdapter, shell: Shell, mcumgr: MCUmgr):
43 mcumgr.image_upload(image_to_test)
46 second_hash = mcumgr.get_hash_to_test()
47 mcumgr.image_test(second_hash)
48 mcumgr.reset_device()
57 check_with_mcumgr_command(mcumgr, origin_version)
Dutils.py21 def check_with_mcumgr_command(mcumgr: MCUmgr, version: str) -> None:
22 image_list = mcumgr.get_image_list()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_datetime/
DCMakeLists.txt16 …nclude_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/mgmt/mcumgr/transport/include/mgmt/mcumgr/tra…
17 target_include_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/mgmt/mcumgr/grp/os_mgmt/include/)
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_info/
DCMakeLists.txt16 …nclude_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/mgmt/mcumgr/transport/include/mgmt/mcumgr/tra…
17 target_include_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/mgmt/mcumgr/grp/os_mgmt/include/)
/Zephyr-latest/subsys/mgmt/mcumgr/transport/
DKconfig33 int "Number of mcumgr buffers"
37 The number of net_bufs to allocate for mcumgr. These buffers are
41 int "Size of each mcumgr buffer"
45 The size, in bytes, of each mcumgr buffer. This value must satisfy
62 int "Size of mcumgr buffer user data"
66 The size, in bytes, of user data to allocate for each mcumgr buffer.
68 Different mcumgr transports impose different requirements for this
DKconfig.dummy22 int "Size of receive buffer for dummy interface mcumgr fragments"
25 Specifies the size of the mcumgr dummy backend receive buffer,
27 line sent by an mcumgr client.
DKconfig.uart13 bool "UART mcumgr SMP transport"
20 lightweight alternative to MCUMGR_TRANSPORT_SHELL. It allows mcumgr
31 The option enables use of UART async API when available for selected mcumgr uart port.
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_reassembly/
DCMakeLists.txt15 ${ZEPHYR_BASE}/subsys/mgmt/mcumgr/
16 ${ZEPHYR_BASE}/subsys/mgmt/mcumgr/transport/include/
/Zephyr-latest/tests/subsys/mgmt/mcumgr/cb_notifications/
DCMakeLists.txt16 …nclude_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/mgmt/mcumgr/transport/include/mgmt/mcumgr/tra…
/Zephyr-latest/tests/subsys/mgmt/mcumgr/enum_mgmt/
DCMakeLists.txt16 …nclude_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/mgmt/mcumgr/transport/include/mgmt/mcumgr/tra…
/Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/
DCMakeLists.txt16 …nclude_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/mgmt/mcumgr/transport/include/mgmt/mcumgr/tra…
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_version/
DCMakeLists.txt16 …nclude_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/mgmt/mcumgr/transport/include/mgmt/mcumgr/tra…
/Zephyr-latest/subsys/mgmt/mcumgr/
DKconfig6 bool "mcumgr Support"
10 This option enables the mcumgr management library.
15 module-str = mcumgr
28 mcumgr acts with new behaviour and will only return rc is the result
/Zephyr-latest/tests/subsys/mgmt/mcumgr/zcbor_bulk/
DCMakeLists.txt13 ${ZEPHYR_BASE}/subsys/mgmt/mcumgr/util/src/zcbor_bulk.c
16 ${ZEPHYR_BASE}/subsys/mgmt/mcumgr/util/include/
/Zephyr-latest/tests/subsys/mgmt/mcumgr/img_mgmt_slot_info/
DCMakeLists.txt16 …nclude_directories(app PRIVATE ${ZEPHYR_BASE}/subsys/mgmt/mcumgr/transport/include/mgmt/mcumgr/tra…
/Zephyr-latest/doc/services/device_mgmt/
Dmcumgr.rst58 …| `mcumgr-client <https://github.com/vouch-opensource/mcumgr-client/>`_ | ✓ | ✓ …
60 …| `mcumgr-web <https://github.com/boogie/mcumgr-web/>`_ | ✓ | ✓ …
94 …| `mcumgr-client <https://github.com/vouch-opensource/mcumgr-client/>`_ | Windows, |br| |…
98 …| `mcumgr-web <https://github.com/boogie/mcumgr-web/>`_ | Windows, |br| |…
155 .. _MCUmgr: https://github.com/apache/mynewt-mcumgr
163 * Discord mcumgr channel: https://discord.com/invite/Ck7jw53nU2
Dmcumgr_handlers.rst36 ``zephyr/include/zephyr/mgmt/mcumgr/grp/<grp_name>_mgmt`` directory to allow the files to be
46 .. literalinclude:: ../../../tests/subsys/mgmt/mcumgr/handler_demo/example_as_module/include/exampl…
66 .. literalinclude:: ../../../tests/subsys/mgmt/mcumgr/handler_demo/example_as_module/include/exampl…
85 .. literalinclude:: ../../../tests/subsys/mgmt/mcumgr/handler_demo/example_as_module/src/example_mg…
106 .. literalinclude:: ../../../tests/subsys/mgmt/mcumgr/handler_demo/Kconfig
120 ….. literalinclude:: ../../../tests/subsys/mgmt/mcumgr/handler_demo/example_as_module/CMakeLists.txt
125 .. literalinclude:: ../../../tests/subsys/mgmt/mcumgr/handler_demo/CMakeLists.txt
143 add_subdirectory(mcumgr/grp/<grp_name>)
154 rsource "mcumgr/grp/<grp_name>/Kconfig"
186 add_subdirectory(mcumgr/grp/<grp_name>)
[all …]
/Zephyr-latest/samples/subsys/mgmt/mcumgr/smp_svr/
DREADME.rst15 This sample application supports the following mcumgr transports by default:
92 samples/subsys/mgmt/mcumgr/smp_svr \
104 samples/subsys/mgmt/mcumgr/smp_svr \
116 samples/subsys/mgmt/mcumgr/smp_svr \
129 samples/subsys/mgmt/mcumgr/smp_svr \
145 samples/subsys/mgmt/mcumgr/smp_svr \
197 prevent mcumgr commands over the CDC UART port from working due to how USB
208 with it using :file:`mcumgr`, you might want to test what is commonly called
215 * Upload the signed image using :file:`mcumgr`
216 * Listing the images on the device using :file:`mcumgr`
[all …]
Dusb.overlay9 zephyr,uart-mcumgr = &cdc_acm_uart0;
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/
D__init__.py8 from twister_harness.helpers.mcumgr import MCUmgr
/Zephyr-latest/subsys/mgmt/
DCMakeLists.txt4 add_subdirectory_ifdef(CONFIG_MCUMGR mcumgr)
/Zephyr-latest/drivers/console/
DKconfig60 bool "UART console mcumgr passthrough"
63 Enables the UART console to receive mcumgr frames for image upgrade
65 process mcumgr frames, but it hands them up to a higher level module
66 (e.g., the shell). If unset, incoming mcumgr frames are dropped.
209 Enable the mcumgr UART driver. This driver allows the application to
210 communicate over UART using the mcumgr protocol for image upgrade and
218 int "Size of receive buffer for mcumgr fragments received over UART, in bytes"
221 Specifies the size of the mcumgr UART receive buffer, in bytes. This
222 value must be large enough to accommodate any line sent by an mcumgr
226 int "Number of receive buffers for mcumgr fragments received over UART"
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/smp/
DCMakeLists.txt2 # Copyright (c) 2018-2021 mcumgr authors

123456789