FastLED 3.9.15
Loading...
Searching...
No Matches
AutoResearchNet.h File Reference
#include "fl/stl/stdint.h"
+ Include dependency graph for AutoResearchNet.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AutoResearchNetState
 State for network autoresearch. More...
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 

Macros

#define AUTORESEARCH_NET_AP_IP   "192.168.4.1"
 
#define AUTORESEARCH_NET_CLIENT_PORT   8080
 
#define AUTORESEARCH_NET_MAX_CONNECTIONS   4
 
#define AUTORESEARCH_NET_PASSWORD   "fastled123"
 
#define AUTORESEARCH_NET_SERVER_PORT   80
 
#define AUTORESEARCH_NET_SSID   "FastLED-AutoResearch"
 

Functions

AutoResearchNetStategetNetState ()
 Get current network autoresearch state.
 
fl::json runNetClientTest (const char *host_ip, uint16_t port)
 Run HTTP client tests against a host server.
 
fl::json runNetLoopback ()
 Run self-contained loopback test: start HTTP server, client GETs localhost.
 
fl::json startNetClient ()
 Start WiFi Soft AP only (for net-client mode).
 
fl::json startNetServer ()
 Start WiFi Soft AP and HTTP server with test endpoints.
 
fl::json stopNet ()
 Stop WiFi AP and HTTP server/client, release all resources.
 

Class Documentation

◆ AutoResearchNetState

struct AutoResearchNetState
Class Members
uint16_t client_target_port = AUTORESEARCH_NET_CLIENT_PORT
bool http_client_active = false
bool http_server_active = false
uint16_t server_port = AUTORESEARCH_NET_SERVER_PORT
bool wifi_ap_active = false