1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-15 00:02:49 +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

@ -185,6 +185,9 @@ bool ESP8266WiFiAPClass::softAP(const char* ssid, const char* passphrase, int ch
return ret;
}
bool ESP8266WiFiAPClass::softAP(const String& ssid, const String& passphrase, int channel, int ssid_hidden, int max_connection) {
return softAP(ssid.c_str(), passphrase.c_str(), channel, ssid_hidden, max_connection);
}
/**
* Configure access point