Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
MCUmgr fs_mgmt callback API

MCUmgr fs_mgmt callback API . More...

Data Structures

struct  fs_mgmt_file_access
 Structure provided in the MGMT_EVT_OP_FS_MGMT_FILE_ACCESS notification callback: This callback function is used to notify the application about a pending file read/write request and to authorise or deny it. More...
 

Enumerations

enum  fs_mgmt_file_access_types { FS_MGMT_FILE_ACCESS_READ , FS_MGMT_FILE_ACCESS_WRITE , FS_MGMT_FILE_ACCESS_STATUS , FS_MGMT_FILE_ACCESS_HASH_CHECKSUM }
 The type of operation that is being requested for a given file access callback. More...
 

Detailed Description

MCUmgr fs_mgmt callback API .

Enumeration Type Documentation

◆ fs_mgmt_file_access_types

#include <zephyr/mgmt/mcumgr/grp/fs_mgmt/fs_mgmt_callbacks.h>

The type of operation that is being requested for a given file access callback.

Enumerator
FS_MGMT_FILE_ACCESS_READ 

Access to read file (file upload).

FS_MGMT_FILE_ACCESS_WRITE 

Access to write file (file download).

FS_MGMT_FILE_ACCESS_STATUS 

Access to get status of file.

FS_MGMT_FILE_ACCESS_HASH_CHECKSUM 

Access to calculate hash or checksum of file.