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

SUIT firmware mock transport. More...

Detailed Description

SUIT firmware mock transport.

Mock transport backend definitions for SUIT manifests

Author
Koen Zandberg koen@.nosp@m.berg.nosp@m.zand..nosp@m.net

The mock transport is a noop transport. Payloads are preloaded in flash and provided as an array of suit_transport_mock_payload_t to the module.

Both the array of payloads named payloads and the size with name num_payloads must be provided.

Data Structures

struct  suit_transport_mock_payload_t
 Mock payload. More...
 

Functions

int suit_transport_mock_fetch (const suit_manifest_t *manifest)
 'fetch' a payload
 

Function Documentation

◆ suit_transport_mock_fetch()

int suit_transport_mock_fetch ( const suit_manifest_t manifest)

'fetch' a payload

The payload fetched from the payloads array is indicated by the suit_manifest_t::component_current member

Parameters
[in]manifestsuit manifest context
Returns
SUIT_OK if valid
negative otherwise