1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-24 19:42:27 +03:00

Allow passing beacon interval to SoftAP config (#8695)

allow passing beacon_interval to the softAP
This commit is contained in:
piotrcurious
2023-01-05 03:54:05 -05:00
committed by GitHub
parent 3f394616a6
commit 3e357f32b1
2 changed files with 7 additions and 6 deletions

View File

@ -37,8 +37,8 @@ class ESP8266WiFiAPClass {
public:
bool softAP(const char* ssid, const char* psk = NULL, int channel = 1, int ssid_hidden = 0, int max_connection = 4);
bool softAP(const String& ssid,const String& psk = emptyString,int channel = 1,int ssid_hidden = 0,int max_connection = 4);
bool softAP(const char* ssid, const char* psk = NULL, int channel = 1, int ssid_hidden = 0, int max_connection = 4, int beacon_interval = 100);
bool softAP(const String& ssid,const String& psk = emptyString,int channel = 1,int ssid_hidden = 0,int max_connection = 4,int beacon_interval = 100);
bool softAPConfig(IPAddress local_ip, IPAddress gateway, IPAddress subnet);
bool softAPdisconnect(bool wifioff = false);