AnsweredAssumed Answered

How update RTC in lrwan library ?

Question asked by Fabien LETORT on Nov 8, 2017
Latest reply on Nov 10, 2017 by Fabien LETORT

I don't understand how rtc library work in lrwan module.

 

Some code (as the Utilities/timeServer.c) use tick (from rtc) value to get elapsed time.

 

By using TimerGetCurrentTime then a little bit letter TimerGetElapsedTime we can have elapsed time in ms.

But if we update the rtc betwwen this two call.... this does not work....

 

So my question is : How rtc can be update in this library ? To put it at the correct current datetime.

Outcomes