Hi all,
I’m new here, trying to get my first LoRaWAN gateway on TTN happening.
I was wanting to know, in the rpi based gateway, is any way to tell what the concentrator thinks it’s doing? Ie retrieve its settings ideally from the device itself or at least in the lorawan software somewhere (particularly frequency plan!) or do a reset or anything else beyond the GPIO based board reset that I already have happening?
Also, if anyone wants to wade through my waffling below, and can identify what else might be a good place to look at with my setup right now, I’d really appreciate it. this is a big thing with a bunch of moving parts I freely admit I don’t fully understand yet.
So - I have just got a RAK831 board with the PI adapter, to make my own pi based gateway. (with no GPS attached for now, if that makes a difference, though I do have one I can solder on if needed) I followed all the steps as described (including auto-config by pushing my setup data into that git repo) and ended up with a gateway showing up on TTN with the “last message received” counter always resetting at 30 seconds.
My issue is, now I have setup a remote device (RAK811-tracker) by following the instructions using the included project, modifying the compiler symbols for my specific location (AU 915MHz) and matching the details I registered in TTN for my application and my device, but I’m not seeing any data come through. And my thing just sits there, running through to the “OTAA Join Start…” message then hanging, and retrying.
Looking at the relevant logfile my gateway is basically never receiving any messages (though VERY occasionally does see something that it claims has bad CRC and discards) I’m trying to work out what could be wrong?
one weird thing, in the logfile, the log data I"m seeing is identifying itself “Jan 24 18:33:39 ttn-gateway ttn-gateway[816]” I hope the gateway isn’t assuming it’s running at 816… that would be a problem… it is meant to be running at 915-928 to fit in our sub-G ISM band.
For reference, my tracker is cycling through transmitting on 8 bands according to my specan… (roughly measured on a 64MHz span so not that accurate…) 915.74, 917.4, 919.0, 920.5, 922.3, 923.9, 925.5, 927.2.
gateway and tracker are maybe 4m apart.
The only “issue” I see with my logfile as it runs is that there is a reference to an invalid GPS time reference…
Anyway - here’s a pretty common stream of logfile info…
from running tail -f /var/log/syslog
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: ### [DOWNSTREAM] ###
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: # PULL_DATA sent: 3 (100.00% acknowledged)
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: # RF packets sent to concentrator: 0 (0 bytes)
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: # TX errors: 0
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: ### [GPS] ###
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: # Invalid gps time reference (age: 1516779729 sec)
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: # Manual GPS coordinates: latitude -33.67586, longitude 150.74483, altitude 46 m
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: ##### END #####
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: INFO: [up] PUSH_ACK for server router.au.thethings.network received in 3 ms
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: INFO: [down] for server router.au.thethings.network PULL_ACK received in 2 ms
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: INFO: [down] for server router.au.thethings.network PULL_ACK received in 2 ms
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: INFO: [down] for server router.au.thethings.network PULL_ACK received in 2 ms
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: ##### 2018-01-24 07:42:39 GMT #####
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: ### [UPSTREAM] ###
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: # RF packets received by concentrator: 0
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: # RF packets forwarded: 0 (0 bytes)
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: # PUSH_DATA datagrams sent: 1 (234 bytes)
Jan 24 18:42:39 ttn-gateway ttn-gateway[816]: # PUSH_DATA acknowledged: 100.00%
thanks in advance!