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

add basic WPS function

This commit is contained in:
Markus Sattler
2015-07-04 10:30:11 +02:00
parent 36a4131f35
commit 1aa8e8e6c8
4 changed files with 102 additions and 8 deletions

View File

@ -109,7 +109,7 @@ public:
*
* return: one value of wl_status_t enum
*/
int disconnect(void);
int disconnect(bool wifioff = false);
/*
* Get the station interface MAC address.
@ -313,6 +313,13 @@ public:
bool hostname(const char* aHostname);
bool hostname(String aHostname);
/**
* WPS config
* so far only WPS_TYPE_PBC is supported (SDK 1.2.0)
*/
bool beginWPSConfig(void);
/*
* Output WiFi settings to an object derived from Print interface (like Serial).
*