Created
June 25, 2021 15:19
-
-
Save dropmeaword/7ef5660344e8fab6f9818cbce36ed906 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef __WIFI_H__ | |
#define __WIFI_H__ | |
#include <DNSServer.h> | |
#include <ESP8266mDNS.h> | |
enum WifiMode { | |
CLIENT = 10, // station node | |
HYBRID_AP = 15, // station + ap | |
ACCESS_POINT = 20, // ap only | |
MESH = 30 // mesh | |
}; | |
#define DNS_PORT 53 | |
extern DNSServer dnsServer; | |
extern IPAddress thisip; | |
void wifi_init(); | |
#endif // __WIFI_H__ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment