Golioth Firmware SDK
Loading...
Searching...
No Matches
golioth_ota_component Struct Reference

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"")
 

Detailed Description

A component/artifact within an OTA manifest.

Definition at line 78 of file ota.h.

Field Documentation

◆ bootloader

char golioth_ota_component::bootloader[GOLIOTH_OTA_MAX_COMPONENT_BOOTLOADER_NAME_LEN+1]

Artifact bootloader ("mcuboot" or "default"")

Definition at line 91 of file ota.h.

◆ hash

uint8_t golioth_ota_component::hash[GOLIOTH_OTA_COMPONENT_BIN_HASH_LEN]

Artifact Hash.

Definition at line 87 of file ota.h.

◆ package

char golioth_ota_component::package[CONFIG_GOLIOTH_OTA_MAX_PACKAGE_NAME_LEN+1]

Artifact package name (e.g. "main")

Definition at line 81 of file ota.h.

◆ size

int32_t golioth_ota_component::size

Size of the artifact, in bytes.

Definition at line 85 of file ota.h.

◆ uri

char golioth_ota_component::uri[GOLIOTH_OTA_MAX_COMPONENT_URI_LEN+1]

Artifact uri (e.g. "/.u/c/[email protected]")

Definition at line 89 of file ota.h.

◆ version

char golioth_ota_component::version[CONFIG_GOLIOTH_OTA_MAX_VERSION_LEN+1]

Artifact version (e.g. "1.0.0")

Definition at line 83 of file ota.h.


The documentation for this struct was generated from the following file: