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, +1 is added in the data structure to ensure support of 32-character string without a NULL terminator.

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. Check the field control to determine if their values are valid.

uint8_t
uint8_t
union sl_zigbee_af_ota_header_t::@4

Public Attribute Documentation#

headerVersion#

uint16_t sl_zigbee_af_ota_header_t::headerVersion

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

headerLength#

uint16_t sl_zigbee_af_ota_header_t::headerLength

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

fieldControl#

uint16_t sl_zigbee_af_ota_header_t::fieldControl

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

manufacturerId#

uint16_t sl_zigbee_af_ota_header_t::manufacturerId

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

imageTypeId#

uint16_t sl_zigbee_af_ota_header_t::imageTypeId

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

firmwareVersion#

uint32_t sl_zigbee_af_ota_header_t::firmwareVersion

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

zigbeeStackVersion#

uint16_t sl_zigbee_af_ota_header_t::zigbeeStackVersion

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

headerString#

uint8_t sl_zigbee_af_ota_header_t::headerString[SL_ZIGBEE_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.


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

imageSize#

uint32_t sl_zigbee_af_ota_header_t::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 1317 of file app/framework/include/af-types.h

securityCredentials#

uint8_t sl_zigbee_af_ota_header_t::securityCredentials

The remaining four fields are optional. Check the field control to determine if their values are valid.


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

EUI64#

uint8_t sl_zigbee_af_ota_header_t::EUI64[EUI64_SIZE]

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

UID#

uint8_t sl_zigbee_af_ota_header_t::UID[UID_SIZE]

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

upgradeFileDestination#

union sl_zigbee_af_ota_header_t::@4 sl_zigbee_af_ota_header_t::upgradeFileDestination

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

minimumHardwareVersion#

uint16_t sl_zigbee_af_ota_header_t::minimumHardwareVersion

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

maximumHardwareVersion#

uint16_t sl_zigbee_af_ota_header_t::maximumHardwareVersion

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