Wrong time for LoRaMAC DeviceTimeAns

Wrong time for LoRaMAC DeviceTimeAns

Hello, I noticed an issue with the information sent by ThingPark Community (Product version 8.0, Application version 4.22.1).

When a device sends the LoRaMAC DeviceTimeReq command, the server should respond with the DeviceTimeAns, which includes the time since January 6th, 1980 (00:00:00 UTC).

Here are the traces I want to see in the ThingPark Wireless Logger:

Mtype: UnconfirmedDataDown

Requested RX1/RX2Delay: 1000

Flags: ADR: 0, ADRAckReq: 0, ACK: 0, FPending: 0

Mac (hex): 0df912fc5427

MAC.Command.DeviceTimeAns
MAC.DeviceTimeAns.Seconds (since epoch): 1425806073
MAC.DeviceTimeAns.FractionalSeconds: 0.15234375
MAC.DeviceTimeAns.GMTTimestamp (us): 2025-03-12 09:14:15.152344

If I take the value indicated: 1425806073.

It corresponds to 2025-03-12 09:14:33, which is different from 2025-03-12 09:14:15.152344 (the actual time at the present moment). In other words, the server is providing the time with approximately a 20-second advance.

Could you please correct this?


Thanks.
Alex

Here a tool to convert timestamp since EPOCH : https://www.dcode.fr/convertisseur-timestamp