Req = notecard.newRequest("card.time");

Hi,

For many years I have successfully used the following in my Arduino code

req = notecard.newRequest(“card.time”);

if (req) {

J\* rsp = notecard.requestAndResponse(req);

t_unix_date= JGetNumber(rsp, "time");

 if(debug){

    Serial.print("Time: ");

    Serial.println(t_unix_date);

  }

rtc.setTime(t_unix_date);

notecard.deleteResponse(rsp);

}

But after an Ardunio update, it stopped working. I have replaced JGetNumber with JGetInt, but it still does not work, as below

10:52:11.883 -> [INFO] {"req":"card.time","crc":"0003:1110F247"}

10:52:11.918 -> [INFO] {"req":"card.time"}

10:52:11.918 -> Time: 0

I’m using Arduino IDE 2.3.10 and Norecards v1.5 and a sync has occurred before this request.

Help will be appreciated.

hussat