FastLED 3.10.8
Loading...
Searching...
No Matches
AutoResearchOta.h File Reference
#include "fl/stl/vector.h"
+ Include dependency graph for AutoResearchOta.h:

Go to the source code of this file.

Classes

struct  AutoResearchOtaState
 State for OTA autoresearch. More...
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 

Macros

#define AUTORESEARCH_OTA_AP_IP   "192.168.4.1"
 
#define AUTORESEARCH_OTA_HOSTNAME   "fastled-ota-test"
 
#define AUTORESEARCH_OTA_OTA_PASSWORD   "testota123"
 
#define AUTORESEARCH_OTA_PASSWORD   "otavalid8"
 
#define AUTORESEARCH_OTA_PORT   80
 
#define AUTORESEARCH_OTA_SSID   "FastLED-OTA-Test"
 

Functions

fl::json beginOtaArtifact (size_t expected_size, const char *sha256)
 Stage one RP2350W firmware artifact on the ESP32-C6 fixture.
 
fl::json finishOtaArtifact ()
 
AutoResearchOtaState & getOtaState ()
 Get current OTA autoresearch state.
 
fl::json otaArtifactStatus ()
 
void pollOtaArtifactUpdate (uint32_t watchdog_restore_ms)
 Execute a queued RP2350W update from the sketch loop.
 
fl::json queueOtaArtifactUpdate (const char *host, uint16_t port)
 Queue an RP2350W HTTP update so the RPC response can be sent first.
 
fl::json rpOtaUpdateStatus ()
 Outcome of the last pollOtaArtifactUpdate fetch, readable after the host reconnects.
 
fl::json startOta ()
 Start WiFi Soft AP and OTA HTTP server.
 
fl::json startOtaArtifactServer ()
 
fl::json stopOta ()
 Stop OTA server and WiFi AP, release all resources.
 
fl::json writeOtaArtifact (fl::vector< fl::u8 > bytes)
 

Class Documentation

◆ AutoResearchOtaState

struct AutoResearchOtaState
Class Members
bool ota_active = false
bool wifi_ap_active = false