This structure is an in-memory representation of the Over-the-air header data that resides on disk. It is not a byte-for-byte copy.

Public Attributes#

uint16_t
uint16_t
uint16_t
uint8_t

The spec. does NOT require that the string be NULL terminated in the header stored on disk. Therefore we make sure we can support a 32-character string without a NULL terminator by adding +1 in the data structure.

uint32_t

When reading the header this will be the complete length of the file. When writing the header, this must be set to the length of the MFG image data portion including all tags.

uint8_t

The remaining four fields are optional. The field control should be checked to determine if their values are valid.

uint8_t
uint8_t
union EmberAfOtaHeader::@5

Public Attribute Documentation#

headerVersion#

uint16_t EmberAfOtaHeader::headerVersion

Definition at line 1227 of file ./app/framework/include/af-types.h

headerLength#

uint16_t EmberAfOtaHeader::headerLength

Definition at line 1228 of file ./app/framework/include/af-types.h

fieldControl#

uint16_t EmberAfOtaHeader::fieldControl

Definition at line 1229 of file ./app/framework/include/af-types.h

manufacturerId#

uint16_t EmberAfOtaHeader::manufacturerId

Definition at line 1230 of file ./app/framework/include/af-types.h

imageTypeId#

uint16_t EmberAfOtaHeader::imageTypeId

Definition at line 1231 of file ./app/framework/include/af-types.h

firmwareVersion#

uint32_t EmberAfOtaHeader::firmwareVersion

Definition at line 1232 of file ./app/framework/include/af-types.h

zigbeeStackVersion#

uint16_t EmberAfOtaHeader::zigbeeStackVersion

Definition at line 1233 of file ./app/framework/include/af-types.h

headerString#

uint8_t EmberAfOtaHeader::headerString[EMBER_AF_OTA_MAX_HEADER_STRING_LENGTH+1]

The spec. does NOT require that the string be NULL terminated in the header stored on disk. Therefore we make sure we can support a 32-character string without a NULL terminator by adding +1 in the data structure.


Definition at line 1241 of file ./app/framework/include/af-types.h

imageSize#

uint32_t EmberAfOtaHeader::imageSize

When reading the header this will be the complete length of the file. When writing the header, this must be set to the length of the MFG image data portion including all tags.


Definition at line 1248 of file ./app/framework/include/af-types.h

securityCredentials#

uint8_t EmberAfOtaHeader::securityCredentials

The remaining four fields are optional. The field control should be checked to determine if their values are valid.


Definition at line 1254 of file ./app/framework/include/af-types.h

EUI64#

uint8_t EmberAfOtaHeader::EUI64[EUI64_SIZE]

Definition at line 1256 of file ./app/framework/include/af-types.h

UID#

uint8_t EmberAfOtaHeader::UID[UID_SIZE]

Definition at line 1257 of file ./app/framework/include/af-types.h

upgradeFileDestination#

union EmberAfOtaHeader::@5 EmberAfOtaHeader::upgradeFileDestination

Definition at line 1258 of file ./app/framework/include/af-types.h

minimumHardwareVersion#

uint16_t EmberAfOtaHeader::minimumHardwareVersion

Definition at line 1259 of file ./app/framework/include/af-types.h

maximumHardwareVersion#

uint16_t EmberAfOtaHeader::maximumHardwareVersion

Definition at line 1260 of file ./app/framework/include/af-types.h