Issue:
Mon Nov 2 19:45:36 2020 user.info lora_pkt_fwd[1601]:
INFO: Disabling GPS mode for concentrator’s counter…
Mon Nov 2 19:45:36 2020 user.info lora_pkt_fwd[1601]: INFO: host/sx1301 time offset=(1604362993s:600141µs) - drift=164µs
Mon Nov 2 19:45:36 2020 user.info lora_pkt_fwd[1601]: INFO: Enabling GPS mode for concentrator’s counter.
. . .
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd[1601]: ### [GPS] ###
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd[1601]: # Invalid time reference (age: 1604364337 sec)
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd[1601]: # no valid GPS coordinates available yet
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd[1601]: ##### END #####
Setup:
Everything is the same as in the original package, the LTE module works with an AT&T SIM card.
GPS receivers were tested from the RAK5205 tracker, from the SIM7600 LTE module development kit and the embedded no-name.
LoRa® Server:
Used packet forwarder for TTN
Details:
I received a new RAK7258 (LTE), and made sure that the connector for the GPS receiver is soldered inside it (this is quite reasonable, given that the LTE module EG95-NA is used).
Actually, I am interested in two questions:
- How to use the GPS-receiver?
- How to get coordinates (so that the gateway can display them on the “LoRa Gateway” -> “LoRa Packet Forwarder” page, “GPS Information” tab).
The LTE module works, but the system log constantly displays:
Mon Nov 2 19:45:36 2020 user.info lora_pkt_fwd [1601]:
INFO: Disabling GPS mode for concentrator’s counter …
Mon Nov 2 19:45:36 2020 user.info lora_pkt_fwd [1601]: INFO: host / sx1301 time offset = (1604362993s: 600141µs) - drift = 164µs
Mon Nov 2 19:45:36 2020 user.info lora_pkt_fwd [1601]: INFO: Enabling GPS mode for concentrator’s counter.
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd [1601]:
2020-11-03 00:45:37 UTC
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd [1601]: ### [UPSTREAM] ###
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd [1601]: # RF packets received by concentrator: 2
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd [1601]: # CRC_OK: 100.00, CRC_FAIL: 0.00, NO_CRC: 0.00
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd [1601]: # RF packets forwarded: 2 (78 bytes)
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd [1601]: # PUSH_DATA datagrams sent: 3 (587 bytes)
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd [1601]: # PUSH_DATA acknowledged: 100.00
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd [1601]: ### [DOWNSTREAM] ###
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd [1601]: # PULL_DATA sent: 6 (100.00 acknowledged)
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd [1601]: # PULL_RESP (onse) datagrams received: 1 (182 bytes)
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd [1601]: # RF packets sent to concentrator: 1 (12 bytes)
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd [1601]: # SX1301 time (PPS): 1343305069, offset us 0
Mon Nov 2 19:45:37 2020 user.info lora_pkt_fwd [1601]: src / jitqueue.c: 456: jit_print_queue (): INFO: [jit] queue is empty
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd [1601]: ### [GPS] ###
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd [1601]: # Invalid time reference (age: 1604364337 sec)
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd [1601]: # no valid GPS coordinates available yet
Mon Nov 2 19:45:37 2020 user.notice lora_pkt_fwd [1601]: ##### END #####
That is, as I understand it, the gateway receives a timestamp, but, for some reason, rejects the coordinates as invalid.
How to solve this problem?