-
CONFIG_FS_MGMT_MAX_OFFSET_LEN
¶
(No prompt – not directly user assignable.)
Type: int
Help¶
Maximal byte length of encoded offset/size, within transferred CBOR frame containing chunk of downloaded file. This value affects how much of data will fit into download buffer, as it selects sizes of fields within headers. NOTE: This option is hidden intentionally as it is intended to be assigned from limited set of allowed values, depending on the selection made in FS_MGMT_MAX_FILE_SIZE menu.
Defaults¶
Kconfig definition¶
At <Zephyr>/subsys/mgmt/mcumgr/Kconfig:70
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:32
→ <Zephyr>/subsys/mgmt/Kconfig:9
Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → Command Handlers → Enable mcumgr handlers for file management (insecure)
config FS_MGMT_MAX_OFFSET_LEN int default 3 ifFS_MGMT_MAX_FILE_SIZE_64KB
default 5 ifFS_MGMT_MAX_FILE_SIZE_4GB
depends onMCUMGR_CMD_FS_MGMT
&&MCUMGR
help Maximal byte length of encoded offset/size, within transferred CBOR frame containing chunk of downloaded file. This value affects how much of data will fit into download buffer, as it selects sizes of fields within headers. NOTE: This option is hidden intentionally as it is intended to be assigned from limited set of allowed values, depending on the selection made in FS_MGMT_MAX_FILE_SIZE menu.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)