arduino-lmic icon indicating copy to clipboard operation
arduino-lmic copied to clipboard

LoRaWan 1.1 DeviceTimeReq supported?

Open Jeroen88 opened this issue 7 years ago • 3 comments
trafficstars

I would like to synchronize my microcontroller with UTC time. Can I use the library for this, using the LoRaWan 1.1 feature DeviceTimeReq?

Jeroen88 avatar Jan 30 '18 10:01 Jeroen88

It won't be possible to sync a node's RTC with DeviceTimeReq, if this shall happen with high precision. As far as i understand DeviceTimeReq in LoRaWAN 1.1 this command does not take care of latency and jitter of the LoRaWAN connection. So additional time sync logic will be required to set a clock with precision of e.g. +/- 500ms.

Besides that this lib currently does not support the new functions of LoRaWAN 1.1.

cyberman54 avatar Jan 30 '18 11:01 cyberman54

@cyberman54 thnx for your quick response. 500 ms would be great. My microcontroller can keep clock time but must be set / synched regularly.

Any chance of support of this feature in the near future? Any example of how to get the DeviceTimeReq myself making maximum use of the abstraction of the library?

Jeroen88 avatar Jan 30 '18 12:01 Jeroen88

Also interested, I just need rough tune fur calendar keeping. +/- 1 minute will do for me

VladimirAkopyan avatar Mar 16 '19 11:03 VladimirAkopyan