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.
 
bool is_compressed
 True, if the component is compressed and requires decompression.
 
char hash [GOLIOTH_OTA_COMPONENT_HASH_LEN+1]
 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 68 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 83 of file ota.h.

◆ hash

char golioth_ota_component::hash[GOLIOTH_OTA_COMPONENT_HASH_LEN+1]

Artifact Hash.

Definition at line 79 of file ota.h.

◆ is_compressed

bool golioth_ota_component::is_compressed

True, if the component is compressed and requires decompression.

Definition at line 77 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 71 of file ota.h.

◆ size

int32_t golioth_ota_component::size

Size of the artifact, in bytes.

Definition at line 75 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 81 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 73 of file ota.h.


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