OtaFileHeader Struct Reference

#include <FileFormat.h>

Collaboration diagram for OtaFileHeader:
[legend]

Public Attributes

uint32_t magic
 File type identification, either OTA_HEADER_MAGIC_SIGNED or OTA_HEADER_MAGIC_NOT_SIGNED. More...
 
uint32_t buildTimestampLow
 File creation timestamp, Milliseconds since 1900/01/01 (lower 32 bits) More...
 
uint32_t buildTimestampHigh
 File creation timestamp, Milliseconds since 1900/01/01 (lower 32 bits) More...
 
uint8_t romCount
 Number of ROM images in this filem, each preceeded with an #OTA_RomHeader. More...
 
uint8_t reserved [3]
 Reserved bytes, must be zero for compatibility with future versions. More...
 

Detailed Description

File header of an unencrypted OTA upgrade file.

Member Data Documentation

◆ buildTimestampHigh

uint32_t OtaFileHeader::buildTimestampHigh

File creation timestamp, Milliseconds since 1900/01/01 (lower 32 bits)

◆ buildTimestampLow

uint32_t OtaFileHeader::buildTimestampLow

File creation timestamp, Milliseconds since 1900/01/01 (lower 32 bits)

◆ magic

uint32_t OtaFileHeader::magic

File type identification, either OTA_HEADER_MAGIC_SIGNED or OTA_HEADER_MAGIC_NOT_SIGNED.

◆ reserved

uint8_t OtaFileHeader::reserved[3]

Reserved bytes, must be zero for compatibility with future versions.

◆ romCount

uint8_t OtaFileHeader::romCount

Number of ROM images in this filem, each preceeded with an #OTA_RomHeader.


The documentation for this struct was generated from the following file: