1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Added support for user-supplied DHCP range, with basic sanity checks (#3562)

This commit is contained in:
NdK
2017-09-21 10:52:30 +02:00
committed by Ivan Grokhotkov
parent 41a8fdb4a9
commit bdf2296a7d
2 changed files with 63 additions and 24 deletions

View File

@ -37,6 +37,7 @@ class ESP8266WiFiAPClass {
public:
bool softAP(const char* ssid, const char* passphrase = NULL, int channel = 1, int ssid_hidden = 0, int max_connection = 4);
bool softAPConfig(IPAddress local_ip, IPAddress gateway, IPAddress subnet, IPAddress dhcp_start, IPAddress dhcp_end);
bool softAPConfig(IPAddress local_ip, IPAddress gateway, IPAddress subnet);
bool softAPdisconnect(bool wifioff = false);