SimpleOTA client v1.2.0
Shared core of the SimpleOTA Arduino and ESP-IDF clients
Loading...
Searching...
No Matches
sota_event_t Struct Reference

One event, valid only during the sota_app_event() call. More...

#include <sota_app.h>

Data Fields

sota_event_id_t id
 What happened.
 
const char * reason
 A reason token or server status, or NULL.
 
uint32_t build
 The build the event is about, 0 when none.
 
size_t done
 DOWNLOAD_PROGRESS: bytes written.
 
size_t total
 DOWNLOAD_PROGRESS: bytes expected, 0 when unknown.
 

Detailed Description

One event, valid only during the sota_app_event() call.

Field Documentation

◆ total

size_t sota_event_t::total

DOWNLOAD_PROGRESS: bytes expected, 0 when unknown.

UPDATE_AVAILABLE: the offer's size, 0 when unknown.


The documentation for this struct was generated from the following file: