I have a system that is using a LAIRD GW and Gemtek GPS Tracker nodes. In general it’s working, but I’ve been exploring other GW MFG’s and just learning about the system.
I also have a Tektelic Pico GW which is not working properly with the same Gemtek Nodes, and I’m trying to learn how to use the system to debug.
For debugging, I learned through the forums that I can subscribe to MQTT GW topics and see various things. When just observing my system with the Laird GW I noticed that occasionally I get “TOO EARLY” ack messages. Are these from the GW? In this case the node is sending confirmed data, the LORA stack is typically responding with and unconfirmed acknowledge and things are usually working. Shown below is a sequence of RX/TX/ACK where it’s working; followed by one where it’s “TOO EARLY”.
I read the description of “TOO EARLY” from https://www.loraserver.io/lora-gateway-bridge/use/data/
but it’s still not clear to me. Looking below. I see an RX with timestamp 1507119195 followed by TX with timestamp 1508119195. I’m using US902-928 in this case with RX1 Delay 1 s.
Does this error mean that the GW time and the server time are not synchronized? Even though the server tried to send a TX with the correct timestamp did it arrive at the GW too early based on the GW timing? Are there configurations that might help me fine tune the timing?
================================================================================================================================================================
gateway/c0ee40ffff2939d6/rx {“rxInfo”:{“mac”:“c0ee40ffff2939d6”,“timestamp”:1501025924,“frequency”:904900000,“channel”:5,“rfChain”:1,“crcStatus”:1,“codeRate”:“4/5”,“rssi”:-21,“loRaSNR”:10.8,“size”:24,“dataRate”:{“modulation”:“LORA”,“spreadFactor”:7,“bandwidth”:125},“board”:0,“antenna”:0},“phyPayload”:“gJlKN/6AIQADnTp6XYRHNhANmx/q9n9q”}
gateway/c0ee40ffff2939d6/tx {“token”:41886,“txInfo”:{“mac”:“c0ee40ffff2939d6”,“immediately”:false,“timestamp”:1502025924,“frequency”:926300000,“power”:20,“dataRate”:{“modulation”:“LORA”,“spreadFactor”:7,“bandwidth”:500},“codeRate”:“4/5”,“iPol”:null,“board”:0,“antenna”:0},“phyPayload”:“YJlKN/6gIAADnxEc”}
gateway/c0ee40ffff2939d6/ack {“mac”:“c0ee40ffff2939d6”,“token”:41886}
================================================================================================================================================================
gateway/c0ee40ffff2939d6/rx {“rxInfo”:{“mac”:“c0ee40ffff2939d6”,“timestamp”:1507119195,“frequency”:904700000,“channel”:4,“rfChain”:1,“crcStatus”:1,“codeRate”:“4/5”,“rssi”:-51,“loRaSNR”:10,“size”:24,“dataRate”:{“modulation”:“LORA”,“spreadFactor”:7,“bandwidth”:125},“board”:0,“antenna”:0},“phyPayload”:“gOtVsv6AMAEDeduB/TI2P6qmu155Paum”}
gateway/c0ee40ffff2939d6/tx {“token”:1115,“txInfo”:{“mac”:“c0ee40ffff2939d6”,“immediately”:false,“timestamp”:1508119195,“frequency”:925700000,“power”:20,“dataRate”:{“modulation”:“LORA”,“spreadFactor”:7,“bandwidth”:500},“codeRate”:“4/5”,“iPol”:null,“board”:0,“antenna”:0},“phyPayload”:“YOtVsv6gLgHUghg6”}
gateway/c0ee40ffff2939d6/ack {“mac”:“c0ee40ffff2939d6”,“token”:1115,“error”:“TOO_EARLY”}
================================================================================================================================================================