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

Files

 sota_app.h
 What the engine tells the application: events, log lines, and a wake-up when the confirm timeout fires.
 
 sota_boot.h
 Which image runs and which boots next.
 
 sota_engine.h
 The update engine both clients run: boot validation, check-ins, applying an update, the trial and its confirm or rollback, and the deferred reports.
 
 sota_engine_priv.h
 What sota_engine.c and sota_apply.c share.
 
 sota_image.h
 Writing an update into the next app slot.
 
 sota_json.h
 Minimal flat-JSON value extraction for SimpleOTA responses.
 
 sota_kv.h
 The key-value store the core persists its state in.
 
 sota_net.h
 HTTP, implemented by the platform port (esp_http_client on ESP32, for both clients) and by the host tests' fake.
 
 sota_protocol.h
 The SimpleOTA HTTP API's request bodies and the check response.
 
 sota_report.h
 Delivery and polling policy for deferred status reports.
 
 sota_runner.h
 The managed task, implemented by the port (FreeRTOS on ESP32): it checks in on the engine's schedule, applies what is offered, and runs the confirm timeout's rollback.
 
 sota_sha256.h
 Minimal FIPS 180-4 SHA-256, no dependencies.
 
 sota_signing.h
 Ed25519 firmware-signature helpers for the SimpleOTA clients.
 
 sota_state.h
 Everything a client persists, and the order it is written.
 
 sota_sys.h
 Time, locking, the confirm timer and the chip watchdog.
 
 sota_time.h
 Duration to FreeRTOS tick conversion.
 
 sota_trial.h
 What a boot means for a saved trial record.
 
 sota_url.h
 The URLs the client may use: the server base URL for check-ins and status posts, and where a download redirect may lead.
 
 sota_wdt_calc.h
 Deadline maths for the chip watchdog that resets a hung trial.