You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ArduinoIoTCloudTCP.cpp
+6-6
Original file line number
Diff line number
Diff line change
@@ -218,6 +218,12 @@ int ArduinoIoTCloudTCP::begin(bool const enable_watchdog, String brokerAddress,
218
218
}
219
219
#endif/* BOARD_HAS_OFFLOADED_ECCX08 */
220
220
221
+
#if defined(ARDUINO_UNOWIFIR4)
222
+
if (String(WiFi.firmwareVersion()) < String("0.2.0")) {
223
+
DEBUG_ERROR("ArduinoIoTCloudTCP::%s In order to connect to Arduino IoT Cloud, WiFi firmware needs to be >= 0.2.0, current %s", __FUNCTION__, WiFi.firmwareVersion());
224
+
}
225
+
#endif
226
+
221
227
/* Since we do not control what code the user inserts
222
228
* between ArduinoIoTCloudTCP::begin() and the first
223
229
* call to ArduinoIoTCloudTCP::update() it is wise to
if (String(WiFi.firmwareVersion()) < String("0.2.0")) {
331
-
DEBUG_ERROR("ArduinoIoTCloudTCP::%s In order to connect to Arduino IoT Cloud, WiFi firmware needs to be >= 0.2.0, current %s", __FUNCTION__, WiFi.firmwareVersion());
332
-
}
333
-
#endif
334
-
335
335
DEBUG_ERROR("ArduinoIoTCloudTCP::%s could not connect to %s:%d", __FUNCTION__, _brokerAddress.c_str(), _brokerPort);
336
336
DEBUG_ERROR("ArduinoIoTCloudTCP::%s %d connection attempt at tick time %d", __FUNCTION__, _last_connection_attempt_cnt, _next_connection_attempt_tick);
0 commit comments