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 4c1dae1 commit b77ea50Copy full SHA for b77ea50
βlibraries/WiFi/src/WiFi.cpp
@@ -30,6 +30,12 @@ int arduino::WiFiClass::begin(const char* ssid, const char* passphrase) {
30
return _currentNetworkStatus;
31
}
32
33
+//Config Wifi to set Static IP && Disable DHCP
34
+void arduino::WiFiClass::config(const char* localip, const char* netmask, const char* gateway){
35
+ wifi_if->set_network(localip, netmask, gateway);
36
+ wifi_if->set_dhcp(false);
37
+}
38
+
39
int arduino::WiFiClass::beginAP(const char* ssid, const char* passphrase, uint8_t channel) {
40
41
#if defined(COMPONENT_4343W_FS)
0 commit comments