diff --git a/examples/LoggingGalore/LoggingGalore.ino b/examples/LoggingGalore/LoggingGalore.ino index 84de024..c748295 100644 --- a/examples/LoggingGalore/LoggingGalore.ino +++ b/examples/LoggingGalore/LoggingGalore.ino @@ -16,9 +16,12 @@ * not just got to the serial port; but also to a configurable mix of a * telnetserver, a webserver, syslog or MQTT. */ +#ifndef WIFI_NETWORK +#warning "You really want to change this !" +#define WIFI_NETWORK "MyWiFiNetwork" +#define WIFI_PASSWD "MySecretPassword" +#endif -#include -#include #include // Uncomment to activate syslog logging diff --git a/examples/SerialToTelnet-Simplest/SerialToTelnet-Simplest.ino b/examples/SerialToTelnet-Simplest/SerialToTelnet-Simplest.ino index 60488a9..23fd974 100644 --- a/examples/SerialToTelnet-Simplest/SerialToTelnet-Simplest.ino +++ b/examples/SerialToTelnet-Simplest/SerialToTelnet-Simplest.ino @@ -17,8 +17,12 @@ * telnetserver, a webserver, syslog or MQTT. */ -#include // asume a wifi internet connection -#include // advertize our service on Zeroconf/mDNS/Bonjour +#ifndef WIFI_NETWORK +#warning "You really want to change this !" +#define WIFI_NETWORK "MyWiFiNetwork" +#define WIFI_PASSWD "MySecretPassword" +#endif + #include // The T-Logging library. // Run a telnet service on the default port (23) which shows what is diff --git a/examples/SerialToTelnetAndWeb/SerialToTelnetAndWeb.ino b/examples/SerialToTelnetAndWeb/SerialToTelnetAndWeb.ino index 8e9f23b..d1d8777 100644 --- a/examples/SerialToTelnetAndWeb/SerialToTelnetAndWeb.ino +++ b/examples/SerialToTelnetAndWeb/SerialToTelnetAndWeb.ino @@ -17,8 +17,12 @@ * telnetserver, a webserver, syslog or MQTT. */ -#include // asume a wifi internet connection -#include // advertize our service on Zeroconf/mDNS/Bonjour +#ifndef WIFI_NETWORK +#warning "You really want to change this !" +#define WIFI_NETWORK "MyWiFiNetwork" +#define WIFI_PASSWD "MySecretPassword" +#endif + #include // The T-Logging library. // Run a telnet service on the default port (23) which shows what is