Bug in teleclient.cpp

Inquiry and support for Freematics products
Post Reply
wally2511
Posts: 11
Joined: Fri Apr 09, 2021 3:11 pm

Bug in teleclient.cpp

Post by wally2511 »

Hi,

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;
I had to change it to something like this for it to compile:

Code: Select all

Serial.println(response);
  if (response) {
    // successful
    lastSyncTime = millis();
    rxBytes += bytes;
  }
  return true;
stanley
Site Admin
Posts: 1017
Joined: Sat Mar 01, 2014 3:15 am

Re: Bug in teleclient.cpp

Post by stanley »

That issue was fixed.
Post Reply