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
@@ -430,16 +422,7 @@ This function initializes the ArduinoIoTCloudLPWAN library with the specified co
430
422
431
423
#### Description
432
424
433
-
**Note:** for TCP devices, the `update()` function is implemented differently. See [ArduinoCloud Class (TCP)]().
434
-
435
-
Responsible for updating the IoT Cloud connection.
436
-
- First it feeds a watchdog timer, making sure it is not stuck anywhere,
437
-
- then sends variable updates to the IoT Cloud (via MQTT client)
438
-
- finally, it checks for new data from the IoT Cloud (via the MQTT client)
439
-
440
-
Any IoT Cloud sketch needs to continuously call the `update()` function, as it will otherwise time out and reset. The `update()` is by default placed inside of the `loop()`.
441
-
442
-
**Note:** do not use the `delay()` function in the sketch, as the watchdog timer will cause the board to reset and attempt to reconnect.
425
+
This method handles the update between the board and the IoT Cloud.
0 commit comments