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:
parent
3ce674f4b2
commit
389e5fb878
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user