Golioth Firmware SDK
|
A component/artifact within an OTA manifest. More...
#include <ota.h>
Data Fields | |
char | package [CONFIG_GOLIOTH_OTA_MAX_PACKAGE_NAME_LEN+1] |
Artifact package name (e.g. "main") | |
char | version [CONFIG_GOLIOTH_OTA_MAX_VERSION_LEN+1] |
Artifact version (e.g. "1.0.0") | |
int32_t | size |
Size of the artifact, in bytes. | |
uint8_t | hash [GOLIOTH_OTA_COMPONENT_BIN_HASH_LEN] |
Artifact Hash. | |
char | uri [GOLIOTH_OTA_MAX_COMPONENT_URI_LEN+1] |
Artifact uri (e.g. "/.u/c/[email protected]") | |
char | bootloader [GOLIOTH_OTA_MAX_COMPONENT_BOOTLOADER_NAME_LEN+1] |
Artifact bootloader ("mcuboot" or "default"") | |
char golioth_ota_component::bootloader[GOLIOTH_OTA_MAX_COMPONENT_BOOTLOADER_NAME_LEN+1] |
uint8_t golioth_ota_component::hash[GOLIOTH_OTA_COMPONENT_BIN_HASH_LEN] |
char golioth_ota_component::package[CONFIG_GOLIOTH_OTA_MAX_PACKAGE_NAME_LEN+1] |
int32_t golioth_ota_component::size |
char golioth_ota_component::uri[GOLIOTH_OTA_MAX_COMPONENT_URI_LEN+1] |
Artifact uri (e.g. "/.u/c/[email protected]")
char golioth_ota_component::version[CONFIG_GOLIOTH_OTA_MAX_VERSION_LEN+1] |