I’ve attached the PPS output from my Adafruit GPS module to pin 19 of the ic880a board but I’m still seeing that the Beacon is disabled, in the log. Do I need to connect the PPS output to a GPIO pin on the RPi3 to enable the beacon?
No. I urged you to connect PPS as it provides better time stamping of received packets.
Beacons are for Class B devices. As
TTN currently does not support Class B (or Class C)
I haven’t found any Class B (or Class C) devices available yet,
I did not invest time yet to refactor the required code out of the Semtech protocol stack. (Class B and C are on the roadmap so I will probably look at it in due time, commercial projects have priority right now, TTN has become a money sink over the last year and half so I would like to have a bit of the ‘LoRaWAN pie’ as well)
If you really want beacons at this moment you will need to connect the packet forwarder to a back-end using the Semtech protocol (the Semtech site is a candidate) and also enable beacons in the configuration.
Keep in mind enabling beacons means the gateway will be sending more often and the current generation of gateways do not listen while transmitting so you are more likely to miss transmissions from nodes.
Thanks for the explanation @kersing. I now understand.
So it looks like my first gateway is now fully operational . All I need to do now is put it in a box and release it into the wild for it to do it’s ‘thing’.
GPS needs to be set to 9600 bps, 8n1. For non ublox ver.7 modules do not connect the RX of the GPS to TX of RPi.
Is that what happen out of the box? I just soldered a ublox GPS module on my RisingHF board where it was planned to be, along with the proper SMA connector.
I’m wondering if I need to do this. And when you say “For non ublox ver. 7 modules” is that all non ublox ver. 7, or only ver. 7 and newer, or ver. 7 or older? I have a MAX-8Q there.
For now I use a USB connected GPS, that is accessible as /dev/ttyACM0, until I can properly access my soldered GPS module from my RisingHF board (from the IOT discovery kit). Unfortunately, I got these kind of messages:
09.01.18 21:09:44 (+0100) ### [GPS] ###
09.01.18 21:09:44 (+0100) # Invalid gps time reference (age: 1515528584 sec)
09.01.18 21:09:44 (+0100) # System GPS coordinates: latitude 48.69460, longitude 2.29808, altitude 45 m
Why is the time reference invalid when I got proper System GPS coordinates (that got refreshed at each log update)?
No idea. sorry. Try to check from where the time reference comes. Since GPS have coordinates and hwclock is adjusted it must be another counter. (Epoch+Uptime)Proof
@bsiege I don’t know how this is possible when my system coordinates are updated each time I have them in the logs (every 30s), indicating that GPS is providing them…
@kalon33 what brand GPS are you using? Does it provide ascii format RMC messages? Those are used to get the time, position information is parsed from other (GGA) messages.