Network time +/- one minute. #1106
Replies: 1 comment 2 replies
-
You have 2 possibilities:
Option 1 is the most accurate and simplest to achieve. In order to use option 1 the user can use something similar to below API implementation. Currently this API is not public, in order to make it public just remove the LoRaMac-node/src/apps/LoRaMac/common/LmHandler/LmHandler.c Lines 520 to 539 in 5780612 An example on how to use option 2 is provided by the fuota-test-01 application example. Please note that the provided time does not take in account the leap seconds as the provided time is based on the GPS epoch. |
Beta Was this translation helpful? Give feedback.
-
All, Thanks for a great solution. I've ported to a BGM220 from Silabs & after resolving a few timing issues, I'm up and running with a BLE bridge. I am however struggling with a common issue; 'How do I get a network time'. I'm not after millisecond accuracy, minute accuracy would be absolutely fine. I came across the following:
https://github.com/mcci-catena/arduino-lmic/blob/master/examples/ttn-otaa-network-time/ttn-otaa-network-time.ino
Can anyone provide me with pointers to do the same with this framework?
Pete
Beta Was this translation helpful? Give feedback.
All reactions