Mistake on this page? Email us
FirmwareHeader Struct Reference

#include <pal_update.h>

Data Fields

uint32_t magic
 Metadata-header specific magic code. */. More...
 
uint32_t version
 Revision number for this generic metadata header. */. More...
 
uint32_t checksum
 A checksum of this header. This field should be considered to be zeroed out for the sake of computing the checksum. More...
 
uint32_t totalSize
 Total space (in bytes) occupied by the firmware BLOB, including headers and any padding. */. More...
 
uint64_t firmwareVersion
 Version number for the accompanying firmware. Larger numbers imply more recent and thus preferred versions. This defines the selection order when multiple versions are available. More...
 
uint8_t firmwareSHA256 [SIZEOF_SHA256]
 A SHA-2 using a block-size of 256-bits of the firmware, including any firmware-padding. */. More...
 

Field Documentation

uint32_t FirmwareHeader::checksum

A checksum of this header. This field should be considered to be zeroed out for the sake of computing the checksum.

uint8_t FirmwareHeader::firmwareSHA256[SIZEOF_SHA256]

A SHA-2 using a block-size of 256-bits of the firmware, including any firmware-padding. */.

uint64_t FirmwareHeader::firmwareVersion

Version number for the accompanying firmware. Larger numbers imply more recent and thus preferred versions. This defines the selection order when multiple versions are available.

uint32_t FirmwareHeader::magic

Metadata-header specific magic code. */.

uint32_t FirmwareHeader::totalSize

Total space (in bytes) occupied by the firmware BLOB, including headers and any padding. */.

uint32_t FirmwareHeader::version

Revision number for this generic metadata header. */.


The documentation for this struct was generated from the following file:
  • mbed-cloud-client/mbed-client-pal/Source/PAL-Impl/Services-API/pal_update.h