|
SimpleOTA client v1.1.0
Shared core of the SimpleOTA Arduino and ESP-IDF clients
|
Everything persisted except the outbox, as loaded at boot. More...
#include <sota_state.h>
Data Fields | |
| sota_identity_t | live |
| sota_build, sota_hash, sota_version: what runs. | |
| uint8_t | trial |
| sota_trial, 0 when missing. | |
| uint8_t | staged |
| sota_staged, 0 when missing. | |
| uint32_t | new_part |
| sota_new_part: the update's slot. | |
| uint32_t | prev_part |
| sota_prev_part: the previous image's slot. | |
| sota_identity_t | prev |
| sota_prev_*: the identity a rollback restores. | |
| char | deployment [64] |
| sota_fail_dep; the size of sota_report_t's | |
| uint32_t | report_build |
| sota_fail_build | |
| uint8_t | conf_pend |
| sota_conf_pend | |
| char | rb_reason [24] |
| sota_rb_reason, empty when missing. | |
| char | image_id [17] |
| sota_image | |
Everything persisted except the outbox, as loaded at boot.