Connecting IMST LiteGateway ? Stuck

All gateways require some configuration, the easiest should be the TTN official gateway but that’s still being made and maybe months away.

That said to be honest I think you just hit a faulty one, it’s not usually this hard.

Out of curiosity can you tell us the specs of the power supply that’s connected there? Should be 5V but what’s the Amp rating? Maybe even post a photo to check the brand.

If you can try another supply (taking care to match the same voltage and polarity) that would be interesting too.

This is the power supply given by IMST as standard supply for the litegateway
2.5 A
I’m gona check tomorow it the supply is not involved. Need to check at the office

thanks anyway so much for your assistance. Looks like we have to check the hardware
Waiting for the feedback from IMST

I got some support from IMST
The think the resert function has not been started in the scripts lauching the TTN system software.
Do you know where I should place this start line (which file) when staring the TTN gateway ?

"
Dear Cadic Philippe,

I am pretty sure that this is not related to a hardware defect.

The “calibration error” is being presented if you did not do a clean reset of the iC880A before starting the HAL.

The Semtech HAL requires the execution of an external reset script once before any of the HAL functions is being used.
Please see also https://wireless-solutions.de/forum/images/stories/downloads/Radio%20Modules/iC880A/iC880A-SPI_QuickStartGuide.pdf

I can not see the execution of the provided(*) reset script in your screen shots.

Are you sure that the TTN-client does a clean reset during the start phase?
If it tries to do a reset, did you modify the TTN reset script to the present hardware?
Is there a reset script included in the TTN package?

I suggest the following steps:

  1. make sure to stop the pre-installed LoRa clients from IoTSemtech and loriot
  2. make sure to disable the automatic start of these two services, if you want to use the TTN client
  3. extent the TTN startup in that way, that the provided(*) reset_script is called before the TTN client is being started

(*) a reset script for the LGW is provided in the following two directories:
/home/pi/loriot/reset_lgw.sh
/home/pi/github/lora_gateway/reset_lgw.sh

Thanks.
"

Both @gonzalo’s and the scripts I tried have code to trigger the reset the pin and not only did I try setting it to GPIO5, pin 29 - which should be the correct for the iMST board - but also every other possible pin on the Pi.

So I don’t think it’s that. That error unfortunately appears in many contexts (that’s just the flimsy way Semtech Cycleo does things)

I understand you nuked your original SD card image provided by iMST but maybe they can send you another copy for you to write to the card and try again from that.
Not sure if it’d change anything but at least it would push the ball firmly onto their court.

I made a backup of the original SD card so I can re-install the GW in out of the box state. 35 years of coding make you paranoid :slight_smile:
To save time and avoid endless ping pong with the factory support , I ordered a brand new ic880a card (I also feel it is a hardware issue, just want to confirm it and get sure I’m not an ‘idiot’ (LOL) in linux setup. ) I am receiving the new card in 2 days.
If I cannot setup the new , I will know I have to go back to school :))

1 Like

The original reset bash script , coming with the loriot default config is this
So it is PIN 5 to my understanding

#!/bin/sh

This script is intended to be used on IoT Starter Kit platform only, it

performs the following actions:

- export/unpexort GPIO7 used to reset the SX1301 chip

Usage examples:

./reset_lgw.sh stop

./reset_lgw.sh start

echo “1” >> /tmp/test.dat

The reset pin of SX1301 is wired with RPi GPIO5

IOT_SK_SX1301_RESET_PIN=5

WAIT_GPIO() {
sleep 0.1
}

iot_sk_init() {
# setup GPIO 5
echo “$IOT_SK_SX1301_RESET_PIN” > /sys/class/gpio/export; WAIT_GPIO

# set GPIO 5 as output
echo "out" > /sys/class/gpio/gpio$IOT_SK_SX1301_RESET_PIN/direction; WAIT_GPIO

# write output for SX1301 reset
echo "1" > /sys/class/gpio/gpio$IOT_SK_SX1301_RESET_PIN/value; WAIT_GPIO
echo "0" > /sys/class/gpio/gpio$IOT_SK_SX1301_RESET_PIN/value; WAIT_GPIO

# set GPIO 5 as input

echo “in” > /sys/class/gpio/gpio$IOT_SK_SX1301_RESET_PIN/direction; WAIT_GPIO

}

iot_sk_term() {
# cleanup GPIO 7
if [ -d /sys/class/gpio/gpio$IOT_SK_SX1301_RESET_PIN ]
then
echo “$IOT_SK_SX1301_RESET_PIN” > /sys/class/gpio/unexport; WAIT_GPIO
fi
}

case “$1” in
start)
iot_sk_term
iot_sk_init
;;
stop)
iot_sk_term
;;
*)
echo “Usage: $0 {start|stop}”
exit 1
;;
esac

exit 0

Great so GPIO5 is confirmed both in code and all the photos.

Does the original script go any further? Even if you don’t use Loriot it should at least start the concentrator.

Did you ever try another power supply?

Yes
Same issue with the other power supply 5v 3A - Tested with multimeter + Amp tester (with an email from the seller & an attempt to tell me it would void de garantee if I use another power supply
)
I will reinstall the original SD card (Loriot) and retry for see if daemon.log show the statup of the concentrator.
I imagine it is written in the logs

I have re-installed the image of the SD card with loriot.
I’m not expert with the loriot stuff but I feel the concentrator is working . Am I right ?

The deamon.log seems to show a working concentrator does it ?

Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: *** Lora concentrator HAL library version info ***
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: Version: 4.1.0;
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: ***
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: Little endian host
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: found global configuration file global_conf.json, parsing it
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: lorawan_public 1, clksrc 1
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: LBT is disabled
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: antenna_gain 0 dBi
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: Configuring TX LUT with 16 indexes
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: radio 0 enabled (type SX1257), center frequency 867500000, RSSI offset -166.000000, tx enabled 1, tx_notch_freq 129000
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: radio 1 enabled (type SX1257), center frequency 868500000, RSSI offset -166.000000, tx enabled 0, tx_notch_freq 0
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: Lora multi-SF channel 0> radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: Lora multi-SF channel 1> radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: Lora multi-SF channel 2> radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: Lora multi-SF channel 3> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: Lora multi-SF channel 4> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: Lora multi-SF channel 5> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: Lora multi-SF channel 6> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: Lora multi-SF channel 7> radio 0, IF 400000 Hz, 125 kHz bw, SF 7 to 12
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: gateway MAC address is configured to AA555A0000000000
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: server hostname or IP address is configured to “iot.semtech.com”
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: upstream port is configured to “1680”
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: downstream port is configured to “1680”
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: downstream keep-alive interval is configured to 10 seconds
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: statistics display interval is configured to 30 seconds
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: upstream PUSH_DATA time-out is configured to 100 ms
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: packets received with a valid CRC will be forwarded
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: packets received with a CRC error will NOT be forwarded
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: packets received with no CRC will NOT be forwarded
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: found local configuration file local_conf.json, parsing it
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: redefined parameters will overwrite global parameters
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: local_conf.json does not contain a JSON object named SX1301_conf
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: gateway MAC address is configured to B827EBFFFE84F259
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: packets received with a valid CRC will be forwarded
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: packets received with a CRC error will NOT be forwarded
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: packets received with no CRC will NOT be forwarded
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: [main] concentrator started, packet can now be received
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: Disabling GPS mode for concentrator’s counter

Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: host/sx1301 time offset=(1490120240s:313614”s) - drift=-1483164402”s
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: Enabling GPS mode for concentrator’s counter.
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 62 ms
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 63 ms
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 61 ms
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: ##### 2017-03-21 19:11:56 GMT #####
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: ### [UPSTREAM] ###
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: # RF packets received by concentrator: 0
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: # RF packets forwarded: 0 (0 bytes)
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA datagrams sent: 0 (0 bytes)
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA acknowledged: 0.00%
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: ### [DOWNSTREAM] ###
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: # PULL_DATA sent: 3 (100.00% acknowledged)
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: # RF packets sent to concentrator: 0 (0 bytes)
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: # TX errors: 0
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: # BEACON queued: 0
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: # BEACON sent so far: 0
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: # BEACON rejected: 0
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: ### [JIT] ###
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: ### [GPS] ###
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: # GPS sync is disabled
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: ##### END #####
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: JSON up: {“stat”:{“time”:“2017-03-21 19:11:56 GMT”,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0}}
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: [up] PUSH_ACK received in 63 ms
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 61 ms
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 61 ms
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 83 ms
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: ##### 2017-03-21 19:12:26 GMT #####
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: ### [UPSTREAM] ###
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: # RF packets received by concentrator: 1
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: # CRC_OK: 0.00%, CRC_FAIL: 100.00%, NO_CRC: 0.00%
Mar 21 19:12:52 LoRaGateway systemd[1]: loriot.service start operation timed out. Terminating.
Mar 21 19:12:52 LoRaGateway systemd[1]: Failed to start loriot LoRaWAN client.
Mar 21 19:12:52 LoRaGateway systemd[1]: Unit loriot.service entered failed state.
Mar 21 19:12:52 LoRaGateway systemd[1]: Starting Multi-User System.
Mar 21 19:12:52 LoRaGateway systemd[1]: Reached target Multi-User System.
Mar 21 19:12:52 LoRaGateway systemd[1]: Starting Graphical Interface.
Mar 21 19:12:52 LoRaGateway systemd[1]: Reached target Graphical Interface.
Mar 21 19:12:52 LoRaGateway systemd[1]: Starting Update UTMP about System Runlevel Changes

Mar 21 19:12:52 LoRaGateway systemd[1]: Started Update UTMP about System Runlevel Changes.
Mar 21 19:12:52 LoRaGateway systemd[1]: Startup finished in 3.857s (kernel) + 1min 49.724s (userspace) = 1min 53.582s.
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # RF packets forwarded: 0 (0 bytes)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA datagrams sent: 1 (111 bytes)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA acknowledged: 100.00%
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ### [DOWNSTREAM] ###
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # PULL_DATA sent: 3 (100.00% acknowledged)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # RF packets sent to concentrator: 0 (0 bytes)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # TX errors: 0
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # BEACON queued: 0
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # BEACON sent so far: 0
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # BEACON rejected: 0
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ### [JIT] ###
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ### [GPS] ###
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # GPS sync is disabled
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ##### END #####
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: Disabling GPS mode for concentrator’s counter

Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: host/sx1301 time offset=(1490123484s:215130”s) - drift=-1051065780”s
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: Enabling GPS mode for concentrator’s counter.
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: JSON up: {“stat”:{“time”:“2017-03-21 19:12:26 GMT”,“rxnb”:1,“rxok”:0,“rxfw”:0,“ackr”:100.0,“dwnb”:0,“txnb”:0}}
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: [up] PUSH_ACK received in 63 ms
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 62 ms
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 62 ms
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 62 ms
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ##### 2017-03-21 19:12:56 GMT #####
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ### [UPSTREAM] ###
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # RF packets received by concentrator: 0
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # RF packets forwarded: 0 (0 bytes)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA datagrams sent: 1 (113 bytes)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA acknowledged: 100.00%
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ### [DOWNSTREAM] ###
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # PULL_DATA sent: 3 (100.00% acknowledged)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # RF packets sent to concentrator: 0 (0 bytes)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # TX errors: 0
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # BEACON queued: 0
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # BEACON sent so far: 0
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # BEACON rejected: 0
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ### [JIT] ###
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ### [GPS] ###
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # GPS sync is disabled
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ##### END #####
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: JSON up: {“stat”:{“time”:“2017-03-21 19:12:56 GMT”,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:100.0,“dwnb”:0,“txnb”:0}}
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: [up] PUSH_ACK received in 64 ms
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 62 ms
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 62 ms
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 61 ms
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ##### 2017-03-21 19:13:26 GMT #####
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ### [UPSTREAM] ###
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # RF packets received by concentrator: 1
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # CRC_OK: 0.00%, CRC_FAIL: 100.00%, NO_CRC: 0.00%
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # RF packets forwarded: 0 (0 bytes)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA datagrams sent: 1 (113 bytes)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA acknowledged: 100.00%
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ### [DOWNSTREAM] ###
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # PULL_DATA sent: 3 (100.00% acknowledged)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # RF packets sent to concentrator: 0 (0 bytes)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # TX errors: 0
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # BEACON queued: 0
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # BEACON sent so far: 0
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # BEACON rejected: 0
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ### [JIT] ###
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ### [GPS] ###
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # GPS sync is disabled
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ##### END #####
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: Disabling GPS mode for concentrator’s counter

Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: host/sx1301 time offset=(1490123484s:215604”s) - drift=474”s
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: Enabling GPS mode for concentrator’s counter.
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: JSON up: {“stat”:{“time”:“2017-03-21 19:13:26 GMT”,“rxnb”:1,“rxok”:0,“rxfw”:0,“ackr”:100.0,“dwnb”:0,“txnb”:0}}
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: [up] PUSH_ACK received in 64 ms
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 265 ms
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 204 ms
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 61 ms
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ##### 2017-03-21 19:13:56 GMT #####
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ### [UPSTREAM] ###
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # RF packets received by concentrator: 0
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # RF packets forwarded: 0 (0 bytes)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA datagrams sent: 1 (113 bytes)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA acknowledged: 100.00%
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: ### [DOWNSTREAM] ###
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # PULL_DATA sent: 3 (100.00% acknowledged)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # RF packets sent to concentrator: 0 (0 bytes)
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # TX errors: 0
Mar 21 19:14:26 LoRaGateway lora_pkt_fwd[630]: # BEACON queued: 0
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: # BEACON sent so far: 0
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: # BEACON rejected: 0
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: ### [JIT] ###
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: ### [GPS] ###
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: # GPS sync is disabled
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: ##### END #####
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: JSON up: {“stat”:{“time”:“2017-03-21 19:13:56 GMT”,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:100.0,“dwnb”:0,“txnb”:0}}
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: INFO: [up] PUSH_ACK received in 62 ms
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 62 ms
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 181 ms
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 62 ms
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: ##### 2017-03-21 19:14:26 GMT #####
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: ### [UPSTREAM] ###
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: # RF packets received by concentrator: 0
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: # RF packets forwarded: 0 (0 bytes)
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA datagrams sent: 1 (113 bytes)
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA acknowledged: 100.00%
Mar 21 19:14:27 LoRaGateway lora_pkt_fwd[630]: ### [DOWNSTREAM] ###
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # PULL_DATA sent: 3 (100.00% acknowledged)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # RF packets sent to concentrator: 0 (0 bytes)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # TX errors: 0
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # BEACON queued: 0
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # BEACON sent so far: 0
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # BEACON rejected: 0
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ### [JIT] ###
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ### [GPS] ###
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # GPS sync is disabled
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ##### END #####
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: Disabling GPS mode for concentrator’s counter

Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: host/sx1301 time offset=(1490123484s:216071”s) - drift=467”s
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: Enabling GPS mode for concentrator’s counter.
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: JSON up: {“stat”:{“time”:“2017-03-21 19:14:26 GMT”,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:100.0,“dwnb”:0,“txnb”:0}}
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: [up] PUSH_ACK received in 63 ms
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 60 ms
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 70 ms
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 61 ms
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ##### 2017-03-21 19:14:56 GMT #####
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ### [UPSTREAM] ###
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # RF packets received by concentrator: 1
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # CRC_OK: 0.00%, CRC_FAIL: 100.00%, NO_CRC: 0.00%
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # RF packets forwarded: 0 (0 bytes)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA datagrams sent: 1 (113 bytes)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA acknowledged: 100.00%
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ### [DOWNSTREAM] ###
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # PULL_DATA sent: 3 (100.00% acknowledged)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # RF packets sent to concentrator: 0 (0 bytes)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # TX errors: 0
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # BEACON queued: 0
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # BEACON sent so far: 0
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # BEACON rejected: 0
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ### [JIT] ###
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ### [GPS] ###
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # GPS sync is disabled
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ##### END #####
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: JSON up: {“stat”:{“time”:“2017-03-21 19:14:56 GMT”,“rxnb”:1,“rxok”:0,“rxfw”:0,“ackr”:100.0,“dwnb”:0,“txnb”:0}}
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: [up] PUSH_ACK received in 62 ms
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 61 ms
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 61 ms
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 61 ms
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ##### 2017-03-21 19:15:26 GMT #####
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ### [UPSTREAM] ###
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # RF packets received by concentrator: 0
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # RF packets forwarded: 0 (0 bytes)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA datagrams sent: 1 (113 bytes)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA acknowledged: 100.00%
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ### [DOWNSTREAM] ###
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # PULL_DATA sent: 3 (100.00% acknowledged)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # RF packets sent to concentrator: 0 (0 bytes)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # TX errors: 0
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # BEACON queued: 0
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # BEACON sent so far: 0
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # BEACON rejected: 0
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ### [JIT] ###
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ### [GPS] ###
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # GPS sync is disabled
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ##### END #####
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: Disabling GPS mode for concentrator’s counter

Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: host/sx1301 time offset=(1490123484s:216535”s) - drift=464”s
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: Enabling GPS mode for concentrator’s counter.
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: JSON up: {“stat”:{“time”:“2017-03-21 19:15:26 GMT”,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:100.0,“dwnb”:0,“txnb”:0}}
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: [up] PUSH_ACK received in 63 ms
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 62 ms
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 62 ms
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 62 ms
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ##### 2017-03-21 19:15:56 GMT #####
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ### [UPSTREAM] ###
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # RF packets received by concentrator: 1
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # CRC_OK: 0.00%, CRC_FAIL: 100.00%, NO_CRC: 0.00%
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # RF packets forwarded: 0 (0 bytes)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA datagrams sent: 1 (113 bytes)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA acknowledged: 100.00%
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: ### [DOWNSTREAM] ###
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # PULL_DATA sent: 3 (100.00% acknowledged)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # RF packets sent to concentrator: 0 (0 bytes)
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # TX errors: 0
Mar 21 19:16:26 LoRaGateway lora_pkt_fwd[630]: # BEACON queued: 0
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: # BEACON sent so far: 0
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: # BEACON rejected: 0
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: ### [JIT] ###
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: ### [GPS] ###
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: # GPS sync is disabled
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: ##### END #####
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: JSON up: {“stat”:{“time”:“2017-03-21 19:15:56 GMT”,“rxnb”:1,“rxok”:0,“rxfw”:0,“ackr”:100.0,“dwnb”:0,“txnb”:0}}
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: INFO: [up] PUSH_ACK received in 63 ms
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 62 ms
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 61 ms
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 61 ms
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: ##### 2017-03-21 19:16:26 GMT #####
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: ### [UPSTREAM] ###
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: # RF packets received by concentrator: 0
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: # RF packets forwarded: 0 (0 bytes)
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA datagrams sent: 1 (113 bytes)
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA acknowledged: 100.00%
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: ### [DOWNSTREAM] ###
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: # PULL_DATA sent: 3 (100.00% acknowledged)
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: # RF packets sent to concentrator: 0 (0 bytes)
Mar 21 19:16:27 LoRaGateway lora_pkt_fwd[630]: # TX errors: 0
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: # BEACON queued: 0
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: # BEACON sent so far: 0
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: # BEACON rejected: 0
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: ### [JIT] ###
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: ### [GPS] ###
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: # GPS sync is disabled
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: ##### END #####
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: INFO: Disabling GPS mode for concentrator’s counter

Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: INFO: host/sx1301 time offset=(1490123484s:216985”s) - drift=450”s
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: INFO: Enabling GPS mode for concentrator’s counter.
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: JSON up: {“stat”:{“time”:“2017-03-21 19:16:26 GMT”,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:100.0,“dwnb”:0,“txnb”:0}}
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: INFO: [up] PUSH_ACK received in 63 ms
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 61 ms
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 61 ms
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: INFO: [down] PULL_ACK received in 62 ms
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: ##### 2017-03-21 19:16:56 GMT #####
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: ### [UPSTREAM] ###
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: # RF packets received by concentrator: 0
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: # RF packets forwarded: 0 (0 bytes)
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA datagrams sent: 1 (113 bytes)
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: # PUSH_DATA acknowledged: 100.00%
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: ### [DOWNSTREAM] ###
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: # PULL_DATA sent: 3 (100.00% acknowledged)
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: # RF packets sent to concentrator: 0 (0 bytes)
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: # TX errors: 0
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: # BEACON queued: 0
Mar 21 19:18:26 LoRaGateway lora_pkt_fwd[630]: # BEACON sent so far: 0
Mar 21 19:18:27 LoRaGateway lora_pkt_fwd[630]: # BEACON rejected: 0
Mar 21 19:18:27 LoRaGateway lora_pkt_fwd[630]: ### [JIT] ###
Mar 21 19:18:27 LoRaGateway lora_pkt_fwd[630]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Mar 21 19:18:27 LoRaGateway lora_pkt_fwd[630]: ### [GPS] ###
Mar 21 19:18:27 LoRaGateway lora_pkt_fwd[630]: # GPS sync is disabled

Interesting.

So now try changing the server line in local_conf.json to
“server_address”: “router.eu.thethings.network”

Look like the concentrator is working. I read this in the logs
" [main] concentrator started, packet can now be received "

Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: packets received with no CRC will NOT be forwarded
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: [main] concentrator started, packet can now be received
Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: Disabling GPS mode for concentrator’s counter

Mar 21 19:12:26 LoRaGateway lora_pkt_fwd[630]: INFO: host/sx1301 time offset=(1490120240s:313614”s) - drift=-1483164402”s

Do you suggest I can do that without installing the TTN Git package ? I’m not sure it’ll work , will it ?
Or should I follow the steps to reinstall the TTN GIT package, create the ttn user etc 


I got the reply from IMST . They conform the hardware is ok.
So it is now, basically, a question of proper setup.

Am I dreaming or does this say I’m now connected ?

Looks like it now refreshes each 10 sec saying “last seen now”

Seeing “Last seen now” every 10 seconds means your gateway sends status messages really fast. Normally it is every 30 seconds. But no matter, it does seem to work. Do you know exactly what you had to do, from scratch, to get the gateway to work?

I am also really curious if the resin.io setup will work on your gateway:
https://github.com/rayozzie/ttn-resin-gateway-rpi
In this setup it is neccesary to use GW_TYPE as “custom” and CUSTOM_RESET_PIN as 29.

I’m try and write what I did and post the .bash_history file so people can re-do the same operations

When getting the LiteGWI did not remove the software (loriot which is installed by default)
I did not make any raspi-config

I made an image copy of the SD card just in case.
I installed a new SD with a clone of the image
I powered the RPI GW, read the log (sudo apt-get install joe ; sudo joe /var/log/daemon.log)
I added user ttn (
$ sudo adduser ttn
$ sudo adduser ttn sudo
)

Then added ttn to visudo
$ sudo visudo
Add the line ttn ALL=(ALL) NOPASSWD: ALL
at the and of the file

Then I added:
$ sudo joe /etc/wpa_supplicant/wpa_supplicant.conf
And add the following block at the end of the file, replacing SSID and password to match your network:

network={
    ssid="The_SSID_of_your_wifi"
    psk="Your_wifi_password"
}

Then I clone the git
ttn@LoRaGateway:~ $ git clone https://github.com/ttn-zh/ic880a-gateway.git ~/ic880a-gateway

Cloning into ‘/home/ttn/ic880a-gateway’

remote: Counting objects: 316, done.
remote: Total 316 (delta 0), reused 0 (delta 0), pack-reused 316
Receiving objects: 100% (316/316), 7.87 MiB | 750.00 KiB/s, done.
Resolving deltas: 100% (189/189), done.
Checking connectivity
 done.
ttn@LoRaGateway:~ $ cd ~/ic880a-gateway
ttn@LoRaGateway:~/ic880a-gateway $ sudo ./install.sh spi
sudo: unable to resolve host LoRaGateway
The Things Network Gateway installer
Version spi
Updating installer files

Already up-to-date.
New installer found. Restarting process

The Things Network Gateway installer
Version spi
Updating installer files

Already up-to-date.
Gateway configuration:
Detected EUI B827EBFFFE84F259 from eth0
Do you want to use remote settings file? [y/N]n

I made a local installation of settings refusing remote settings files

When done the system rebooted and I got the GW recognized by TTN network

I get a new card tomorow . I bought another one thinking my GW was hardwarly dead . So I will have the opportunity to make tests with resin.io . I will also add a second ic880a gateway 5 km away from the first (1 at home 1 at the office) to expand the TTN coverage

1 Like

So you didn’t change the following line in /opt/ttn-gateway/bin/start.sh after setting up TTN?

SX1301_RESET_BCM_PIN=25

which should become

SX1301_RESET_BCM_PIN=5

If you didn’t change this I’m not sure how it’s working.