Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
fs_mgmt_callbacks.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Laird Connectivity
3 * Copyright (c) 2022 Nordic Semiconductor ASA
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
13
14#ifndef H_MCUMGR_FS_MGMT_CALLBACKS_
15#define H_MCUMGR_FS_MGMT_CALLBACKS_
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
28
42
57
75
79
80#ifdef __cplusplus
81}
82#endif
83
84#endif
fs_mgmt_group_events
MGMT event opcodes for filesystem management group.
Definition fs_mgmt_callbacks.h:32
fs_mgmt_file_access_types
The type of operation that is being requested for a given file access callback.
Definition fs_mgmt_callbacks.h:44
@ 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:34
@ 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:37
@ MGMT_EVT_OP_FS_MGMT_ALL
Used to enable all fs_mgmt_group events.
Definition fs_mgmt_callbacks.h:40
@ FS_MGMT_FILE_ACCESS_WRITE
Access to write file (file upload).
Definition fs_mgmt_callbacks.h:49
@ FS_MGMT_FILE_ACCESS_READ
Access to read file (file download).
Definition fs_mgmt_callbacks.h:46
@ FS_MGMT_FILE_ACCESS_HASH_CHECKSUM
Access to calculate hash or checksum of file.
Definition fs_mgmt_callbacks.h:55
@ FS_MGMT_FILE_ACCESS_STATUS
Access to get status of file.
Definition fs_mgmt_callbacks.h:52
@ 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:64
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:73
enum fs_mgmt_file_access_types access
Specifies the type of the operation that is being requested.
Definition fs_mgmt_callbacks.h:66