Loading...
Searching...
No Matches
SUIT secure firmware OTA VFS transport

SUIT firmware VFS transport. More...

Detailed Description

SUIT firmware VFS transport.

         Allows to load firmware updates from the filesystem.
         URL scheme: file://<path>/<to>/manifest.suit

         e.g. set `SUIT_COAP_ROOT` to `file:///sd0/fw` and place the
         update files to the folder fw/ on the first SD card.

VFS transport backend definitions for SUIT manifests

Author
Benjamin Valentin benja.nosp@m.min..nosp@m.valen.nosp@m.tin@.nosp@m.ml-pa.nosp@m..com

Functions

int suit_transport_vfs_fetch (const suit_manifest_t *manifest, coap_blockwise_cb_t cb, void *ctx)
 fetch a payload from the filesystem
 

Function Documentation

◆ suit_transport_vfs_fetch()

int suit_transport_vfs_fetch ( const suit_manifest_t manifest,
coap_blockwise_cb_t  cb,
void *  ctx 
)

fetch a payload from the filesystem

Parameters
[in]manifestsuit manifest context
[in]cbfilesystem block callback
[in]ctxcallback context
Returns
SUIT_OK if valid
negative otherwise