I found an issue when trying to used WIFI in place of 4g.
teleclient.cpp
Code: Select all
Serial.println(response);
if (net.code() == 200) {
// successful
lastSyncTime = millis();
rxBytes += bytes;
}
return true;
Code: Select all
Serial.println(response);
if (response) {
// successful
lastSyncTime = millis();
rxBytes += bytes;
}
return true;