diff --git a/WifiInterface.cpp b/WifiInterface.cpp index 9e7e6ed..be17b02 100644 --- a/WifiInterface.cpp +++ b/WifiInterface.cpp @@ -236,6 +236,8 @@ bool WifiInterface::setup2(const __FlashStringHelper* SSid, const __FlashStringH } } + StringFormatter::send(wifiStream, F("AT+CIPSERVER=0\r\n")); // turn off tcp server (to clean connections before CIPMUX=1) + checkForOK(10000, OK_SEARCH, true); // ignore result in case it already was off StringFormatter::send(wifiStream, F("AT+CIPMUX=1\r\n")); // configure for multiple connections if (!checkForOK(10000, OK_SEARCH, true)) return false; diff --git a/version.h b/version.h index 6e45e70..d0c09b9 100644 --- a/version.h +++ b/version.h @@ -4,7 +4,7 @@ #include "StringFormatter.h" // const char VERSION[] PROGMEM ="0.2.0"; -#define VERSION "0.2.0" +#define VERSION "3.0.0" -#endif \ No newline at end of file +#endif