Hi all,
I’m trying to configure the RAK831 kit using the following sources:
Everything works great, it seems. It’s connect to TTN and messages are coming through. However, I don’t receive any GPS coordinates from the attached GPS-receiver that came with the unit. I couldn’t find any guidance on this, but I found a field in the configuration file called /opt/loragw/global_conf.json and changed it to: “gps”: true
Please note that the GPS receiver is outside with sky-view.
However, I still receive the following error:
sudo journalctl -f -u loragw
-- Logs begin at Tue 2018-06-26 20:36:32 CEST. --
Jun 26 21:38:24 loragw-4cc5 loragw[322]: # Upstream radio packet quality: 100.00%.
Jun 26 21:38:24 loragw-4cc5 loragw[322]: ### [ CONNECTIONS ] ###
Jun 26 21:38:24 loragw-4cc5 loragw[322]: # bridge.eu.thethings.network: Connected
Jun 26 21:38:24 loragw-4cc5 loragw[322]: # Semtech status report send.
Jun 26 21:38:24 loragw-4cc5 loragw[322]: ##### END #####
Jun 26 21:38:24 loragw-4cc5 loragw[322]: 21:38:24 INFO: [TTN] bridge.eu.thethings.network RTT 48
Jun 26 21:38:24 loragw-4cc5 loragw[322]: 21:38:24 INFO: [TTN] send status success for bridge.eu.thethings.network
Jun 26 21:38:34 loragw-4cc5 loragw[322]: 21:38:34 INFO: [up] TTN lora packet send to server "bridge.eu.thethings.network"
Jun 26 21:38:35 loragw-4cc5 loragw[322]: 21:38:35 INFO: [down] TTN received downlink with payload
Jun 26 21:38:35 loragw-4cc5 loragw[322]: 21:38:35 INFO: [TTN] downlink 12 bytes
Jun 26 21:38:54 loragw-4cc5 loragw[322]: INFO: tx_start_delay=1495 (1495.500000) - (1497, bw_delay=1.500000, notch_delay=0.000000)
Jun 26 21:38:54 loragw-4cc5 loragw[322]: src/mp_pkt_fwd.c:1671:thread_jit(): lgw_send done: count_us=3681321060
Jun 26 21:38:54 loragw-4cc5 loragw[322]: ##### 2018-06-26 19:38:54 GMT #####
Jun 26 21:38:54 loragw-4cc5 loragw[322]: ### [UPSTREAM] ###
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # RF packets received by concentrator: 2
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # CRC_OK: 50.00%, CRC_FAIL: 50.00%, NO_CRC: 0.00%
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # RF packets forwarded: 1 (27 bytes)
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # PUSH_DATA datagrams sent: 0 (0 bytes)
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # PUSH_DATA acknowledged: 0.00%
Jun 26 21:38:54 loragw-4cc5 loragw[322]: ### [DOWNSTREAM] ###
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # PULL_DATA sent: 0 (0.00% acknowledged)
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # RF packets sent to concentrator: 1 (0 bytes)
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # TX errors: 0
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # TX rejected (collision packet): 0.00% (req:1, rej:0)
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # TX rejected (collision beacon): 0.00% (req:1, rej:0)
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # TX rejected (too late): 0.00% (req:1, rej:0)
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # TX rejected (too early): 0.00% (req:1, rej:0)
Jun 26 21:38:54 loragw-4cc5 loragw[322]: ### BEACON IS DISABLED!
Jun 26 21:38:54 loragw-4cc5 loragw[322]: ### [JIT] ###
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # INFO: JIT queue contains 0 packets.
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # INFO: JIT queue contains 0 beacons.
Jun 26 21:38:54 loragw-4cc5 loragw[322]: ### [GPS] ###**
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # Invalid gps time reference (age: 1530041934 sec)**
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # no valid GPS coordinates available yet**
Jun 26 21:38:54 loragw-4cc5 loragw[322]: ### [PERFORMANCE] ###
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # Upstream radio packet quality: 50.00%.
Jun 26 21:38:54 loragw-4cc5 loragw[322]: ### [ CONNECTIONS ] ###
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # bridge.eu.thethings.network: Connected
Jun 26 21:38:54 loragw-4cc5 loragw[322]: # Semtech status report send.
Jun 26 21:38:54 loragw-4cc5 loragw[322]: ##### END #####
Jun 26 21:38:54 loragw-4cc5 loragw[322]: 21:38:54 INFO: [TTN] bridge.eu.thethings.network RTT 46
Jun 26 21:38:54 loragw-4cc5 loragw[322]: 21:38:54 INFO: [TTN] send status success for bridge.eu.thethings.network
Jun 26 21:38:54 loragw-4cc5 loragw[322]: 21:38:54 INFO: [up] TTN lora packet send to server "bridge.eu.thethings.network"
Jun 26 21:38:55 loragw-4cc5 loragw[322]: 21:38:55 INFO: [down] TTN received downlink with payload
Jun 26 21:38:55 loragw-4cc5 loragw[322]: 21:38:55 INFO: [TTN] downlink 12 bytes