1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-17 06:42:21 +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

@@ -38,6 +38,7 @@ class ESP8266WiFiSTAClass {
wl_status_t begin(const char* ssid, const char *passphrase = NULL, int32_t channel = 0, const uint8_t* bssid = NULL, bool connect = true);
wl_status_t begin(char* ssid, char *passphrase = NULL, int32_t channel = 0, const uint8_t* bssid = NULL, bool connect = true);
wl_status_t begin(const String& ssid, const String& passphrase = emptyString, int32_t channel = 0, const uint8_t* bssid = NULL, bool connect = true);
wl_status_t begin();
//The argument order for ESP is not the same as for Arduino. However, there is compatibility code under the hood