How to get GPS working on RAK831

Hello Support ,

I could not get GPS to work

pi@ttn-gateway : ~ $ cat /dev/ttyAMA0

?$GPTXT,01,01,01,NMEA unknown msg*58

$GPTXT,01,01,01,NMEA unknown msg*58

$GPTXT,01,01,01,NMEA unknown msg*58

$GPRMC,115257.00,A,0630.49060,N,00320.92548,E,0.025,230219,A*74

$GPTXT,01,01,01,NMEA unknown msg*58

$GPVTG,T,M,0.025,N,0.047,K,A*27

$GPGGA,115257.00,0630.49060,N,00320.92548,E,1,08,0.88,7.7,M,19.8,M,*5C

$GPGSA,A,3,12,24,19,15,05,13,02,17,2.15,0.88,1.97*01

$GPGSV,3,1,11,02,15,174,26,05,56,192,35,06,04,143,12,41,226,38*7E

$GPGSV,3,2,11,13,46,027,42,15,35,342,29,17,23,076,38,19,34,105,30*72

pi@ttn-gateway : ~ $ sudo systemctl status ttn-gateway

ttn-gateway.service - The Things Network Gateway

Loaded: loaded (/lib/systemd/system/ttn-gateway.service; enabled; vendor preset: enabled)

Active: active (running) since Sat 2019-02-23 12:25:35 WAT; 29min ago

Main PID: 503 (start.sh)

CGroup: /system.slice/ttn-gateway.service

├─503 /bin/bash /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/start.sh

└─522 ./lora_pkt_fwd

Feb 23 12:55:23 ttn-gateway ttn-gateway[503]: INFO: [down] PULL_ACK received in 160 ms

Feb 23 12:55:23 ttn-gateway ttn-gateway[503]: INFO: [down] PULL_ACK received in 171 ms

Feb 23 12:55:23 ttn-gateway ttn-gateway[503]: INFO: Disabling GPS mode for concentrator’s counter…

Feb 23 12:55:23 ttn-gateway ttn-gateway[503]: INFO: host/sx1301 time offset=(1550921240s:551765µs) - drift=-541µs

Feb 23 12:55:23 ttn-gateway ttn-gateway[503]: INFO: Enabling GPS mode for concentrator’s counter.

Feb 23 12:55:23 ttn-gateway ttn-gateway[503]: ##### 2019-02-23 11:55:23 GMT #####

Feb 23 12:55:23 ttn-gateway ttn-gateway[503]: ### [UPSTREAM] ###

Feb 23 12:55:23 ttn-gateway ttn-gateway[503]: # RF packets received by concentrator: 0

Feb 23 12:55:23 ttn-gateway ttn-gateway[503]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%

Feb 23 12:55:23 ttn-gateway ttn-gateway[503]: # RF packets forwarded: 0 (0 bytes)

pi@ttn-gateway : ~ $

is there a problem with so many “$GPTXT,01,01,01,NMEA unknown msg*58” shown

Hi, @smoothville

Please try to use our newest firmware for RAK831.

We’ve tested it on RAK831, and we can get GPS data successfully.

Hi :slight_smile:
“NMEA unknown msg*58” means that you are indoor and the GPS signal from the satelites is not strong enough. Try to move the gps antena close to window .

Thanks Bro.

Actually the gps is now working and the messages have stopped after trying out the newest firmware as adivsed by RAKwireless team.