Specifies the macros and defines used by the OTA APIs.
Macros | |
#define | OTA_MAGIC_VALUE (0x1ABCDEF9) |
#define | OTA_SHA256_DIGEST_SIZE (32) |
#define | OTA_STATUS_INVALID (0x23987718) |
#define | OTA_STATUS_VALID (0x12526285) |
#define OTA_MAGIC_VALUE (0x1ABCDEF9) |
Magic value set at the beginning of the OTA image header.
Referenced by verify_control_structure().
#define OTA_SHA256_DIGEST_SIZE (32) |
SHA256 digest size in the OTA image. The SHA256 digest is set at the beginning of image before the OTA header.
#define OTA_STATUS_INVALID (0x23987718) |
Magic value in the control structure for a invalid image after ROLLBACK.
Referenced by m2m_flash_switch_firmware().
#define OTA_STATUS_VALID (0x12526285) |
Magic value in the control structure for a valid image after ROLLBACK.