Control Section Structure. The Control Section is used to define the working image and the validity of the roll-back image and its offset, also both firmware versions are kept in this structure.
#include <m2m_types.h>
uint32 tstrOtaControlSec::u32OtaControlSecCrc |
CRC for the control structure to ensure validity.
uint32 tstrOtaControlSec::u32OtaCortusAppRollbackOffset |
Cortus app rollback offset in flash. Removed in v19.6.1.
uint32 tstrOtaControlSec::u32OtaCortusAppRollbackValidSts |
Roll-back cortus app valid status. Removed in v19.6.1.
uint32 tstrOtaControlSec::u32OtaCortusAppRollbackVer |
Roll-back cortus app version (ex 18.0.3). Removed in v19.6.1.
uint32 tstrOtaControlSec::u32OtaCortusAppWorkingOffset |
Cortus app working offset in flash. Removed in v19.6.1.
uint32 tstrOtaControlSec::u32OtaCortusAppWorkingValidSts |
Working Cortus app valid status. Removed in v19.6.1.
uint32 tstrOtaControlSec::u32OtaCortusAppWorkingVer |
Working cortus app version (ex 18.0.3). Removed in v19.6.1.
uint32 tstrOtaControlSec::u32OtaCurrentworkingImagFirmwareVer |
Current working image version ex 18.0.1.
uint32 tstrOtaControlSec::u32OtaCurrentworkingImagOffset |
Current working offset in flash.
uint32 tstrOtaControlSec::u32OtaFormatVersion |
NA NA NA Flash version cs struct version 00 00 00 00 00
Control structure format version, the value will be incremented in case of structure changed or updated
uint32 tstrOtaControlSec::u32OtaLastCheckTime |
Last time OTA check for update.
uint32 tstrOtaControlSec::u32OtaMagicValue |
Magic value used to ensure the structure is valid or not.
uint32 tstrOtaControlSec::u32OtaRollbackImageOffset |
Roll-back image offset in flash
uint32 tstrOtaControlSec::u32OtaRollbackImageValidStatus |
Roll-back image valid status.
uint32 tstrOtaControlSec::u32OtaRollbackImagFirmwareVer |
Roll-back image version (ex 18.0.3).
uint32 tstrOtaControlSec::u32OtaSequenceNumber |
Sequence number is used while update the control structure to keep track of how many times that section updated.