Lora-net / lora_gateway

Driver/HAL to build a gateway using a concentrator board based on Semtech SX1301 multi-channel modem and SX1257/SX1255 RF transceivers.
Other
915 stars 742 forks source link

Add optional command line argument for TTY device #165

Open PrometheanDesign opened 4 years ago

PrometheanDesign commented 4 years ago

The serial port "/dev/ttyAMA0" is not necessarily the correct TTY for the GPS device. Hence test_loragw_gps may attempt to access the wrong serial port for the GPS if it is hard-wired to this device file. This change allows optionally specifying a TTY device for test_loragw_gps.

Signed-off-by: Scott Wagner scott.wagner@promethean-design.com