We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5352b80 commit 9417c06Copy full SHA for 9417c06
src/ArduinoIoTCloud.h
@@ -63,7 +63,7 @@ class ArduinoIoTCloudClass {
63
static const int MQTT_TRANSMIT_BUFFER_SIZE = 256;
64
static const int MAX_RETRIES = 5;
65
static const int RECONNECTION_TIMEOUT = 2000;
66
- static const int MAX_CHECK_LASTVALUES_SYNC = 20;
+ static const int TIMEOUT_FOR_LASTVALUES_SYNC = 10000;
67
68
69
void onGetTime(unsigned long(*callback)(void));
@@ -148,7 +148,7 @@ class ArduinoIoTCloudClass {
148
BearSSLClient* _bearSslClient;
149
MqttClient* _mqttClient;
150
int _mode,
151
- _check_lastValues_sync;
+ _lastSyncRequestTickTime;
152
bool _callGetLastValueCallback;
153
154
0 commit comments