Skip to content

Struct SYN_OTA_Manager

ClassList > 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

SYN_FwBootManager* SYN_OTA_Manager::boot_mgr;

Pointer to dual-bank boot manager


variable crypto_mode

SYN_OTA_CryptoMode SYN_OTA_Manager::crypto_mode;

Selected cryptographic mode


variable expected_crc

uint32_t SYN_OTA_Manager::expected_crc;

Expected CRC-32 of image data


variable expected_total_sz

uint32_t SYN_OTA_Manager::expected_total_sz;

Declared total firmware size (bytes)


variable fw_upd

SYN_FwUpdate SYN_OTA_Manager::fw_upd;

Underlying streaming flash updater


variable last_error

SYN_OTA_ErrorCode SYN_OTA_Manager::last_error;

Last recorded error code


variable lwm2m_fw_ctx

void* SYN_OTA_Manager::lwm2m_fw_ctx;

Optional SYN_LwM2M_FirmwareContext*


variable page_buf

uint8_t* SYN_OTA_Manager::page_buf;

Flash write page buffer


variable page_buf_sz

size_t SYN_OTA_Manager::page_buf_sz;

Page buffer size


variable slot_size

uint32_t SYN_OTA_Manager::slot_size;

Maximum slot size in bytes


variable state

SYN_OTA_State SYN_OTA_Manager::state;

Current OTA lifecycle state


variable target_slot

uint8_t SYN_OTA_Manager::target_slot;

Chosen slot (SLOT_A, SLOT_B, or AUTO)


variable target_slot_addr

uint32_t SYN_OTA_Manager::target_slot_addr;

Target slot base flash address


variable target_version

uint32_t SYN_OTA_Manager::target_version;

Declared new version code



The documentation for this class was generated from the following file src/syntropic/system/syn_ota.h