8#ifndef H_MCUMGR_FS_MGMT_CALLBACKS_
9#define H_MCUMGR_FS_MGMT_CALLBACKS_
fs_mgmt_group_events
MGMT event opcodes for filesystem management group.
Definition fs_mgmt_callbacks.h:26
fs_mgmt_file_access_types
The type of operation that is being requested for a given file access callback.
Definition fs_mgmt_callbacks.h:38
@ MGMT_EVT_OP_FS_MGMT_FILE_ACCESS
Callback when a file has been accessed, data is fs_mgmt_file_access.
Definition fs_mgmt_callbacks.h:28
@ MGMT_EVT_OP_FS_MGMT_FILE_ACCESS_DONE
Callback when a file upload/download is finished, data is fs_mgmt_file_access.
Definition fs_mgmt_callbacks.h:31
@ MGMT_EVT_OP_FS_MGMT_ALL
Used to enable all fs_mgmt_group events.
Definition fs_mgmt_callbacks.h:34
@ FS_MGMT_FILE_ACCESS_WRITE
Access to write file (file upload).
Definition fs_mgmt_callbacks.h:43
@ FS_MGMT_FILE_ACCESS_READ
Access to read file (file download).
Definition fs_mgmt_callbacks.h:40
@ FS_MGMT_FILE_ACCESS_HASH_CHECKSUM
Access to calculate hash or checksum of file.
Definition fs_mgmt_callbacks.h:49
@ FS_MGMT_FILE_ACCESS_STATUS
Access to get status of file.
Definition fs_mgmt_callbacks.h:46
@ MGMT_EVT_GRP_FS
Definition callback_defines.h:63
Structure provided in the MGMT_EVT_OP_FS_MGMT_FILE_ACCESS notification callback: This callback functi...
Definition fs_mgmt_callbacks.h:58
char * filename
Path and filename of file be accesses, note that this can be changed by handlers to redirect file acc...
Definition fs_mgmt_callbacks.h:67
enum fs_mgmt_file_access_types access
Specifies the type of the operation that is being requested.
Definition fs_mgmt_callbacks.h:60