We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ba271e commit c2aa210Copy full SHA for c2aa210
libraries/WiFi/src/WiFi.h
@@ -39,6 +39,7 @@ extern "C" {
39
40
#define DEFAULT_IP_ADDRESS "192.168.3.1"
41
#define DEFAULT_NETMASK "255.255.255.0"
42
+#define DEFAULT_AP_CHANNEL 6
43
44
namespace arduino {
45
@@ -93,7 +94,7 @@ class WiFiClass
93
94
*/
95
int begin(char* ssid, const char *passphrase);
96
- int beginAP(const char *ssid, const char* passphrase, uint8_t channel = 6);
97
+ int beginAP(const char *ssid, const char* passphrase, uint8_t channel = DEFAULT_AP_CHANNEL);
98
99
/* Change Ip configuration settings disabling the dhcp client
100
*
0 commit comments