RAKWireless / rak_common_for_gateway

215 stars 126 forks source link

GPS does not work on RAK831 Pilot Gateway #1

Closed DavidAMills closed 5 years ago

DavidAMills commented 5 years ago

When using the LoraServer OS, the GPS works from the LoraServer website, the GPS works. However, I installed the rak_common_for_gateway and did not make modifications. The GPS does not work with this installation on the RAK831 Pilot Gateway.

DavidAMills commented 5 years ago

This fixes it:

On the Raspberry Pi 3, the serial port /dev/ttyAMA0 is used for the bluetooth module. The GPS module is found on /dev/ttyS0. The path /dev/serial0 is linked to that device as well. The Raspbian distribution configures it as a login shell, which is in conflict with the use for the GPS module. So it must be changed, either by removing console=serial0,115200 from /boot/cmdline.txt or by using raspbi-config:

Interfacing Options Serial Would you like a login shell to be accessible over serial? No Would you like the serial port hardware to be enabled? Yes