Skip to content

struct ota_t

Represents an Over-The-Air (OTA) update. More...

#include <ota/ota.h>

Public Attributes

Name
inttarget
the hardware target of the image to be downloaded
ota_server_tserver
the ota_server_t information about the OTA server
uint32_tsize_bytes
the size of the image to be downloaded
ota_checksum_algorithm_tcs_algo
the algorithm used to calculate the checksum
ota_checksum_tcs
the checksum of the image

Detailed Description

cpp
struct ota_t;

Represents an Over-The-Air (OTA) update.

This struct contains the necessary information to perform an OTA update, including the target device, OTA server details, update size, checksum algorithm, and checksum value.

Public Attributes Documentation

variable target

cpp
int ota_t::target

the hardware target of the image to be downloaded

variable server

cpp
ota_server_t ota_t::server

the ota_server_t information about the OTA server

variable size_bytes

cpp
uint32_t ota_t::size_bytes

the size of the image to be downloaded

variable cs_algo

cpp
ota_checksum_algorithm_t ota_t::cs_algo

the algorithm used to calculate the checksum

variable cs

cpp
ota_checksum_t ota_t::cs

the checksum of the image