Skip to content

Custom lib to implement network connection with html setup page

Notifications You must be signed in to change notification settings

TaskForceSpace/ESP-NetworkManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP Network and Server Manager

After init, an AccesPoint to the ESP is opened and connects in parallel to a stored wifi.

Under IP/network you can configure the wlan data

Imports in main

#include <WiFi.h>
#include <AsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include <NetworkController.hh>

Before Setup

AsyncWebServer server(80);
NetworkController nc = NetworkController();

Setup

void setup()
{
nc.laodNetwork();
nc.serve(server);

...
other server.on(...) methods
...

server.begin();
}

Loop Optional

void loop()
{
nc.connectionState();
}

About

Custom lib to implement network connection with html setup page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages