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#
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.
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.
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.
upgradeFileDestination#
union sl_zigbee_af_ota_header_t::@4 sl_zigbee_af_ota_header_t::upgradeFileDestination