RAK831 / packet forwarder seems to go deaf for ~30 - 60s after GPS time sync action

Hi all.
I have a RAK 831 on a RasPi 3. It’s running on debian stretch lite with a pull / build of https://github.com/RAKWireless/rak_common_for_gateway.git
That went OK, and with help from @Hobo I have it configured as a UDP forwarder to .eu on ~868MHz.
The packet forwarder seems OK, and the RX LED on the concentrator stays lighted. I have a ublox GPS connected with PPS signal, and that seems OK at the RasPi serial.

The problem is that when I look at the logs in /var/log/syslog, the system seems to stop receiving packets for a chunk of time perhaps related to these messages:

“INFO: Disabling GPS mode for concentrator’s counter…”
“INFO: host/sx1301 time offset=(1564708749s:272618µs) - drift=26µs”
“INFO: Enabling GPS mode for concentrator’s counter.”

To test: I set up a Node to transmit every 10s for a little while, and here is the log. The packets on the device at 867.7MHz stop coming in at 2:03:52.347981 GMT, and are received again at 2:04:23.432550.
There is another gap from 2:04:44.080362 to 2:05:25.458153.

They are not TTN packets, but I don’t care, as I will be modifying the driver for a custom protocol, once I have this stable.

Thanks in Advance for looking at this.

click for log

Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: JSON up: {“rxpk”:[{“tmst”:2673770211,“time”:“2019-08-02T02:03:42.042408Z”,“tmms”:1248746641042,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“modu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:9.8,“rssi”:-42,“size”:12,“data”:"//8AAAED1/8JAADq"}]}
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: INFO: [down] PULL_ACK received in 280 ms
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: INFO: Received pkt from mote: 000000FF (fcnt=0)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: JSON up: {“rxpk”:[{“tmst”:2684075779,“time”:“2019-08-02T02:03:52.347981Z”,“tmms”:1248746651348,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“modu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:10.0,“rssi”:-42,“size”:17,“data”:"//8AAAADAADME9f/CQAKAAA="}]}
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: ##### 2019-08-02 02:03:53 GMT #####
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: ### [UPSTREAM] ###
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # RF packets received by concentrator: 4
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # RF packets forwarded: 4 (63 bytes)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # PUSH_DATA datagrams sent: 5 (1128 bytes)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # PUSH_DATA acknowledged: 0.00%
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: ### [DOWNSTREAM] ###
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # PULL_DATA sent: 3 (100.00% acknowledged)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # RF packets sent to concentrator: 0 (0 bytes)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # TX errors: 0
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # BEACON queued: 0
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # BEACON sent so far: 0
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # BEACON rejected: 0
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: ### [JIT] ###
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # SX1301 time (PPS): 2683727798
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: ### [GPS] ###
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # Valid time reference (age: 0 sec)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # GPS coordinates: latitude -43.55673, longitude 172.67742, altitude -13 m
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: ##### END #####
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: JSON up: {“stat”:{“time”:“2019-08-02 02:03:53 GMT”,“lati”:-43.55673,“long”:172.67742,“alti”:-13,“rxnb”:4,“rxok”:4,“rxfw”:4,“ackr”:0.0,“dwnb”:0,“txnb”:0}}
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: INFO: [down] PULL_ACK received in 279 ms
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: INFO: [down] PULL_ACK received in 279 ms
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: INFO: Disabling GPS mode for concentrator’s counter…
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: INFO: host/sx1301 time offset=(1564708749s:272592µs) - drift=27µs
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: INFO: Enabling GPS mode for concentrator’s counter.
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: INFO: [down] PULL_ACK received in 279 ms
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: ##### 2019-08-02 02:04:23 GMT #####
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: ### [UPSTREAM] ###
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # RF packets received by concentrator: 0
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # RF packets forwarded: 0 (0 bytes)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # PUSH_DATA datagrams sent: 1 (156 bytes)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # PUSH_DATA acknowledged: 0.00%
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: ### [DOWNSTREAM] ###
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # PULL_DATA sent: 3 (100.00% acknowledged)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # RF packets sent to concentrator: 0 (0 bytes)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # TX errors: 0
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # BEACON queued: 0
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # BEACON sent so far: 0
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # BEACON rejected: 0
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: ### [JIT] ###
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # SX1301 time (PPS): 2713843192
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: ### [GPS] ###
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # Valid time reference (age: 0 sec)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # GPS coordinates: latitude -43.55681, longitude 172.67749, altitude -47 m
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: ##### END #####
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: JSON up: {“stat”:{“time”:“2019-08-02 02:04:23 GMT”,“lati”:-43.55681,“long”:172.67749,“alti”:-47,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0}}
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: INFO: Received pkt from mote: 010000FF (fcnt=65495)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: JSON up: {“rxpk”:[{“tmst”:2715160331,“time”:“2019-08-02T02:04:23.432550Z”,“tmms”:1248746682432,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“modu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:9.2,“rssi”:-40,“size”:12,“data”:"//8AAAED1/8KAADq"}]}
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: INFO: [down] PULL_ACK received in 280 ms
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: INFO: Received pkt from mote: 000000FF (fcnt=0)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: JSON up: {“rxpk”:[{“tmst”:2725462699,“time”:“2019-08-02T02:04:33.734924Z”,“tmms”:1248746692734,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“modu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:9.5,“rssi”:-39,“size”:17,“data”:"//8AAAADAADME9f/DAAKAAA="}]}
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: INFO: Received pkt from mote: 010000FF (fcnt=65496)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: JSON up: {“rxpk”:[{“tmst”:2725506355,“time”:“2019-08-02T02:04:33.778580Z”,“tmms”:1248746692778,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“modu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:9.2,“rssi”:-42,“size”:12,“data”:"//8AAAED2P8KAADq"}]}
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: INFO: [down] PULL_ACK received in 279 ms
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: INFO: Received pkt from mote: 000000FF (fcnt=0)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: JSON up: {“rxpk”:[{“tmst”:2735808131,“time”:“2019-08-02T02:04:44.080362Z”,“tmms”:1248746703080,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“modu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:9.2,“rssi”:-41,“size”:17,“data”:"//8AAAADAADME9j/CQAKAAA="}]}
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: ##### 2019-08-02 02:04:53 GMT #####
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: ### [UPSTREAM] ###
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # RF packets received by concentrator: 5
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # CRC_OK: 80.00%, CRC_FAIL: 20.00%, NO_CRC: 0.00%
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # RF packets forwarded: 4 (58 bytes)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # PUSH_DATA datagrams sent: 5 (1164 bytes)
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # PUSH_DATA acknowledged: 0.00%
Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: ### [DOWNSTREAM] ###
Aug 2 14:05:01 rak-gateway CRON[31893]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # PULL_DATA sent: 3 (66.67% acknowledged)
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # RF packets sent to concentrator: 0 (0 bytes)
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # TX errors: 0
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # BEACON queued: 0
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # BEACON sent so far: 0
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # BEACON rejected: 0
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: ### [JIT] ###
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # SX1301 time (PPS): 2743727764
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: ### [GPS] ###
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # Valid time reference (age: 0 sec)
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # GPS coordinates: latitude -43.55689, longitude 172.67785, altitude -65 m
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: ##### END #####
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: JSON up: {“stat”:{“time”:“2019-08-02 02:04:53 GMT”,“lati”:-43.55689,“long”:172.67785,“alti”:-65,“rxnb”:5,“rxok”:4,“rxfw”:4,“ackr”:0.0,“dwnb”:0,“txnb”:0}}
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: INFO: [down] PULL_ACK received in 279 ms
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: INFO: [down] PULL_ACK received in 279 ms
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: INFO: [down] PULL_ACK received in 279 ms
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: INFO: Disabling GPS mode for concentrator’s counter…
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: INFO: host/sx1301 time offset=(1564708749s:272618µs) - drift=26µs
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: INFO: Enabling GPS mode for concentrator’s counter.
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: ##### 2019-08-02 02:05:23 GMT #####
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: ### [UPSTREAM] ###
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # RF packets received by concentrator: 0
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # RF packets forwarded: 0 (0 bytes)
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # PUSH_DATA datagrams sent: 1 (156 bytes)
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # PUSH_DATA acknowledged: 0.00%
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: ### [DOWNSTREAM] ###
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # PULL_DATA sent: 2 (150.00% acknowledged)
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # RF packets sent to concentrator: 0 (0 bytes)
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # TX errors: 0
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # BEACON queued: 0
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # BEACON sent so far: 0
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # BEACON rejected: 0
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: ### [JIT] ###
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # SX1301 time (PPS): 2773843464
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: ### [GPS] ###
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # Valid time reference (age: 0 sec)
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: # GPS coordinates: latitude -43.55676, longitude 172.67712, altitude -50 m
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: ##### END #####
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: JSON up: {“stat”:{“time”:“2019-08-02 02:05:23 GMT”,“lati”:-43.55676,“long”:172.67712,“alti”:-50,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0}}
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: INFO: [down] PULL_ACK received in 279 ms
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: INFO: Received pkt from mote: 000000FF (fcnt=7)
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: JSON up: {“rxpk”:[{“tmst”:2777185899,“time”:“2019-08-02T02:05:25.458153Z”,“tmms”:1248746744458,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“modu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:9.8,“rssi”:-42,“size”:17,“data”:"//8AAAADBwDaE9f/CgAKAAA="}]}
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: INFO: [down] PULL_ACK received in 279 ms
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: INFO: Received pkt from mote: 010000FF (fcnt=65495)
Aug 2 14:06:23 rak-gateway ttn-gateway[21803]: JSON up: {“rxpk”:[{“tmst”:2787574339,“time”:“2019-08-02T02:05:35.846599Z”,“tmms”:1248746754846,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“modu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:9.8,“rssi”:-42,“size”:12,“data”:"//8AAAED1/8JAADq"}]}

“The problem is that when I look at the logs in /var/log/syslog, the system seems to stop receiving packets for a chunk of time”
Is this question a small probability or a high probability?

If it is a high probability, let’s do a test.
step:

  1. cd /opt/ttn-gateway/lora_gateway/util_pkt_logger
  2. sudo cp /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/global_conf.json .
  3. sudo systemctl stop ttn-gateway
  4. sudo rm pktlog_* ; sudo ./util_pkt_logger

5.open another terminal
6.in another terminal, cd /opt/ttn-gateway/lora_gateway/util_pkt_logger
7. tail -f pktlog_xxxx
8.The node sends the data every ten seconds and observes the seventh step of receiving.

If you have extra gateways with the same frequency, it’s best to do a test comparison together.

…“seems to stop receiving packets”…
…“small probability or a high probability?”
I think this is a high probablility:

“let’s do a test.”

My transmitting node shows this:

[FSM] 3 S_wakeListen millis: 272718 totalTime: 326719
[FSM] 5 S_sleepRetry millis: 282660 totalTime: 336660
Sleep for 2
sleepTime 1
sleepTime 0
Wake millis 282668 totalTime 338669
WakeMs 282669
[FSM] 1 S_startWake millis: 282671 totalTime: 338673
[FSM] 2 S_wakeSend millis: 282676 totalTime: 338678
[LoRa] T0 msg size 13
[LoRa] Send T0 time ms 3
Sent 0 3 0 0 D3 13 0 0 0 0 52 1 0 Sent: 13
at ms: 282733

[FSM] 3 S_wakeListen millis: 282733 totalTime: 338734
[FSM] 5 S_sleepRetry millis: 292675 totalTime: 348675
Sleep for 2
sleepTime 1
sleepTime 0
Wake millis 292682 totalTime 350683
WakeMs 292683
[FSM] 1 S_startWake millis: 292685 totalTime: 350687
[FSM] 2 S_wakeSend millis: 292690 totalTime: 350692
[LoRa] T0 msg size 13
[LoRa] Send T0 time ms 3
Sent 0 3 0 0 D3 13 0 0 0 0 5E 1 0 Sent: 13
at ms: 292748

This shows transmissions each 10s.

I built a monitor out of another node, which shows those packets going past each time:

Rcvd 13 for x3 msg type x0 hex 0 3 0 0 D3 13 0 0 0 0 46 1 0 * vv
Rcvd 13 for x3 msg type x0 hex 0 3 0 0 D3 13 0 0 0 0 52 1 0 * vv
Rcvd 13 for x3 msg type x0 hex 0 3 0 0 D3 13 0 0 0 0 5E 1 0 * vv

but in in pktlog_AA555A0000000101_20190805T211206Z.csv there is only

“gateway ID”,“node MAC”,“UTC timestamp”,“us count”,“frequency”,“RF chain”,“RX chain”,“status”,“size”,“modulation”,“bandwidth”,“datarate”,“coderate”,“RSSI”,“SNR”,“payload”
“AA555A0000000101”,"",“2019-08-05 21:12:49.366Z”, 45010380, 867700000,0, 6,“CRC_OK” , 17,“LORA”,125000,“SF7” ,“4/5”,-54, +9.2,“FFFF0000-00030000-D3130000-00008600-00”
“AA555A0000000101”,"",“2019-08-05 21:13:13.495Z”, 69137404, 867700000,0, 6,“CRC_OK” , 17,“LORA”,125000,“SF7” ,“4/5”,-61, +8.8,“FFFF0000-00030000-D3130000-00009E00-00”
“AA555A0000000101”,"",“2019-08-05 21:13:37.622Z”, 93265916, 867700000,0, 6,“CRC_OK” , 17,“LORA”,125000,“SF7” ,“4/5”,-55,+10.0,“FFFF0000-00030000-D3130000-0000B600-00”
“AA555A0000000101”,"",“2019-08-05 21:14:37.941Z”, 153585236, 867700000,0, 6,“CRC_OK” , 17,“LORA”,125000,“SF7” ,“4/5”,-58, +9.5,“FFFF0000-00030000-D3130000-0000F200-00”
“AA555A0000000101”,"",“2019-08-05 21:15:06.763Z”, 182406180, 867500000,0, 5,“CRC_BAD”, 41,“LORA”,125000,“SF7” ,“2/3”,-111,-11.2,“75CC265C-D2519088-1F51CFA9-374B493F-0BABDB7F-D93963F5-12997603-D966B054-2DCD6D6C-ABAAECEF-82”
“AA555A0000000101”,"",“2019-08-05 21:16:46.074Z”, 281718180, 867900000,0, 7,“CRC_BAD”, 53,“LORA”,125000,“SF7” ,“4/5”,-113,-11.5,“8AB8C6C9-F173F5D8-0497438F-4C67D396-191ABBE4-383DDE6D-83972315-6D5240C4-FC1044C9-97943F54-A38FCC1B-59C5C042-EE9802DE-9C”
“AA555A0000000101”,"",“2019-08-05 21:18:16.203Z”, 371847260, 867500000,0, 5,“CRC_BAD”,129,“LORA”,125000,“SF7” ,“2/3”,-112,-11.2,“A70694D5-6B7F1E96-B38CCC2E-CFDA8A9C-C3B54AB4-660D100B-DA07A804-7BC5E7DA-D8264F2C-2E17E2C8-CFE56C0F-FFB1D9EA-81522293-A4118A3C-F0794C35-86AD3B65-D884B655-A01F8224-E4233F62-81803F90-6F41003E-05E34E25-83931CB4-E3B261CF-D06747CD-366BFF54-70298FBE-E3B23BAD-5A9EE884-5207C924-B3C1F085-BFF111C1-CA”
“AA555A0000000101”,"",“2019-08-05 21:18:34.417Z”, 390059083, 868300000,1, 1,“CRC_BAD”,166,“LORA”,125000,“SF7” ,“2/3”,-112,-11.8,“2108A15F-B5111AA7-DC35C142-B18483E6-E58FF8F5-0BA0B381-692D8AF8-F20D3810-5DEE424D-3F3F5417-24DB5FEE-704CD4A0-A460A16A-0C7BA221-C12000CD-8BCADF20-E4686C8D-A2A59AD2-2C868F49-07C4AA74-ACFBD7FB-C637ED44-AE5C4CDD-F8B41968-70BA763B-45E0A97A-00109B11-7FCEECFD-098F2133-CC88EE62-41D14642-0BCB16C7-2631AE49-094658FB-F79936B4-3A334A4E-ADDFBB7B-EA982105-3A503185-2BA6F402-A65F710B-A51A”
“AA555A0000000101”,"",“2019-08-05 21:19:45.286Z”, 460928091, 868300000,1, 1,“CRC_BAD”, 13,“LORA”,125000,“SF7” ,“4/7”,-112,-10.5,“F36BAA00-5139C1D7-6D13DA0D-71”
“AA555A0000000101”,"",“2019-08-05 21:20:15.748Z”, 491390500, 867700000,0, 6,“CRC_OK” , 17,“LORA”,125000,“SF7” ,“4/5”,-57, +9.8,“FFFF0000-00030000-CC130000-00004202-00”

i.e. after ~600 seconds there should have been 60 packets (at 10s) but there was only 10 packets received (including some packets from other sources).

This result seems to agree with what I was seeing when I was watching tail -f /var/log/syslog

Any thoughts on this please?
Is it perhaps related to the packet forwarder not getting ACK from the .eu router?

  • Aug 2 14:04:53 rak-gateway ttn-gateway[21803]: # PUSH_DATA acknowledged: 0.00%

(Also, is there a help file for the forum please, which includes quoting lines, formatting code, and spoiler / hidden text? Is it using markdown? Thanks)

Are the channels that the nodes open are these?Other channels must be disabled.

channel freq DR_min DR_max
0 868100000 0 5
1 868300000 0 5
2 868500000 0 5
3 867100000 0 5
4 867300000 0 5
5 867500000 0 5
6 867700000 0 5
7 867900000 0 5

In the /opt/ttn-gateway/lora_gateway/libloragw directory, there are two test programs, test_loragw_spi and test_loragw_reg.

Run these two test programs and see the output.

Thanks, I’m only using 867.7at the moment, while testing.

  • test_loragw_spi gave
    • Beginning of test for loragw_spi.c
    • data received (simple read): 7
    • End of test for loragw_spi.c
  • test_loragw_reg output gave
CLICK HERE FOR REG

./test_loragw_reg
Beginning of test for loragw_reg.c
Start of register verification
+++MATCH+++ reg number 0 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 1 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 2 read: 103 (67) default: 103 (67)
+++MATCH+++ reg number 3 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 4 read: 3 (3) default: 0 (0)
+++MATCH+++ reg number 5 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 6 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 7 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 8 read: 64 (40) default: 0 (0)
+++MATCH+++ reg number 9 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 10 read: 82 (52) default: 0 (0)
+++MATCH+++ reg number 11 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 12 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 13 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 14 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 15 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 16 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 17 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 18 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 19 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 20 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 21 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 22 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 23 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 24 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 25 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 26 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 27 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 28 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 29 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 30 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 31 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 32 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 33 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 34 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 35 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 36 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 37 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 38 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 39 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 40 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 41 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 42 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 43 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 44 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 45 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 46 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 47 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 48 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 49 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 50 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 51 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 52 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 53 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 54 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 55 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 56 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 57 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 58 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 59 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 60 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 61 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 62 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 63 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 64 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 65 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 66 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 67 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 68 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 69 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 70 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 71 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 72 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 73 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 74 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 75 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 76 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 77 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 78 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 79 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 80 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 81 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 82 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 83 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 84 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 85 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 86 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 87 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 88 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 89 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 90 read: 7 (7) default: 7 (7)
+++MATCH+++ reg number 91 read: 240 (f0) default: 240 (f0)
+++MATCH+++ reg number 92 read: -384 (fffffe80) default: -384 (fffffe80)
+++MATCH+++ reg number 93 read: -128 (ffffff80) default: -128 (ffffff80)
+++MATCH+++ reg number 94 read: 128 (80) default: 128 (80)
+++MATCH+++ reg number 95 read: 384 (180) default: 384 (180)
+++MATCH+++ reg number 96 read: -384 (fffffe80) default: -384 (fffffe80)
+++MATCH+++ reg number 97 read: -128 (ffffff80) default: -128 (ffffff80)
+++MATCH+++ reg number 98 read: 128 (80) default: 128 (80)
+++MATCH+++ reg number 99 read: 384 (180) default: 384 (180)
+++MATCH+++ reg number 100 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 101 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 102 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 103 read: 7 (7) default: 7 (7)
+++MATCH+++ reg number 104 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 105 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 106 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 107 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 108 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 109 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 110 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 111 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 112 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 113 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 114 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 115 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 116 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 117 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 118 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 119 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 120 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 121 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 122 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 123 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 124 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 125 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 126 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 127 read: 5 (5) default: 5 (5)
+++MATCH+++ reg number 128 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 129 read: 4092 (ffc) default: 4092 (ffc)
+++MATCH+++ reg number 130 read: 7 (7) default: 7 (7)
+++MATCH+++ reg number 131 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 132 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 133 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 134 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 135 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 136 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 137 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 138 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 139 read: 29 (1d) default: 29 (1d)
+++MATCH+++ reg number 140 read: 9 (9) default: 9 (9)
+++MATCH+++ reg number 141 read: 2 (2) default: 2 (2)
+++MATCH+++ reg number 142 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 143 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 144 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 145 read: 2 (2) default: 2 (2)
+++MATCH+++ reg number 146 read: 10 (a) default: 10 (a)
+++MATCH+++ reg number 147 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 148 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 149 read: 8 (8) default: 8 (8)
+++MATCH+++ reg number 150 read: 2 (2) default: 2 (2)
+++MATCH+++ reg number 151 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 152 read: 255 (ff) default: 255 (ff)
+++MATCH+++ reg number 153 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 154 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 155 read: 8 (8) default: 8 (8)
+++MATCH+++ reg number 156 read: 7 (7) default: 7 (7)
+++MATCH+++ reg number 157 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 158 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 159 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 160 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 161 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 162 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 163 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 164 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 165 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 166 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 167 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 168 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 169 read: 32 (20) default: 32 (20)
+++MATCH+++ reg number 170 read: 100 (64) default: 100 (64)
+++MATCH+++ reg number 171 read: 100 (64) default: 100 (64)
+++MATCH+++ reg number 172 read: 7 (7) default: 7 (7)
+++MATCH+++ reg number 173 read: 5 (5) default: 5 (5)
+++MATCH+++ reg number 174 read: 8 (8) default: 8 (8)
+++MATCH+++ reg number 175 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 176 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 177 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 178 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 179 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 180 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 181 read: 1 (1) default: 0 (0)
+++MATCH+++ reg number 182 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 183 read: 61447 (f007) default: 0 (0)
###MISMATCH### reg number 184 read: 0 (0) default: 1 (1)
###MISMATCH### reg number 185 read: 8 (8) default: 2 (2)
###MISMATCH### reg number 186 read: 6 (6) default: 0 (0)
###MISMATCH### reg number 187 read: 31 (1f) default: 0 (0)
###MISMATCH### reg number 188 read: -128 (ffffff80) default: 0 (0)
+++MATCH+++ reg number 189 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 190 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 191 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 192 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 193 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 194 read: 0 (0) default: 5 (5)
+++MATCH+++ reg number 195 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 196 read: 1 (1) default: 1 (1)
###MISMATCH### reg number 197 read: 1 (1) default: 0 (0)
+++MATCH+++ reg number 198 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 199 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 200 read: 128 (80) default: 0 (0)
###MISMATCH### reg number 201 read: 0 (0) default: 1 (1)
###MISMATCH### reg number 202 read: 0 (0) default: 1 (1)
###MISMATCH### reg number 203 read: 8 (8) default: 2 (2)
###MISMATCH### reg number 204 read: 32799 (801f) default: 10 (a)
###MISMATCH### reg number 205 read: 0 (0) default: 1 (1)
###MISMATCH### reg number 206 read: 0 (0) default: 1 (1)
###MISMATCH### reg number 207 read: 128 (80) default: 10 (a)
###MISMATCH### reg number 208 read: 1 (1) default: 3 (3)
###MISMATCH### reg number 209 read: 0 (0) default: 29 (1d)
###MISMATCH### reg number 210 read: 0 (0) default: 36 (24)
+++MATCH+++ reg number 211 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 212 read: 0 (0) default: 2 (2)
###MISMATCH### reg number 213 read: 0 (0) default: 1 (1)
+++MATCH+++ reg number 214 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 215 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 216 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 217 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 218 read: 0 (0) default: 1 (1)
###MISMATCH### reg number 219 read: 0 (0) default: 8 (8)
###MISMATCH### reg number 220 read: 0 (0) default: 3 (3)
+++MATCH+++ reg number 221 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 222 read: 0 (0) default: 7 (7)
###MISMATCH### reg number 223 read: 0 (0) default: 1 (1)
###MISMATCH### reg number 224 read: 0 (0) default: 255 (ff)
###MISMATCH### reg number 225 read: 0 (0) default: 128 (80)
+++MATCH+++ reg number 226 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 227 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 228 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 229 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 230 read: 6 (6) default: 0 (0)
###MISMATCH### reg number 231 read: 1 (1) default: 0 (0)
+++MATCH+++ reg number 232 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 233 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 234 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 235 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 236 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 237 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 238 read: 1145339392 (44447e00) default: 0 (0)
###MISMATCH### reg number 239 read: 68 (44) default: 0 (0)
###MISMATCH### reg number 240 read: 0 (0) default: 1 (1)
###MISMATCH### reg number 241 read: 2 (2) default: 0 (0)
###MISMATCH### reg number 242 read: 0 (0) default: 1 (1)
+++MATCH+++ reg number 243 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 244 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 245 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 246 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 247 read: 0 (0) default: 1 (1)
###MISMATCH### reg number 248 read: 4092 (ffc) default: 0 (0)
###MISMATCH### reg number 249 read: 2 (2) default: 0 (0)
###MISMATCH### reg number 250 read: 7 (7) default: 0 (0)
###MISMATCH### reg number 251 read: 240 (f0) default: 0 (0)
+++MATCH+++ reg number 252 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 253 read: 128 (80) default: 0 (0)
###MISMATCH### reg number 254 read: 31 (1f) default: 0 (0)
###MISMATCH### reg number 255 read: 128 (80) default: 0 (0)
+++MATCH+++ reg number 256 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 257 read: 1 (1) default: 0 (0)
+++MATCH+++ reg number 258 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 259 read: 0 (0) default: 1 (1)
+++MATCH+++ reg number 260 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 261 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 262 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 263 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 264 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 265 read: 14 (e) default: 2 (2)
###MISMATCH### reg number 266 read: 1 (1) default: 4 (4)
###MISMATCH### reg number 267 read: 0 (0) default: 2 (2)
###MISMATCH### reg number 268 read: 8 (8) default: 4 (4)
###MISMATCH### reg number 269 read: 31 (1f) default: 0 (0)
+++MATCH+++ reg number 270 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 271 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 272 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 273 read: 128 (80) default: 0 (0)
###MISMATCH### reg number 274 read: 1 (1) default: 0 (0)
+++MATCH+++ reg number 275 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 276 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 277 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 278 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 279 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 280 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 281 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 282 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 283 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 284 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 285 read: 14 (e) default: 0 (0)
+++MATCH+++ reg number 286 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 287 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 288 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 289 read: 2113929216 (7e000000) default: 0 (0)
###MISMATCH### reg number 290 read: 4 (4) default: 0 (0)
###MISMATCH### reg number 291 read: 4 (4) default: 0 (0)
###MISMATCH### reg number 292 read: 4 (4) default: 0 (0)
###MISMATCH### reg number 293 read: 4 (4) default: 0 (0)
###MISMATCH### reg number 294 read: 4 (4) default: 0 (0)
###MISMATCH### reg number 295 read: 4 (4) default: 0 (0)
###MISMATCH### reg number 296 read: 4 (4) default: 0 (0)
+++MATCH+++ reg number 297 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 298 read: 4 (4) default: 0 (0)
+++MATCH+++ reg number 299 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 300 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 301 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 302 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 303 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 304 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 305 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 306 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 307 read: 1 (1) default: 0 (0)
###MISMATCH### reg number 308 read: 1 (1) default: 0 (0)
###MISMATCH### reg number 309 read: 3 (3) default: 0 (0)
+++MATCH+++ reg number 310 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 311 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 312 read: 7 (7) default: 0 (0)
+++MATCH+++ reg number 313 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 314 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 315 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 316 read: 1 (1) default: 0 (0)
+++MATCH+++ reg number 317 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 318 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 319 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 320 read: 2333 (91d) default: 0 (0)
###MISMATCH### reg number 321 read: 6 (6) default: 0 (0)
###MISMATCH### reg number 322 read: 1 (1) default: 0 (0)
###MISMATCH### reg number 323 read: 10 (a) default: 0 (0)
+++MATCH+++ reg number 324 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 325 read: 2 (2) default: 0 (0)
End of register verification
IMPLICIT_PAYLOAD_LENGHT = 0 (should be 197)
FRAME_SYNCH_PEAK2_POS = 2 (should be 11)
PREAMBLE_SYMB1_NB = 10 (should be 49253)
ADJUST_MODEM_START_OFFSET_SF12_RDX4 = 4092 (should be 3173)
IF_FREQ_1 = -128 (should be -1947)
End of test for loragw_reg.c

Also: I have noticed that the packet forwarder does not start unless I manually call “reset_lgw.sh start” so I did that and then repeated the tests:

  • ./test_loragw_spi
    • Beginning of test for loragw_spi.c
    • data received (simple read): 48
    • End of test for loragw_spi.c
  • ./test_loragw_reg
CLICK HERE FOR REG

Beginning of test for loragw_reg.c
Start of register verification
+++MATCH+++ reg number 0 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 1 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 2 read: 103 (67) default: 103 (67)
+++MATCH+++ reg number 3 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 4 read: 3 (3) default: 0 (0)
+++MATCH+++ reg number 5 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 6 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 7 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 8 read: 218 (da) default: 0 (0)
+++MATCH+++ reg number 9 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 10 read: 138 (8a) default: 0 (0)
+++MATCH+++ reg number 11 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 12 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 13 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 14 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 15 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 16 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 17 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 18 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 19 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 20 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 21 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 22 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 23 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 24 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 25 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 26 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 27 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 28 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 29 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 30 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 31 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 32 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 33 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 34 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 35 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 36 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 37 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 38 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 39 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 40 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 41 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 42 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 43 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 44 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 45 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 46 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 47 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 48 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 49 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 50 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 51 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 52 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 53 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 54 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 55 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 56 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 57 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 58 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 59 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 60 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 61 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 62 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 63 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 64 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 65 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 66 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 67 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 68 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 69 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 70 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 71 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 72 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 73 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 74 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 75 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 76 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 77 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 78 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 79 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 80 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 81 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 82 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 83 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 84 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 85 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 86 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 87 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 88 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 89 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 90 read: 7 (7) default: 7 (7)
+++MATCH+++ reg number 91 read: 240 (f0) default: 240 (f0)
+++MATCH+++ reg number 92 read: -384 (fffffe80) default: -384 (fffffe80)
+++MATCH+++ reg number 93 read: -128 (ffffff80) default: -128 (ffffff80)
+++MATCH+++ reg number 94 read: 128 (80) default: 128 (80)
+++MATCH+++ reg number 95 read: 384 (180) default: 384 (180)
+++MATCH+++ reg number 96 read: -384 (fffffe80) default: -384 (fffffe80)
+++MATCH+++ reg number 97 read: -128 (ffffff80) default: -128 (ffffff80)
+++MATCH+++ reg number 98 read: 128 (80) default: 128 (80)
+++MATCH+++ reg number 99 read: 384 (180) default: 384 (180)
+++MATCH+++ reg number 100 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 101 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 102 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 103 read: 7 (7) default: 7 (7)
+++MATCH+++ reg number 104 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 105 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 106 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 107 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 108 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 109 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 110 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 111 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 112 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 113 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 114 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 115 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 116 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 117 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 118 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 119 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 120 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 121 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 122 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 123 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 124 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 125 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 126 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 127 read: 5 (5) default: 5 (5)
+++MATCH+++ reg number 128 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 129 read: 4092 (ffc) default: 4092 (ffc)
+++MATCH+++ reg number 130 read: 7 (7) default: 7 (7)
+++MATCH+++ reg number 131 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 132 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 133 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 134 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 135 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 136 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 137 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 138 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 139 read: 29 (1d) default: 29 (1d)
+++MATCH+++ reg number 140 read: 9 (9) default: 9 (9)
+++MATCH+++ reg number 141 read: 2 (2) default: 2 (2)
+++MATCH+++ reg number 142 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 143 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 144 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 145 read: 2 (2) default: 2 (2)
+++MATCH+++ reg number 146 read: 10 (a) default: 10 (a)
+++MATCH+++ reg number 147 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 148 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 149 read: 8 (8) default: 8 (8)
+++MATCH+++ reg number 150 read: 2 (2) default: 2 (2)
+++MATCH+++ reg number 151 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 152 read: 255 (ff) default: 255 (ff)
+++MATCH+++ reg number 153 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 154 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 155 read: 8 (8) default: 8 (8)
+++MATCH+++ reg number 156 read: 7 (7) default: 7 (7)
+++MATCH+++ reg number 157 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 158 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 159 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 160 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 161 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 162 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 163 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 164 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 165 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 166 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 167 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 168 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 169 read: 32 (20) default: 32 (20)
+++MATCH+++ reg number 170 read: 100 (64) default: 100 (64)
+++MATCH+++ reg number 171 read: 100 (64) default: 100 (64)
+++MATCH+++ reg number 172 read: 7 (7) default: 7 (7)
+++MATCH+++ reg number 173 read: 5 (5) default: 5 (5)
+++MATCH+++ reg number 174 read: 8 (8) default: 8 (8)
+++MATCH+++ reg number 175 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 176 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 177 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 178 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 179 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 180 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 181 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 182 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 183 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 184 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 185 read: 2 (2) default: 2 (2)
+++MATCH+++ reg number 186 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 187 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 188 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 189 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 190 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 191 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 192 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 193 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 194 read: 5 (5) default: 5 (5)
+++MATCH+++ reg number 195 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 196 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 197 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 198 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 199 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 200 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 201 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 202 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 203 read: 2 (2) default: 2 (2)
+++MATCH+++ reg number 204 read: 10 (a) default: 10 (a)
+++MATCH+++ reg number 205 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 206 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 207 read: 10 (a) default: 10 (a)
+++MATCH+++ reg number 208 read: 3 (3) default: 3 (3)
+++MATCH+++ reg number 209 read: 29 (1d) default: 29 (1d)
+++MATCH+++ reg number 210 read: 36 (24) default: 36 (24)
+++MATCH+++ reg number 211 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 212 read: 2 (2) default: 2 (2)
+++MATCH+++ reg number 213 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 214 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 215 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 216 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 217 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 218 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 219 read: 8 (8) default: 8 (8)
+++MATCH+++ reg number 220 read: 3 (3) default: 3 (3)
+++MATCH+++ reg number 221 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 222 read: 7 (7) default: 7 (7)
+++MATCH+++ reg number 223 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 224 read: 255 (ff) default: 255 (ff)
+++MATCH+++ reg number 225 read: 128 (80) default: 128 (80)
+++MATCH+++ reg number 226 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 227 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 228 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 229 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 230 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 231 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 232 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 233 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 234 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 235 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 236 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 237 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 238 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 239 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 240 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 241 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 242 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 243 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 244 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 245 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 246 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 247 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 248 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 249 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 250 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 251 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 252 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 253 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 254 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 255 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 256 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 257 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 258 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 259 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 260 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 261 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 262 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 263 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 264 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 265 read: 2 (2) default: 2 (2)
+++MATCH+++ reg number 266 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 267 read: 2 (2) default: 2 (2)
+++MATCH+++ reg number 268 read: 4 (4) default: 4 (4)
+++MATCH+++ reg number 269 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 270 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 271 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 272 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 273 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 274 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 275 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 276 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 277 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 278 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 279 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 280 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 281 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 282 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 283 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 284 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 285 read: 190 (be) default: 0 (0)
###MISMATCH### reg number 286 read: 46 (2e) default: 0 (0)
+++MATCH+++ reg number 287 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 288 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 289 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 290 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 291 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 292 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 293 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 294 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 295 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 296 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 297 read: 0 (0) default: 0 (0)
###MISMATCH### reg number 298 read: 7 (7) default: 0 (0)
+++MATCH+++ reg number 299 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 300 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 301 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 302 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 303 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 304 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 305 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 306 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 307 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 308 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 309 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 310 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 311 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 312 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 313 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 314 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 315 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 316 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 317 read: 1 (1) default: 1 (1)
+++MATCH+++ reg number 318 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 319 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 320 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 321 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 322 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 323 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 324 read: 0 (0) default: 0 (0)
+++MATCH+++ reg number 325 read: 0 (0) default: 0 (0)
End of register verification
IMPLICIT_PAYLOAD_LENGHT = 197 (should be 197)
FRAME_SYNCH_PEAK2_POS = 11 (should be 11)
PREAMBLE_SYMB1_NB = 49253 (should be 49253)
ADJUST_MODEM_START_OFFSET_SF12_RDX4 = 3173 (should be 3173)
IF_FREQ_1 = -1947 (should be -1947)
End of test for loragw_reg.c

Thanks for looking at this. W

Hi @waynemcl
What you mean by using only 867.7?

I’m using custom code for transmitters (I will also be modifying the gateway code once I have it stable) , and those nodes only transmit on one frequency at the moment.

@waynemcl

Looks like problems caused by spi speed.
Let’s modify the code to try and see if it can be solved.

Step:
1.sudo nano /opt/ttn-gateway/lora_gateway/libloragw/src/loragw_spi.native.c
2.Modify SPI_SPEED to 1000000 or 500000
2019-08-08%2011%3A39%3A24
3.cd /opt/ttn-gateway/lora_gateway; sudo make clean; sudo make
4.Test with the program test_loragw_reg test
5.The output is printed as follows, then it works fine, continue with the following steps
2019-08-08%2011%3A45%3A41
6.sudo systemctl stop ttn-gateway
7.cd /opt/ttn-gateway/packet_forwarder; sudo make clean; sudo make
8.sudo systemctl start ttn-gateway

@ZhuQI

I set the SPI for 500000. This all built fine. As before it returned

End of register verification
IMPLICIT_PAYLOAD_LENGHT = 0 (should be 197)
FRAME_SYNCH_PEAK2_POS = 2 (should be 11)
PREAMBLE_SYMB1_NB = 10 (should be 49253)
ADJUST_MODEM_START_OFFSET_SF12_RDX4 = 4092 (should be 3173)
IF_FREQ_1 = -128 (should be -1947)
End of test for loragw_reg.c

and after manually calling “reset_lgw.s start” it returned

IMPLICIT_PAYLOAD_LENGHT = 197 (should be 197)
FRAME_SYNCH_PEAK2_POS = 11 (should be 11)
PREAMBLE_SYMB1_NB = 49253 (should be 49253)
ADJUST_MODEM_START_OFFSET_SF12_RDX4 = 3173 (should be 3173)
IF_FREQ_1 = -1947 (should be -1947)
End of test for loragw_reg.c

i.e. no difference in behaviour so far.

  1. sudo systemctl stop ttn-gateway
  2. cd /opt/ttn-gateway/packet_forwarder; sudo make clean; sudo make
  3. sudo systemctl start ttn-gateway

This all built OK, too, but The now GPIO LED LED lights for 2s every 10s, but the RX_LED does not light.

I tried manually calling reset_lgw.sh, which often helps, but did not this time.

syslog shows

ERROR: Failed to load fw 0
ERROR: [main] failed to start the concentrator

There looks to be a reset problem to me. I have the RST line of the RAK831 (pin21) connected to RasPi pin26 = GPIO7. The interconnect wires I’m using are only ~5cm long.

Thanks, W

Later, after rebooting the RasPi, the concentrator did start.
I re-did my test with a node transmitting every 10s.
As before, there are long periods of time where the packets do not seem to be received:
e.g. from 09:54:26 until 09:56:01
I note the GPS did not lock until partway through this test.

CLICK HERE FOR LOG

Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: JSON up: {“rxpk”:[{“tmst”:20868092,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“m odu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:4.2,“rssi”:-119,“size”:17,“data”:"//8AAAADBwB+FAAAAAACAAA="}]}
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: INFO: Received pkt from mote: 000000FF (fcnt=0)
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: JSON up: {“rxpk”:[{“tmst”:25075068,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“m odu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:4.5,“rssi”:-119,“size”:17,“data”:"//8AAAADAABTFAAAAAAGAAA="}]}
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: INFO: Received pkt from mote: 000000FF (fcnt=0)
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: JSON up: {“rxpk”:[{“tmst”:29222660,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“m odu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:3.8,“rssi”:-119,“size”:17,“data”:"//8AAAADAABvFAAAAAAKAAA="}]}
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: INFO: [down] PULL_ACK received in 279 ms
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: INFO: Received pkt from mote: 000000FF (fcnt=0)
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: JSON up: {“rxpk”:[{“tmst”:37518244,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“m odu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:4.2,“rssi”:-119,“size”:17,“data”:"//8AAAADAABhFAAAAAASAAA="}]}
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: INFO: [down] PULL_ACK received in 280 ms
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: ##### 2019-08-08 21:53:56 GMT #####
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: ### [UPSTREAM] ###
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # RF packets received by concentrator: 5
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # CRC_OK: 80.00%, CRC_FAIL: 20.00%, NO_CRC: 0.00%
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # RF packets forwarded: 4 (68 bytes)
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # PUSH_DATA datagrams sent: 5 (899 bytes)
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # PUSH_DATA acknowledged: 0.00%
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: ### [DOWNSTREAM] ###
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # PULL_DATA sent: 3 (100.00% acknowledged)
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # RF packets sent to concentrator: 0 (0 bytes)
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # TX errors: 0
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # BEACON queued: 0
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # BEACON sent so far: 0
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # BEACON rejected: 0
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: ### [JIT] ###
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: INFO: Disabling GPS mode for concentrator’s counter…
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # SX1301 time (PPS): 47879627
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: ### [GPS] ###
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # Invalid time reference (age: 1565301236 sec)
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # no valid GPS coordinates available yet
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: ##### END #####
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: INFO: host/sx1301 time offset=(1565301188s:129323µs) - drift=57889215µs
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: INFO: Enabling GPS mode for concentrator’s counter.
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: JSON up: {“stat”:{“time”:“2019-08-08 21:53:56 GMT”,“rxnb”:5,“rxok”:4,“rxfw”:4,“ack r”:0.0,“dwnb”:0,“txnb”:0}}
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: INFO: [down] PULL_ACK received in 281 ms
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: INFO: [down] PULL_ACK received in 280 ms
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: INFO: Received pkt from mote: 000000FF (fcnt=0)
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: JSON up: {“rxpk”:[{“tmst”:65423300,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“m odu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:4.8,“rssi”:-119,“size”:17,“data”:"//8AAAADAAB+FNv/CgAsAAA="}]}
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: INFO: [down] PULL_ACK received in 280 ms
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: ##### 2019-08-08 21:54:26 GMT #####
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: ### [UPSTREAM] ###
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # RF packets received by concentrator: 1
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # RF packets forwarded: 1 (17 bytes)
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # PUSH_DATA datagrams sent: 2 (308 bytes)
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # PUSH_DATA acknowledged: 0.00%
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: ### [DOWNSTREAM] ###
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # PULL_DATA sent: 3 (100.00% acknowledged)
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # RF packets sent to concentrator: 0 (0 bytes)
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # TX errors: 0
Aug 9 09:54:26 rak-gateway ttn-gateway[1559]: # BEACON queued: 0
Aug 9 09:55:01 rak-gateway CRON[1624]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # BEACON sent so far: 0
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # BEACON rejected: 0
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: ### [JIT] ###
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # SX1301 time (PPS): 11578966
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: ### [GPS] ###
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # Invalid time reference (age: 1565301266 sec)
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # no valid GPS coordinates available yet
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: ##### END #####
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: JSON up: {“stat”:{“time”:“2019-08-08 21:54:26 GMT”,“rxnb”:1,“rxok”:1,“rxfw”:1,“ackr”:0.0,“dwnb”:0,“txnb”:0}}
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: INFO: [down] PULL_ACK received in 280 ms
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: INFO: [down] PULL_ACK received in 280 ms
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: INFO: [down] PULL_ACK received in 280 ms
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: ##### 2019-08-08 21:54:56 GMT #####
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: ### [UPSTREAM] ###
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # RF packets received by concentrator: 0
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # RF packets forwarded: 0 (0 bytes)
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # PUSH_DATA datagrams sent: 1 (111 bytes)
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # PUSH_DATA acknowledged: 0.00%
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: ### [DOWNSTREAM] ###
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # PULL_DATA sent: 3 (100.00% acknowledged)
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # RF packets sent to concentrator: 0 (0 bytes)
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # TX errors: 0
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # BEACON queued: 0
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # BEACON sent so far: 0
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # BEACON rejected: 0
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: ### [JIT] ###
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: INFO: Disabling GPS mode for concentrator’s counter…
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # SX1301 time (PPS): 4567788
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: ### [GPS] ###
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # Invalid time reference (age: 1565301296 sec)
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # no valid GPS coordinates available yet
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: ##### END #####
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: INFO: host/sx1301 time offset=(1565301291s:439660µs) - drift=103310337µs
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: INFO: Enabling GPS mode for concentrator’s counter.
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: JSON up: {“stat”:{“time”:“2019-08-08 21:54:56 GMT”,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0}}
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: INFO: [down] PULL_ACK received in 280 ms
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: INFO: [down] PULL_ACK received in 279 ms
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: INFO: [down] PULL_ACK received in 280 ms
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: ##### 2019-08-08 21:55:26 GMT #####
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: ### [UPSTREAM] ###
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # RF packets received by concentrator: 0
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # RF packets forwarded: 0 (0 bytes)
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # PUSH_DATA datagrams sent: 1 (111 bytes)
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # PUSH_DATA acknowledged: 0.00%
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: ### [DOWNSTREAM] ###
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # PULL_DATA sent: 3 (100.00% acknowledged)
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # RF packets sent to concentrator: 0 (0 bytes)
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # TX errors: 0
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # BEACON queued: 0
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # BEACON sent so far: 0
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # BEACON rejected: 0
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: ### [JIT] ###
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # SX1301 time (PPS): 34567773
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: ### [GPS] ###
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # Invalid time reference (age: 1565301326 sec)
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: # no valid GPS coordinates available yet
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: ##### END #####
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: JSON up: {“stat”:{“time”:“2019-08-08 21:55:26 GMT”,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0}}
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: INFO: [down] PULL_ACK received in 282 ms
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: INFO: Received pkt from mote: 000000FF (fcnt=0)
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: JSON up: {“rxpk”:[{“tmst”:46514036,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“modu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:4.0,“rssi”:-119,“size”:17,“data”:"//8AAAADAAB+FN3/CgB8AAA="}]}
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: INFO: [down] PULL_ACK received in 280 ms
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: INFO: Received pkt from mote: 000000FF (fcnt=0)
Aug 9 09:56:01 rak-gateway ttn-gateway[1559]: JSON up: {“rxpk”:[{“tmst”:58570348,“chan”:6,“rfch”:0,“freq”:867.700000,“stat”:1,“modu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:5.2,“rssi”:-119,“size”:17,“data”:"//8AAAADAABvFN7/CQCIAAA="}]}

What model is your node?
Have you tried replacing the node to test?
If the problem is still, contact the after-sales personnel to replace the gateway.

I’m using a Wisen Whisper Node https://wisen.com.au/store/products/whisper-node-avr/ I have tried using other node devices, and get the same behaviour. Other devices configured as monitors show that the packets are being transmitted on air.