The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_MCUMGR_CMD_SHELL_MGMT

Enable mcumgr handlers for shell management

Type: bool

Help

Enables mcumgr handlers for shell management. The handler will utilize
the dummy backend to execute shell commands and capture the output to
an internal memory buffer. This way, there is no interaction with
physical interfaces outside of the scope of the user.
It is possible to use additional shell backends in coordination
with this handler and they will not interfere.
The SHELL_BACKEND_DUMMY_BUF_SIZE will affect how many characters
will be returned from command output, if your output gets cut, then
increase the value. Remember to set MCUMGR_BUF_SIZE accordingly.

Direct dependencies

SHELL && MCUMGR

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Kconfig definition

At subsys/mgmt/mcumgr/Kconfig:126

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:35subsys/mgmt/Kconfig:9

Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → Command Handlers

config MCUMGR_CMD_SHELL_MGMT
    bool "Enable mcumgr handlers for shell management"
    select SHELL_BACKEND_DUMMY
    depends on SHELL && MCUMGR
    help
      Enables mcumgr handlers for shell management. The handler will utilize
      the dummy backend to execute shell commands and capture the output to
      an internal memory buffer. This way, there is no interaction with
      physical interfaces outside of the scope of the user.
      It is possible to use additional shell backends in coordination
      with this handler and they will not interfere.
      The SHELL_BACKEND_DUMMY_BUF_SIZE will affect how many characters
      will be returned from command output, if your output gets cut, then
      increase the value. Remember to set MCUMGR_BUF_SIZE accordingly.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)