Module sbp::messages::file_io[][src]

Expand description

Messages for using device’s onboard flash filesystem functionality. This allows data to be stored persistently in the device’s program flash with wear-levelling using a simple filesystem interface. The file system interface (CFS) defines an abstract API for reading directories and for reading and writing files.

Note that some of these messages share the same message type ID for both the host request and the device response.

Structs

Request advice on the optimal configuration for FileIO

Response with advice on the optimal configuration for FileIO.

List files in a directory (host => device)

Files listed in a directory (host <= device)

Read file from the file system (host => device)

File read from the file system (host <= device)

Delete a file from the file system (host => device)

Write to file (host => device)

File written to (host <= device)