1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-22 08:22:04 +03:00

Update ESP8266WiFi.cpp

This commit is contained in:
Anwar Hahj Jefferson-George
2015-06-27 13:20:18 -04:00
committed by Ivan Grokhotkov
parent 24a6f60d62
commit eac3314ff0

View File

@ -173,7 +173,7 @@ void ESP8266WiFiClass::softAP(const char* ssid)
}
void ESP8266WiFiClass::softAP(const char* ssid, const char* passphrase, int channel)
void ESP8266WiFiClass::softAP(const char* ssid, const char* passphrase, int channel, int ssid_hidden)
{
_useApMode = true;
if(_useClientMode) {
@ -199,7 +199,7 @@ void ESP8266WiFiClass::softAP(const char* ssid, const char* passphrase, int chan
strcpy(reinterpret_cast<char*>(conf.ssid), ssid);
conf.channel = channel;
conf.ssid_len = strlen(ssid);
conf.ssid_hidden = 0;
conf.ssid_hidden = ssid_hidden;
conf.max_connection = 4;
conf.beacon_interval = 100;