Closed JayKickliter closed 4 years ago
QUESTION rip out NMEA parsing? We did with the SX1301 packet forwarder, but the SX1302 version actively maintained and we may want to upstream
I say keep the NMEA parsing for those folks who may not have a u-blox GPS module.
Overview
This PR allows the user to configure the SX1302 packet forwarder to use a u-blox GPS with the I2C interface instead of just TTY.
Currently, one signals to the forwarder that a GPS is available by adding the following line to the
gateway_conf
section inglobal_config.json
:Alternatively, the user can now specify a different (and mutually exclusive) parameter:
Remaining
WARNING: n_queued value 0x0 appears to be glitchy
(0
should not be possible)For Reviewers
The most important changes in this PR hidden by default and easily overlooked when skimming the diff tab above:
libloragw/src/loragw_gps.c
andpacket_forwarder/src/lora_pkt_fwd.c