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#
The spec. does not require that the string be NULL terminated in the header stored on disk. Therefore, +1 is added in the data structure to ensure support of 32-character string without a NULL terminator.
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.
The remaining four fields are optional. Check the field control to determine if their values are valid.
Public Attribute Documentation#
headerVersion#
uint16_t EmberAfOtaHeader::headerVersion
1298
of file app/framework/include/af-types.h
headerLength#
uint16_t EmberAfOtaHeader::headerLength
1299
of file app/framework/include/af-types.h
fieldControl#
uint16_t EmberAfOtaHeader::fieldControl
1300
of file app/framework/include/af-types.h
manufacturerId#
uint16_t EmberAfOtaHeader::manufacturerId
1301
of file app/framework/include/af-types.h
imageTypeId#
uint16_t EmberAfOtaHeader::imageTypeId
1302
of file app/framework/include/af-types.h
firmwareVersion#
uint32_t EmberAfOtaHeader::firmwareVersion
1303
of file app/framework/include/af-types.h
zigbeeStackVersion#
uint16_t EmberAfOtaHeader::zigbeeStackVersion
1304
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, +1 is added in the data structure to ensure support of 32-character string without a NULL terminator.
1311
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.
1318
of file app/framework/include/af-types.h
securityCredentials#
uint8_t EmberAfOtaHeader::securityCredentials
The remaining four fields are optional. Check the field control to determine if their values are valid.
1324
of file app/framework/include/af-types.h
EUI64#
uint8_t EmberAfOtaHeader::EUI64[EUI64_SIZE]
1326
of file app/framework/include/af-types.h
UID#
uint8_t EmberAfOtaHeader::UID[UID_SIZE]
1327
of file app/framework/include/af-types.h
upgradeFileDestination#
union EmberAfOtaHeader::@4 EmberAfOtaHeader::upgradeFileDestination
1328
of file app/framework/include/af-types.h
minimumHardwareVersion#
uint16_t EmberAfOtaHeader::minimumHardwareVersion
1329
of file app/framework/include/af-types.h
maximumHardwareVersion#
uint16_t EmberAfOtaHeader::maximumHardwareVersion
1330
of file app/framework/include/af-types.h