Skip to content

Reference

PeerGum edited this page Dec 29, 2022 · 2 revisions

Classes (Top layer)

Wifi

This class is used to handle all Wifi stuff, from connection to disconnection, STA [station] or [AP] accesspoint mode, SSID scanning, etc...

Usage

(TBD)

WebServer

...

CaptivePortal

...

Classes (Bottom layer)

TCPClient

...

Usage

TCPClient client;
char *wBuffer = "something";
char rBuffer[1024];
IPAddress ipAddress(192,168,1,1);
if (client.connect(ipAddress,80)) {
 client.write(wBuffer,sizeof(buffer));
 while (client.available()) {
  client.read(rBuffer,sizeof(rBuffer));
 }
 client.close();
}

IPAddress

IPAddress ipAddress1(192,168,1,1);
IPAddress ipAddress2; // ipNull address
ipAddress2.fromChar("192.168.2.1");
printf("%s",ipAddress1.toChar());

UDPClient

UPnP

WebServer

FileServer

FirmwareUpdater

Config

SoftTimer