cyberman54 / ESP32-Paxcounter

Wifi & BLE driven passenger flow metering with cheap ESP32 boards

Home Page:https://cyberman54.github.io/ESP32-Paxcounter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TTN Time Sync

MichaelJumble opened this issue · comments

May be wrong issue here, but I struggle long time to solve it before I add this
here.
I try to get epoch Time of the TTN Network to synchronize the local time ESP32 node.
For now, I work with the “LMIC-NODE-DEMO” Code and Down- / Uplink work fine.
After grabbing the whole Internet I can’t find a working example for TTN3 to ask for TimeSync.
Searching the entire Internet, and found out that the PAX Sample here with a working time sync function.
The PAX Demo here works fine and also get a TimeSync from the Network.

Be sure, the PAX Code here is fantastic and written in professional style.
But I can’t get it working in a simple LMIC code.
Maybe someone did have an example that only covers the time sync with the TTN
Network ?

Please move this to tab discussions, thank you.

Your right. Its not an issue, so disc would be the right place. But at first I try out your links. Seems to look good. THX for your great job.