Bleeding edge development version of the xDot library for mbed 5. This version of the library is not guaranteed to be stable or well tested and should not be used in production or deployment scenarios.
The current_server_time_ms overflows when doing static_cast<uint64_t>(seconds) * 1000 so the time when parsing the GPS time to String is incorrect. I guess that the getGPSTime() function uses this too, so the time that returns that function is wrong too.
I modified the ServerTime function in my own RadioEvent classs, and found that is not a network server issue. I tested it with Thingpark and a xDot module.
Hi, in "mDotEvent.h" found that in this function:
The
current_server_time_ms
overflows when doingstatic_cast<uint64_t>(seconds) * 1000
so the time when parsing the GPS time to String is incorrect. I guess that thegetGPSTime()
function uses this too, so the time that returns that function is wrong too.I modified the ServerTime function in my own RadioEvent classs, and found that is not a network server issue. I tested it with Thingpark and a xDot module.