1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-15 00:02:49 +03:00

Add parameter to set channel in softAP mode

This commit is contained in:
Ivan Grokhotkov
2015-02-03 12:30:08 +03:00
parent 076977dbeb
commit be7a068be1
2 changed files with 10 additions and 4 deletions

View File

@ -68,9 +68,10 @@ public:
/* Set up a WPA2-secured access point
*
* param ssid: Pointer to the SSID string.
* param ssid: Pointer to passphrase, 8 characters min.
* param passphrase: Pointer to passphrase, 8 characters min.
* param channel: WiFi channel number, 1 - 13.
*/
void softAP(const char* ssid, const char* passphrase);
void softAP(const char* ssid, const char* passphrase, int channel = 1);
/* Change Ip configuration settings disabling the dhcp client