NetBurner 3.5.8
PDF Version
ESP32-C5 WiFi

Example Path: examples/Wifi/ESP32

These examples use an attached ESP32-C5 radio as a WiFi network co-processor for a NetBurner module. The NetBurner host talks to the ESP32-C5 over SPI; the ESP32-C5 library registers a station (STA) and an access point (AP) network interface and serves a provisioning page at /wifi.

These examples share the same WiFi bring-up. Most use the library's built-in provisioning page at /wifi and differ in how – or whether – they update the ESP32-C5 firmware over the air (OTA); one shows how to build your own provisioning web UI instead:

  • Wifi Basic – the minimal integration: bring WiFi up and serve the provisioning page. No OTA, and no ESP32-C5 firmware image is compiled in. Start here.
  • Wifi Web UI – build your own application web interface for WiFi setup on the public ESP32C5 API, instead of sending users to the library's /wifi page. The built-in page stays available alongside it.
  • Wifi OTA Auto – recommended for customers who do not build their own ESP32-C5 firmware. Once at boot, after the network is up, the app calls ESP32C5_CheckAndUpdate(); if the running ESP32-C5 firmware does not match the version bundled with this NNDK release, the bundled image (~800 KB) is pushed automatically. No ESP-IDF build or .enc.bin handling required.
  • Wifi OTA Upload – OTA driven from the browser: upload an .enc.bin firmware file at /upload.html and the device pushes it to the ESP32-C5 via ESP32C5_PerformOTA(). No firmware blob is compiled in.