riot_coap_handler_demos

Module vfs

Source
Available on crate feature vfs only.
Expand description

A fileserver backed by the RIOT VFS

§INCOMPLETE

This currently works, but is quite rought around the edges:

  • Error handling is sloppy, and while most of the file system operations should not fail, a panic can be forced over the network by requesting a block outside a file’s size.

  • Files do not send ETags along.

  • Directory listings are in plain text (RFC6690 would need knowledge of the current path), and do not indicate whether an entry is a directory.

Structs§

Enums§

Constants§

Functions§

  • Build a handler that will serve a subtree of the file system

Type Aliases§