:orphan: .. title:: FS_MGMT_MAX_OFFSET_LEN .. option:: 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. Direct dependencies =================== \ :option:`MCUMGR_CMD_FS_MGMT ` && \ :option:`MCUMGR ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - 3 if \ :option:`FS_MGMT_MAX_FILE_SIZE_64KB ` - 5 if \ :option:`FS_MGMT_MAX_FILE_SIZE_4GB ` Kconfig definition ================== .. highlight:: kconfig At ``subsys/mgmt/mcumgr/Kconfig:70`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:35`` → ``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) .. parsed-literal:: config FS_MGMT_MAX_OFFSET_LEN int default 3 if \ :option:`FS_MGMT_MAX_FILE_SIZE_64KB ` default 5 if \ :option:`FS_MGMT_MAX_FILE_SIZE_4GB ` depends on \ :option:`MCUMGR_CMD_FS_MGMT ` && \ :option:`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.)*