Skip to content

struct ota_server_t

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

#include <ota/ota.h>

Public Attributes

Name
ota_protocol_tprotocol
the protocol, the update should be downloaded with
char *hostname
the DNS hostname of the OTA server
uint16_tport
the TCP/UDP port number for the OTA download

Detailed Description

cpp
struct ota_server_t;

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

This struct contains the necessary information to connect to an OTA server, including the protocol, hostname, and port number.

Public Attributes Documentation

variable protocol

cpp
ota_protocol_t ota_server_t::protocol

the protocol, the update should be downloaded with

variable hostname

cpp
char* ota_server_t::hostname

the DNS hostname of the OTA server

variable port

cpp
uint16_t ota_server_t::port

the TCP/UDP port number for the OTA download