forked from espressif/arduino-esp32
set max clients from code (#432)
* Update WiFiAP.cpp set from code the maximum number of clients to smaller than 4 (in my case i must allow only one client at a time) * Update WiFiAP.h * Update WiFiAP.cpp * Update WiFiAP.cpp * Create WiFiAP.cpp
This commit is contained in:
@ -37,7 +37,7 @@ class WiFiAPClass
|
||||
|
||||
public:
|
||||
|
||||
bool softAP(const char* ssid, const char* passphrase = NULL, int channel = 1, int ssid_hidden = 0);
|
||||
bool softAP(const char* ssid, const char* passphrase = NULL, int channel = 1, int ssid_hidden = 0, int max_connection = 4);
|
||||
bool softAPConfig(IPAddress local_ip, IPAddress gateway, IPAddress subnet);
|
||||
bool softAPdisconnect(bool wifioff = false);
|
||||
|
||||
|
Reference in New Issue
Block a user