I have tried to complete this project from Raspberry Pi GPS Module Interfacing Tutorial, where I used a NEO-6M GPS module in my Raspberry pi 3 B+. After setting up everything, when I write sudo cat /dev/ttyAMA0 in a terminal to test the device output, I get some garbage message instead of my location. The output is:
$GPTXT,01,01,01,NMEA unknown msg*58
...........................
...........................
$GPRMC,,V,,,,,,,,,,N*53
$GPVTG,,,,,,,,,N*30
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
$GPGSV,1,1,00*79
$GPGLL,,,,,,V,N*64
$GPTXT,01,01,01,NMEA unknown msg*58
.......................
I used minicom and also get the same garbage.
Entering cgps -s after setting gpsd.scok also result in a timeout.
I have tried two GPS modulea, they all show the same output.
What is the possible thing that results in such error?