1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-15 00:02:49 +03:00

add softAPdisconnect function ``int softAPdisconnect(bool wifioff = false);``

external mode calls now change the use flags
see #529
This commit is contained in:
Markus Sattler
2015-07-13 10:50:41 +02:00
parent b54a98ba03
commit fe9ef36861
2 changed files with 69 additions and 12 deletions

View File

@ -104,6 +104,13 @@ public:
*/
void softAPConfig(IPAddress local_ip, IPAddress gateway, IPAddress subnet);
/*
* Disconnect from the network (close AP)
*
* return: one value of wl_status_t enum
*/
int softAPdisconnect(bool wifioff = false);
/*
* Disconnect from the network
*
@ -348,6 +355,7 @@ public:
friend class WiFiServer;
protected:
void _mode(WiFiMode);
static void _scanDone(void* result, int status);
void * _getScanInfoByIndex(int i);
static void _smartConfigCallback(uint32_t status, void* result);