|
SimpleOTA client v1.1.0
Shared core of the SimpleOTA Arduino and ESP-IDF clients
|
The managed task's settings and state. More...
#include <sota_runner.h>
Data Fields | |
| sota_engine_t * | engine |
| The engine it drives. | |
| uint32_t | initial_delay_ms |
| Before the first check, unless a confirm timeout is due. | |
| bool(* | is_connected )(void *ctx) |
| NULL: always connected. | |
| void * | ctx |
| Passed to is_connected. | |
| uint32_t | stack_size |
| Also for the rollback task without a runner. | |
| unsigned | priority |
| The task's priority. | |
| void *volatile | task |
| Private: the running task, or NULL. | |
| volatile bool | stop |
| Private: asked to stop. | |
The managed task's settings and state.
Fill the public fields, zero the private ones, then call sota_runner_start().