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

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.
 

Detailed Description

The managed task's settings and state.

Fill the public fields, zero the private ones, then call sota_runner_start().


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