Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
fs_mgmt.h File Reference

Go to the source code of this file.

Macros

Command IDs for File System Management group.
#define FS_MGMT_ID_FILE   0
 File download/upload.
 
#define FS_MGMT_ID_STAT   1
 File status.
 
#define FS_MGMT_ID_HASH_CHECKSUM   2
 File hash/checksum.
 
#define FS_MGMT_ID_SUPPORTED_HASH_CHECKSUM   3
 Supported file hash/checksum types.
 
#define FS_MGMT_ID_OPENED_FILE   4
 File close.
 

Enumerations

enum  fs_mgmt_err_code_t {
  FS_MGMT_ERR_OK = 0 , FS_MGMT_ERR_UNKNOWN , FS_MGMT_ERR_FILE_INVALID_NAME , FS_MGMT_ERR_FILE_NOT_FOUND ,
  FS_MGMT_ERR_FILE_IS_DIRECTORY , FS_MGMT_ERR_FILE_OPEN_FAILED , FS_MGMT_ERR_FILE_SEEK_FAILED , FS_MGMT_ERR_FILE_READ_FAILED ,
  FS_MGMT_ERR_FILE_TRUNCATE_FAILED , FS_MGMT_ERR_FILE_DELETE_FAILED , FS_MGMT_ERR_FILE_WRITE_FAILED , FS_MGMT_ERR_FILE_OFFSET_NOT_VALID ,
  FS_MGMT_ERR_FILE_OFFSET_LARGER_THAN_FILE , FS_MGMT_ERR_CHECKSUM_HASH_NOT_FOUND , FS_MGMT_ERR_MOUNT_POINT_NOT_FOUND , FS_MGMT_ERR_READ_ONLY_FILESYSTEM ,
  FS_MGMT_ERR_FILE_EMPTY
}
 Command result codes for file system management group. More...