Home
last modified time | relevance | path

Searched full:smp (Results 1 – 25 of 448) sorted by relevance

12345678910>>...18

/Zephyr-latest/subsys/mgmt/mcumgr/transport/
DKconfig.udp13 bool "UDP mcumgr SMP transport"
18 Enables handling of SMP commands received over UDP.
24 bool "UDP SMP using IPv4"
28 Enable SMP UDP using IPv4 addressing.
32 bool "UDP SMP using IPv6"
35 Enable SMP UDP using IPv6 addressing.
39 int "UDP SMP port"
42 UDP port that SMP server will listen for SMP commands on.
45 int "UDP SMP stack size"
48 Stack size of the SMP UDP listening thread
[all …]
DKconfig.bluetooth13 bool "Bluetooth mcumgr SMP transport"
16 Enables handling of SMP commands received over Bluetooth.
21 bool "Reassemble packets in Bluetooth SMP transport"
24 When enabled, the SMP BT transport will buffer and reassemble received
28 prompt "Permission used for the SMP service"
32 Permission settings for GATT characteristics of the SMP service.
48 bool "Request specific connection parameters for SMP packet exchange"
53 SMP commands are handled. This option allows to speed up the command
55 Its recommended to enable this if SMP is used for DFU.
60 int "Minimum connection interval for SMP packet exchange"
[all …]
DKconfig.shell13 bool "Shell mcumgr SMP transport"
18 Enables handling of SMP commands received over shell. This allows
24 int "Shell SMP MTU"
27 Maximum size of SMP frames sent and received over shell. This value
32 int "Shell SMP RX buffer count"
35 Number of buffers used for receiving SMP fragments over shell.
DKconfig.lorawan15 bool "LoRaWAN MCUmgr SMP transport"
18 Enables handling of SMP commands received over LoRaWAN.
23 int "LoRaWAN SMP frame port"
28 this port will be treated as SMP packets.
38 bool "Reassemble LoRaWAN SMP messages"
90 module-str = LoRaWAN MCUmgr SMP transport
/Zephyr-latest/subsys/bluetooth/host/
Dsmp.c2 * @file smp.c
40 #include "smp.h"
120 SMP_FLAG_TIMEOUT, /* if SMP timeout occurred */
142 /* SMP channel specific context */
147 /* Flags for SMP state machine */
219 #define DISPLAY_FIXED(smp) (IS_ENABLED(CONFIG_BT_FIXED_PASSKEY) && \ argument
221 (smp)->method == PASSKEY_DISPLAY)
251 /* SMP over BR/EDR channel specific context */
256 /* Flags for SMP state machine */
289 /* Pointer to internal data is used to mark that callbacks of given SMP channel are not initialized.
[all …]
/Zephyr-latest/include/zephyr/mgmt/mcumgr/smp/
Dsmp_client.h13 #include <zephyr/mgmt/mcumgr/smp/smp.h>
14 #include <zephyr/mgmt/mcumgr/transport/smp.h>
17 * @brief MCUmgr SMP client API
18 * @defgroup mcumgr_smp_client SMP client API
24 * @brief SMP client object
31 /** SMP transport object */
33 /** SMP SEQ */
42 * @brief Initialize a SMP client object.
45 * @param smp_type SMP transport type for discovering transport object
53 * @brief Response callback for SMP send.
[all …]
Dsmp.h10 * @brief SMP - Simple Management Protocol.
12 * SMP is a basic protocol that sits on top of the mgmt layer. SMP requests
18 * SMP request packets may contain multiple concatenated requests. Each
30 #include <zephyr/mgmt/mcumgr/transport/smp.h>
38 /** SMP MCUmgr protocol version, part of the SMP header */
81 * @brief Decodes, encodes, and transmits SMP packets.
94 * @brief Processes a single SMP request packet and sends all corresponding responses.
96 * Processes all SMP requests in an incoming packet. Requests are processed
102 * @param streamer The streamer providing the required SMP callbacks.
126 * @brief Translates a SMP version 2 error response to a legacy SMP version 1 error code.
[all …]
/Zephyr-latest/tests/kernel/smp/
Dtestcase.yaml4 kernel.multiprocessing.smp:
7 - smp
10 kernel.multiprocessing.smp.minimallibc:
13 - smp
19 kernel.multiprocessing.smp.affinity:
22 - smp
28 kernel.multiprocessing.smp.affinity.custom_rom_offset:
31 - smp
/Zephyr-latest/include/zephyr/mgmt/mcumgr/transport/
Dsmp_shell.h8 * @brief Shell transport for the mcumgr SMP protocol.
22 /** @brief Data used by SMP shell */
31 * @brief Attempt to process received bytes as part of an SMP frame.
34 * part of SMP frame until frame or buffer ends.
36 * @param data SMP shell transfer data.
40 * @return number of bytes consumed by the SMP
46 * @brief Processes SMP data and executes command if full frame was received.
50 * @param data SMP shell transfer data.
55 * @brief Initializes SMP transport over shell.
57 * This function should be called before feeding SMP transport with received
Dsmp.h18 * @brief MCUmgr transport SMP API
19 * @defgroup mcumgr_transport_smp MCUmgr transport SMP API
29 * @brief SMP transmit callback for transport
40 * @brief SMP MTU query callback for transport
55 * @brief SMP copy user_data callback
71 * @brief SMP free user_data callback
84 * This function is used to check if queued SMP data is still valid e.g. on a remote device
95 * @brief Function pointers of SMP transport functions, if a handler is NULL then it is not
116 * @brief SMP transport object for sending SMP responses.
138 * @brief SMP transport type for client registration
[all …]
Dsmp_bt.h8 * @brief Bluetooth transport for the mcumgr SMP protocol.
22 /** SMP service UUID value. */
26 /** SMP service UUID. */
30 /** SMP characteristic UUID value. */
34 /** SMP characteristic UUID
41 * @brief Registers the SMP Bluetooth service. Should only be called if the Bluetooth
49 * @brief Unregisters the SMP Bluetooth service.
56 * @brief Transmits an SMP command/response over the specified Bluetooth connection as a
60 * @param data Pointer to SMP message.
/Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/src/
Dmain.c124 /* Enable dummy SMP backend and ready for usage */ in ZTEST()
128 /* Send query command to dummy SMP backend */ in ZTEST()
141 zassert_equal(nb->len, TEST_RESPONSE_OK_LENGTH, "SMP response mismatch"); in ZTEST()
144 "SMP header length mismatch"); in ZTEST()
145 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
146 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST()
148 "SMP header group mismatch"); in ZTEST()
149 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
150 zassert_equal(header->nh_id, SETTINGS_MGMT_ID_COMMIT, "SMP header command ID mismatch"); in ZTEST()
151 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/smp_client/
DKconfig6 # Simple Management Protocol Client (SMP) processing source code provided
10 bool "SMP Client support"
12 This will enable SMP Request generation and response handling.
17 int "SMP command lifetime in seconds"
21 This define lifetime for SMP client send request. This configure is used if a request
25 int "SMP command re-send period in ms"
29 The time (in ms) which the SMP client will wait for a response before re-sending
33 int "SMP client max buffer count"
/Zephyr-latest/tests/kernel/spinlock/
Dtestcase.yaml5 - smp
9 - smp
13 - smp
19 - smp
25 - smp
29 - smp
/Zephyr-latest/tests/kernel/mp/
Dtestcase.yaml5 - smp
8 - smp
12 - smp
16 - smp
/Zephyr-latest/subsys/mgmt/mcumgr/smp/
DKconfig5 # The Kconfig file is dedicated to smp subdirectory of MCUmgr
7 # Simple Management Protocol (SMP) processing source code provided
11 # MCUMGR_SMP_ -- for general SMP options;
33 to be supported by zcbor decoding of SMP responses
69 int "Number of map/list encapsulations allowed for SMP decoding"
75 SMP commands/groups that provide no CBOR encoded payload
89 to be supported by zcbor encoding of SMP responses
125 int "Number of map/list encapsulations allowed for SMP encoding"
136 bool "SMP command status hooks"
139 This will enable SMP command status notification hooks for when an SMP message is
[all …]
/Zephyr-latest/boards/firefly/roc_rk3568_pc/
Droc_rk3568_pc_rk3568_smp.yaml1 identifier: roc_rk3568_pc/rk3568/smp
2 name: Rockchip ROC RK3568 PC SMP
10 - smp
/Zephyr-latest/boards/qemu/riscv64/
Dqemu_riscv64_qemu_virt_riscv64_smp.yaml1 identifier: qemu_riscv64/qemu_virt_riscv64/smp
2 name: QEMU Emulation for RISC-V 64-bit SMP
11 - smp
/Zephyr-latest/boards/qemu/riscv32/
Dqemu_riscv32_qemu_virt_riscv32_smp.yaml1 identifier: qemu_riscv32/qemu_virt_riscv32/smp
2 name: QEMU Emulation for RISC-V 32-bit SMP
12 - smp
/Zephyr-latest/boards/qemu/cortex_a53/
Dqemu_cortex_a53_qemu_cortex_a53_smp.yaml1 identifier: qemu_cortex_a53/qemu_cortex_a53/smp
2 name: QEMU Emulation for Cortex-A53 SMP
12 - smp
/Zephyr-latest/boards/nxp/imx95_evk/
Dimx95_evk_mimx9596_a55_smp.yaml7 identifier: imx95_evk/mimx9596/a55/smp
8 name: NXP i.MX95 EVK A55 with SMP kernel
16 - smp
/Zephyr-latest/tests/subsys/mgmt/mcumgr/enum_mgmt/src/
Dmain.c133 /* Enable dummy SMP backend and ready for usage */ in ZTEST()
137 /* Send query command to dummy SMP backend */ in ZTEST()
152 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
153 zassert_equal(header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
155 "SMP header group mismatch"); in ZTEST()
156 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
157 zassert_equal(header->nh_id, ENUM_MGMT_ID_COUNT, "SMP header command ID mismatch"); in ZTEST()
158 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
234 /* Enable dummy SMP backend and ready for usage */ in ZTEST()
238 /* Send query command to dummy SMP backend */ in ZTEST()
[all …]
/Zephyr-latest/samples/arch/smp/pktqueue/
Dsample.yaml3 name: SMP Pktqueue
14 sample.smp.pktqueue:
19 - smp
/Zephyr-latest/boards/nxp/imx8mn_evk/
Dimx8mn_evk_mimx8mn6_a53_smp.yaml7 identifier: imx8mn_evk/mimx8mn6/a53/smp
8 name: NXP i.MX8M Nano EVK A53 with SMP kernel
16 - smp
/Zephyr-latest/boards/nxp/imx8mp_evk/
Dimx8mp_evk_mimx8ml8_a53_smp.yaml7 identifier: imx8mp_evk/mimx8ml8/a53/smp
8 name: NXP i.MX8M Plus EVK A53 with SMP kernel
16 - smp

12345678910>>...18