Aquarium Cooling Controller
ESP32 firmware for aquarium cooling fan control, monitoring, telemetry, and fault handling.
Loading...
Searching...
No Matches
Classes | Enumerations
ota_upload_server.h File Reference

Temporary HTTP firmware upload endpoint for OTA updates. More...

#include <Arduino.h>
#include <WebServer.h>
Include dependency graph for ota_upload_server.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OtaUploadServer
 Hosts a short-lived HTTP form for uploading firmware binaries. More...
 

Enumerations

enum class  OtaUploadState {
  kDisabled , kArmed , kUploading , kSucceeded ,
  kFailed , kTimedOut
}
 Runtime state of the temporary OTA upload server. More...
 

Detailed Description

Temporary HTTP firmware upload endpoint for OTA updates.

Enumeration Type Documentation

◆ OtaUploadState

enum class OtaUploadState
strong

Runtime state of the temporary OTA upload server.

Enumerator
kDisabled 

OTA upload is disabled and the HTTP server is stopped.

kArmed 

Upload window is open and waiting for a browser upload.

kUploading 

Firmware upload is in progress.

kSucceeded 

Firmware upload finished successfully.

kFailed 

Firmware upload failed.

kTimedOut 

Upload window elapsed before completion.