Module riot_coap_handler_demos::vfs

source ·
Expand description

A fileserver backed by the RIOT VFS


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.


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