CONFIG_IMG_MGMT_FRUGAL_LIST

Omit zero, empty or false values from status list

Type: bool

Help

The status list send back from the device will only be filled with data that is non-zero,
non-empty or true.  This option slightly reduces number of bytes transferred back from
a device but requires support in client software, which has to default omitted values.
Works correctly with mcumgr-cli.

Direct dependencies

MCUMGR_CMD_IMG_MGMT && MCUMGR

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/subsys/mgmt/mcumgr/Kconfig:212

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

Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → Command Handlers → Enable mcumgr handlers for image management

config IMG_MGMT_FRUGAL_LIST
    bool "Omit zero, empty or false values from status list"
    depends on MCUMGR_CMD_IMG_MGMT && MCUMGR
    help
      The status list send back from the device will only be filled with data that is non-zero,
      non-empty or true.  This option slightly reduces number of bytes transferred back from
      a device but requires support in client software, which has to default omitted values.
      Works correctly with mcumgr-cli.

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