1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-07 16:23:38 +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 3ce674f4b2
commit 389e5fb878

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;