Struct SYN_OTA_Manager¶
Zero-heap Streaming OTA Manager context.
#include <syn_ota.h>
Public Attributes¶
| Type | Name |
|---|---|
| SYN_FwBootManager * | boot_mgr |
| SYN_OTA_CryptoMode | crypto_mode |
| uint32_t | expected_crc |
| uint32_t | expected_total_sz |
| SYN_FwUpdate | fw_upd |
| SYN_OTA_ErrorCode | last_error |
| void * | lwm2m_fw_ctx |
| uint8_t * | page_buf |
| size_t | page_buf_sz |
| uint32_t | slot_size |
| SYN_OTA_State | state |
| uint8_t | target_slot |
| uint32_t | target_slot_addr |
| uint32_t | target_version |
Public Attributes Documentation¶
variable boot_mgr¶
Pointer to dual-bank boot manager
variable crypto_mode¶
Selected cryptographic mode
variable expected_crc¶
Expected CRC-32 of image data
variable expected_total_sz¶
Declared total firmware size (bytes)
variable fw_upd¶
Underlying streaming flash updater
variable last_error¶
Last recorded error code
variable lwm2m_fw_ctx¶
Optional SYN_LwM2M_FirmwareContext*
variable page_buf¶
Flash write page buffer
variable page_buf_sz¶
Page buffer size
variable slot_size¶
Maximum slot size in bytes
variable state¶
Current OTA lifecycle state
variable target_slot¶
Chosen slot (SLOT_A, SLOT_B, or AUTO)
variable target_slot_addr¶
Target slot base flash address
variable target_version¶
Declared new version code
The documentation for this class was generated from the following file src/syntropic/system/syn_ota.h