first commit
This commit is contained in:
29
DeautherX/wifi.h
Normal file
29
DeautherX/wifi.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/* This software is licensed under the MIT License: https://github.com/BlackTechX011/DeautherX */
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <dhcpserver.h>
|
||||
#include <lwip/napt.h>
|
||||
#include <lwip/dns.h>
|
||||
|
||||
namespace wifi {
|
||||
void begin();
|
||||
|
||||
String getMode();
|
||||
String getNaptStatus();
|
||||
|
||||
void printStatus();
|
||||
void initNapt();
|
||||
|
||||
void startNewAP(String path, String ssid, String password, uint8_t ch, bool hidden, bool captivePortal);
|
||||
void startEvilTwin(String apn);
|
||||
// void startAP(String path);
|
||||
void startWebServer();
|
||||
void startAP();
|
||||
|
||||
void stopAP();
|
||||
void resumeAP();
|
||||
|
||||
void update();
|
||||
}
|
||||
Reference in New Issue
Block a user