SUIT firmware mock transport. More...
SUIT firmware mock transport.
Mock transport backend definitions for SUIT manifests
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 | |
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
[in] | manifest | suit manifest context |