Trying to set up a new RAK2243 gateway, and seeing a bunch of errors, and it won’t connect to TTN.
JSON down: {“txpk”:{“imme”:false,“tmst”:2594486459,“freq”:923.3,“rfch”:0,“powe”:20,“modu”:“LORA”,“datr”:“SF12BW500”,“codr”:“4/5”,“ipol”:true,“size”:22,“ncrc”:true,“data”:“YEYvAiaKIUMDQAIAcQM1AP8B6w1XIA==”}}
src/jitqueue.c:251:jit_enqueue(): ERROR: Packet REJECTED, timestamp seems wrong, too much in advance (current=3244380216, packet=2594486459, type=0)
ERROR: Packet REJECTED (jit error=2)
INFO: [down] PULL_RESP received - token[212:60]JSON down: {“txpk”:{“imme”:false,“tmst”:2092530435,“freq”:925.7,“rfch”:0,“powe”:20,“modu”:“LORA”,“datr”:“SF7BW500”,“codr”:“4/5”,“ipol”:true,“size”:22,“ncrc”:true,“data”:“YCAvAiaqQmoDQAIAcQM6AP8BrsEcqg==”}}
src/jitqueue.c:251:jit_enqueue(): ERROR: Packet REJECTED, timestamp seems wrong, too much in advance (current=3244624583, packet=2092530435, type=0)
ERROR: Packet REJECTED (jit error=2)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
INFO: [down] PULL_RESP received - token[176:63]JSON down: {“txpk”:{“imme”:false,“tmst”:1240250619,“freq”:923.3,“rfch”:0,“powe”:20,“modu”:“LORA”,“datr”:“SF7BW500”,“codr”:“4/5”,“ipol”:true,“size”:22,“ncrc”:true,“data”:“YOYmAiaq2x8DQAIAcQM6AP8B9CQVxA==”}}
src/jitqueue.c:251:jit_enqueue(): ERROR: Packet REJECTED, timestamp seems wrong, too much in advance (current=3245068954, packet=1240250619, type=0)
ERROR: Packet REJECTED (jit error=2)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
WARNING: [gps] could not get a valid message from GPS (no time)
INFO: [down] PULL_RESP received - token[173:38]JSON down: {“txpk”:{“imme”:false,“tmst”:329030003,“freq”:923.3,“rfch”:0,“powe”:20,“modu”:“LORA”,“datr”:“SF7BW500”,“codr”:“4/5”,“ipol”:true,“size”:22,“ncrc”:true,“data”:“YMYsAiaqd08DQAIAcQM6AP8Bc8ovDA==”}}
src/jitqueue.c:251:jit_enqueue(): ERROR: Packet REJECTED, timestamp seems wrong, too much in advance (current=3245646565, packet=329030003, type=0)
ERROR: Packet REJECTED (jit error=2)
INFO: [down] PULL_RESP received - token[144:230]
I’m getting valid data from the GPS:
cat /dev/ttyAMA0
3,00,054,7B
$GPG242,08,10,345,14,21,62,2
$GPGSV,3,3,11,2,22,27,12,288,2253,1445
$GPGL2743,N,07846.768506.00,A,A73
�b�’�Q$GPRMC,2,A,3541.62716,N,879,W,0.746,2606E
$GPVTG,T,M,A2E
$3541.627,W,1,04,3,M,5115,21,2490,7.651,08,01,321,10,126,13,SV,3,2,11,14,07,26,20,70,345,15
$GPGSV,3,3,11,12,288,21,32,28,L,3541.62716,N,0507.00,A,A77
�b ��$GPRMC,2,A,3541.07846.76919,A,1.274,NGPGGA,2157,N,07846.768668,M,-34.,A,3,10,90,7.64SV,3,1,1321,10,8,12,01,00,054,1,14,07,5,32,0540,345,1509,077224,59,0912,288,2253,1742657,N,0508.00,A,A72
�b ��$GPRMC,210509.0007846.76846,W,1.9,A73
$GPVTG55,N,3.251,K,A3.00,3541.62620,N,04,2.90,62.7,M,PGSA,A,3,10,15,27,2.90,7.6305
,01,321,10,44,3,13,00,054,7A
,07,242,07,15,325,15,21,62,209,0,11,24,59,092,23,28,253,1747
$,N,07846.76846,W1
�b � y��10510.00,A,3541.832,W,2.130,189.
$GPVTG,189.02,44,K,A35
$GPGG.62565,N,07846.7,62.2,M,-34.3,M,10,15,21,24,6,2.89,7.630C
,01,321,01,126,$GPGSV,3,2,11,14,15,32,054,26,2014,21,62,209,07SV,3,3,11,24,59,7,12,288,22,32,244
$GPGLL,3541,07846.76832,W,2
�b �$GPRMC,262498,N,367,185.
$GPVTG67,N,4.384,K,A3.00,35416828,W,1-34.3,M,10,15,21,24,.620E
$GPGSV,3,10,44,314,29,1254,7A
$GPGSV,3,15,32,054,26,20,209,0776
$GPG092,24,27,12,28843
$GPGLL,35416828,W,210511.00 n��n,A,3541.62405,N,616,182.35,26091,182.35,T,M,2.6E
When I kill the concentrator process, I see:
##### 2019-09-26 21:02:55 GMT #####
### [UPSTREAM] ###
# RF packets received by concentrator: 0
# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
# RF packets forwarded: 0 (0 bytes)
# PUSH_DATA datagrams sent: 1 (114 bytes)
# PUSH_DATA acknowledged: 100.00%
### [DOWNSTREAM] ###
# PULL_DATA sent: 1 (100.00% acknowledged)
# PULL_RESP(onse) datagrams received: 12 (2347 bytes)
# RF packets sent to concentrator: 0 (244 bytes)
# TX errors: 0
# TX rejected (collision packet): 0.00% (req:109, rej:0)
# TX rejected (collision beacon): 0.00% (req:109, rej:0)
# TX rejected (too late): 0.00% (req:109, rej:0)
# TX rejected (too early): 77.06% (req:109, rej:84)
# BEACON queued: 0
# BEACON sent so far: 0
# BEACON rejected: 0
### [JIT] ###
# SX1301 time (PPS): 3238002688
src/jitqueue.c:452:jit_print_queue(): INFO: [jit] queue contains 4 packets:
src/jitqueue.c:453:jit_print_queue(): INFO: [jit] queue contains 0 beacons:
src/jitqueue.c:459:jit_print_queue(): - node[0]: count_us=3622703628 - type=0
src/jitqueue.c:459:jit_print_queue(): - node[1]: count_us=3622909212 - type=0
src/jitqueue.c:459:jit_print_queue(): - node[2]: count_us=3626639652 - type=0
src/jitqueue.c:459:jit_print_queue(): - node[3]: count_us=3627350364 - type=0
### [GPS] ###
# Invalid time reference (age: 100 sec)
# no valid GPS coordinates available yet
##### END #####
INFO: End of upstream thread
WARNING: failed to close GPS successfully
INFO: concentrator stopped successfully
INFO: Exiting packet forwarder program
So what am I doing wrong??