|
SimpleOTA client v1.0.0
Shared core of the SimpleOTA Arduino and ESP-IDF clients
|
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. | |
One event, valid only during the sota_app_event() call.
| size_t sota_event_t::total |
DOWNLOAD_PROGRESS: bytes expected, 0 when unknown.
UPDATE_AVAILABLE: the offer's size, 0 when unknown.