# Getting GPS Coordinates using NMEA

**URL:** <https://forum.legato.io/t/getting-gps-coordinates-using-nmea/131>\
**Category:** Legato Application Framework\
**Created:** [May 6, 2015, 5:32am UTC](https://forum.legato.io/t/getting-gps-coordinates-using-nmea/131 "2015-05-06T05:32:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![karandeep](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@karandeep](https://forum.legato.io/u/karandeep)\
**Post date:** [May 6, 2015, 5:32am UTC](https://forum.legato.io/t/getting-gps-coordinates-using-nmea/131/1 "2015-05-06T05:32:34Z")

</div>

HI,

I am trying to get GPS coordinates using NMEA but failing to do so.

1. My /etc/legato/usbmode file contains “nmea”

2. i’ve tried

```auto
echo "\$GPS_START" > /dev/nmea
```

1. then

```auto
cat /dev/nmea
```

gives the following o/p

`$GPVTG,,T,,M,,N,,K,N*2C
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGGA,,,,,,0,,,,,,,,*66
$PQXFI,,,,,,,,,,*56
$GPRMC,,V,,,,,,,,,,N*53`

I was supposed to get a more detailed “$GPRMC” right ??

Am i missing something ?  
Please guide.

Thanx.

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.legato.io/u/awneil)\
**Post date:** [May 6, 2015, 6:20am UTC](https://forum.legato.io/t/getting-gps-coordinates-using-nmea/131/2 "2015-05-06T06:20:24Z")

</div>

[quote=“Karandeep007”]`
$GPRMC,,V,,,,,,,,,,N*53`  
I was supposed to get a more detailed “$GPRMC” right ??  
[/quote]  
Only when you have a valid GPS fix ❗

The ‘V’ in the RMC sentence indicates that you do not have a valid GPS fix.

[aprs.gids.nl/nmea/#rmc](http://aprs.gids.nl/nmea/#rmc)

---

<div class="post-metadata">

**Author:** ![karandeep](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@karandeep](https://forum.legato.io/u/karandeep)\
**Post date:** [May 11, 2015, 10:19am UTC](https://forum.legato.io/t/getting-gps-coordinates-using-nmea/131/3 "2015-05-11T10:19:46Z")

</div>

[quote=“awneil”][quote=“Karandeep007”]`
$GPRMC,,V,,,,,,,,,,N*53`  
I was supposed to get a more detailed “$GPRMC” right ??  
[/quote]  
Only when you have a valid GPS fix ❗

The ‘V’ in the RMC sentence indicates that you do not have a valid GPS fix.

[aprs.gids.nl/nmea/#rmc](http://aprs.gids.nl/nmea/#rmc)[/quote]

Thanx a lot…that solved the problem 🙂

---

<div class="post-metadata">

**Author:** ![karandeep](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@karandeep](https://forum.legato.io/u/karandeep)\
**Post date:** [September 7, 2015, 1:07pm UTC](https://forum.legato.io/t/getting-gps-coordinates-using-nmea/131/4 "2015-09-07T13:07:11Z")

</div>

Hi, is GPS supported on WP85 board ? Coz I was facing issues while trying to run it on WP85…

---

<div class="post-metadata">

**Author:** ![johnofleek](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@johnofleek](https://forum.legato.io/u/johnofleek)\
**Post date:** [October 30, 2015, 12:47pm UTC](https://forum.legato.io/t/getting-gps-coordinates-using-nmea/131/5 "2015-10-30T12:47:04Z")

</div>

Hi

The mangoh board GPS does not currently work out of the box with an active GPS antenna. The problem is that the existing HW release does not supply a bias voltage to the antenna

Two options to work around this

1. Use a passive gps antenna -in practice a standard GSM / 3G stub antenna will work
2. Add a bias voltage to the GPS feed (be careful you could damage your hardware if you are not familiar with doing this)

Cheers

John
