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.
Referenced by update_control_structure(), and verify_control_structure().
uint32 tstrOtaControlSec::u32OtaCortusAppRollbackOffset |
Cortus app rollback offset in flash.
uint32 tstrOtaControlSec::u32OtaCortusAppRollbackValidSts |
Roll-back cortus app valid status
uint32 tstrOtaControlSec::u32OtaCortusAppRollbackVer |
Roll-back cortus app version (ex 18.0.1)
uint32 tstrOtaControlSec::u32OtaCortusAppWorkingOffset |
Cortus app working offset in flash.
uint32 tstrOtaControlSec::u32OtaCortusAppWorkingValidSts |
Working Cortus app valid status.
uint32 tstrOtaControlSec::u32OtaCortusAppWorkingVer |
Working cortus app version (ex 1.0.1)
uint32 tstrOtaControlSec::u32OtaCurrentWorkingImagFirmwareVer |
Current working image firmware version [Major/Product ID/Minor/Patch]
uint32 tstrOtaControlSec::u32OtaCurrentWorkingImagHifVer |
Current working image HIF version
uint32 tstrOtaControlSec::u32OtaCurrentWorkingImagOffset |
Current working offset in flash.
Referenced by find_flash_section(), and m2m_flash_switch_firmware().
uint32 tstrOtaControlSec::u32OtaFormatVersion |
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.
Referenced by verify_control_structure().
uint32 tstrOtaControlSec::u32OtaRollbackImageOffset |
Roll-back image offset in flash.
Referenced by find_flash_section(), and m2m_flash_switch_firmware().
uint32 tstrOtaControlSec::u32OtaRollbackImageValidStatus |
Roll-back image valid status.
Referenced by m2m_flash_switch_firmware().
uint32 tstrOtaControlSec::u32OtaRollbackImagFirmwareVer |
Roll-back image firmware version [Major/Product ID/Minor/Patch]
uint32 tstrOtaControlSec::u32OtaRollbackImagHifVer |
Roll-back working image HIF version
uint32 tstrOtaControlSec::u32OtaSequenceNumber |
Sequence number is used while update the control structure to keep track of how many times that section updated.
Referenced by update_control_structure().