Hey,
It sounds like a simple task, but I have been already looking for some time for a solution how to get time from ttn v3 while using an esp32 ttgo t-beam v1.1. There are so many questions, threads, and comments online, but It seems that I can’t find a simple working example or even a conclusive explanation.
I use
-
ttgo t-beam v1.1
-
gps when outside (where I can get time from gps)
-
ttn v3
-
library: matthijskooijman/arduino-lmic / mcci-catena/arduino-lmic
-
nodes registered with frequency for europe 863-870 MHz SF9 for RX2
-
LoRaWAN version MAC V1.0.3
-
OTAA
-
Class A only
-
can NOT add any new hardware
All I want is just to get the time with +/- some seconds from ttn v3. Is there any working example with DeviceTimeReq / DeviceTimeAns?
I also tryed to send the time as epoch unix timestamp with a downlink, following the uplink, but I am not sure if I will be able to get every needed downlink.
Is there any default (easy) way how to get time from ttn v3? Any method in the arduino-lmic library where one can request the time from a gateway?
any help would be appreciated