:orphan: .. title:: CONFIG_FS_MGMT_MAX_OFFSET_LEN .. kconfig:: CONFIG_FS_MGMT_MAX_OFFSET_LEN CONFIG_FS_MGMT_MAX_OFFSET_LEN ############################# *(No prompt -- not directly user assignable.)* Type: ``int`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`MCUMGR_CMD_FS_MGMT ` && \ :kconfig:`MCUMGR ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - 3 if \ :kconfig:`FS_MGMT_MAX_FILE_SIZE_64KB ` - 5 if \ :kconfig:`FS_MGMT_MAX_FILE_SIZE_4GB ` Kconfig definition ================== At ``/mgmt/mcumgr/Kconfig:70`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:35`` → ``/mgmt/Kconfig:9`` Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → Command Handlers → Enable mcumgr handlers for file management (insecure) .. code-block:: kconfig config FS_MGMT_MAX_OFFSET_LEN int default 3 if FS_MGMT_MAX_FILE_SIZE_64KB default 5 if FS_MGMT_MAX_FILE_SIZE_4GB depends on MCUMGR_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.)*