1 parent
28ff1a553a
commit
cd282596e0
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -62,8 +62,8 @@
|
||||
|
||||
/*-------------DEFINE YOUR NETWORK PARAMETERS BELOW----------------*/
|
||||
|
||||
//#define NetworkAdvancedSetup true //uncomment if you want to set advanced network parameters for arduino boards, not uncommented you can set the IP and mac only
|
||||
#ifdef NetworkAdvancedSetup // for arduino boards advanced config
|
||||
//#define NetworkAdvancedSetup true //uncomment if you want to set advanced network parameters, not uncommented you can set the IP and mac only
|
||||
#ifdef NetworkAdvancedSetup
|
||||
# if defined(ESP8266) || defined(ESP32)
|
||||
const byte ip[] = {192, 168, 1, 99}; //ip adress of the gateway, already defined for arduino below
|
||||
# endif
|
||||
|
||||
+1
-1
@@ -879,7 +879,7 @@ void setup_wifi() {
|
||||
|
||||
// We start by connecting to a WiFi network
|
||||
Log.trace(F("Connecting to %s" CR), manual_wifi_ssid);
|
||||
# ifdef ESPWifiAdvancedSetup
|
||||
# ifdef NetworkAdvancedSetup
|
||||
IPAddress ip_adress(ip);
|
||||
IPAddress gateway_adress(gateway);
|
||||
IPAddress subnet_adress(subnet);
|
||||
|
||||
Reference in new issue
Block a user