pedroluisdionisiofraga/ota-api

0.3.7

Latest
uploaded 9 hours ago
OTA API is a component for ESP-IDF that simplifies HTTPS over-the-air firmware updates for ESP32-based applications. Configure the firmware URL and an optional server certificate in a single struct, then run the update synchronously or in a background task that automatically reboots into the new firmware.

4 examples

  • advanced
    Control the whole OTA lifecycle from the console: start, monitor, cancel, confirm, or roll back updates.
    11.56 KB
  • basic
    Demonstrates a full OTA flow using ota-api, including network connection, firmware hashing, download, and reboot.
    6.02 KB
  • on_demand
    The device updates only when requested through ota_api_update(), letting the application handle errors and rebooting.
    6.92 KB
  • rollback
    Self-test and automatic rollback with the ota-api component, ported from ESP-IDF's native_ota_example.
    8.46 KB