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

Add support for String args to softAP and begin (#5295)

This commit is contained in:
dav1901
2018-12-23 03:48:31 +02:00
committed by Develo
parent 228ad7ed75
commit dd6333ee8b
4 changed files with 9 additions and 0 deletions

View File

@ -190,6 +190,10 @@ wl_status_t ESP8266WiFiSTAClass::begin(char* ssid, char *passphrase, int32_t cha
return begin((const char*) ssid, (const char*) passphrase, channel, bssid, connect);
}
wl_status_t ESP8266WiFiSTAClass::begin(const String& ssid, const String& passphrase, int32_t channel, const uint8_t* bssid, bool connect) {
return begin(ssid.c_str(), passphrase.c_str(), channel, bssid, connect);
}
/**
* Use to connect to SDK config.
* @return wl_status_t