EmberZclOtaBootloadFileHeaderInfo_t Struct Reference

#include < ota-bootload-core.h >

Data Fields

uint16_t version
uint16_t headerSize
EmberZclOtaBootloadFileSpec_t spec
EmberZclOtaBootloadStackVersion_t stackVersion
uint8_t string [ EMBER_ZCL_OTA_BOOTLOAD_HEADER_STRING_SIZE ]
uint32_t fileSize
EmberZclOtaBootloadSecurityCredentialVersion_t securityCredentialVersion
EmberZclUid_t destination
EmberZclOtaBootloadHardwareVersionRange_t hardwareVersionRange

This structure holds information about an OTA file header.

This type contains all of the same information in the header of an actual OTA file, except for the magic number ( EMBER_ZCL_OTA_BOOTLOAD_FILE_MAGIC_NUMBER ), which is constant, and the field control. The field control is replaced by the use of invalid values for the destination and hardwareVersionRange members.

Member Invalid Value
destination All 0xFF bytes
hardwareVersionRange.minimum EMBER_ZCL_OTA_BOOTLOAD_HARDWARE_VERSION_NULL
hardwareVersionRange.maximum EMBER_ZCL_OTA_BOOTLOAD_HARDWARE_VERSION_NULL
See also
EmberZclOtaBootloadFileHeaderFieldControl_t

Field Documentation

EmberZclUid_t EmberZclOtaBootloadFileHeaderInfo_t::destination

OTA file destination identifier.

uint32_t EmberZclOtaBootloadFileHeaderInfo_t::fileSize

OTA file size, in bytes.

EmberZclOtaBootloadHardwareVersionRange_t EmberZclOtaBootloadFileHeaderInfo_t::hardwareVersionRange

OTA file earliest and latest valid hardware versions.

uint16_t EmberZclOtaBootloadFileHeaderInfo_t::headerSize

OTA file header size, in bytes.

EmberZclOtaBootloadSecurityCredentialVersion_t EmberZclOtaBootloadFileHeaderInfo_t::securityCredentialVersion

OTA file security credential version.

EmberZclOtaBootloadFileSpec_t EmberZclOtaBootloadFileHeaderInfo_t::spec

OTA file specification.

EmberZclOtaBootloadStackVersion_t EmberZclOtaBootloadFileHeaderInfo_t::stackVersion

OTA file intended stack version.

uint8_t EmberZclOtaBootloadFileHeaderInfo_t::string[ EMBER_ZCL_OTA_BOOTLOAD_HEADER_STRING_SIZE ]

OTA file header string (must be NUL-terminated).

uint16_t EmberZclOtaBootloadFileHeaderInfo_t::version

OTA file metadata version.


The documentation for this struct was generated from the following file:
  • ota-bootload-core.h