pedroluisdionisiofraga/ota-api

0.3.8

Latest
uploaded 1 day 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
    Demonstrates the full OTA update lifecycle, including progress, cancellation, and operator-controlled confirmation or rollback.
    11.56 KB
  • basic
    Full OTA flow using the ota-api component: connects to Wi-Fi or Ethernet, prints firmware hashes, downloads an image, and reboots into it.
    6.02 KB
  • on_demand
    Updates occur on demand through ota_api_update(), without rebooting automatically.
    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