Questions tagged [nmea]

National Marine Electronics Association (NMEA)

The National Marine Electronics Association, founded as an association earlier in 1957, was later incorporated in 1969.

To cite its current mission statement:

(NMEA) is the unifying force behind the entire marine electronics industry, bringing together all aspects of the industry for the betterment of all in our business.

It sets out combined electrical and data specification for communication between various marine electronic devices.

  • NMEA 0183 is the widespread standard superseding the earlier NMEA 0180 and NMEA 0182 standards.
  • NMEA 2000 is the latest standard.

The NMEA is a proprietary standard.

258 questions
5
votes
1 answer

How can a "bearing", in degrees, be derived from a GPRMC NMEA sentence?

I'm writing a program that receives data in the form of GPRMC NMEA sentences and outputs it as specified by GTFS-realtime. GTFS-realtime wants a "bearing" value, and describes it as such: Bearing, in degrees, clockwise from True North, i.e., 0 is…
drewbug
  • 269
  • 4
  • 10
4
votes
3 answers

NMEA sentences - PGLOR, GNGSA and QZGSA

I'm writing an Android app that reads and parses NMEA sentences from GPS receiver and using a Nexus S phone for tests. I'm getting GPGGA, GPGSV, GPGSA and GPRMC sentences that are pretty common and very well documented, but in addition, I'm getting…
GetUsername
  • 1,057
  • 5
  • 18
  • 29
4
votes
5 answers

How do I find broken NMEA log sentences with grep?

My GPS logger occassionally leaves "unfinished" lines at the end of the log files. I think they're only at the end, but I want to check all lines just in case. A sample complete sentence looks…
Tom
  • 42,844
  • 35
  • 95
  • 101
4
votes
6 answers

Parsing code for GPS NMEA string

i am trying to parse the incoming GPGGA NMEA GPS string using Arduino uno and below code. What i am trying to do is that i am using only GPGGA NMEA string to get the values of Latitude, longitude and altitude.In my below code, i had put certain…
shailendra
  • 271
  • 2
  • 6
  • 18
4
votes
1 answer

Parse NMEA data in Android 2.3

I'm trying to get data from a bluetooth gps device connected to my Android 2.3 tablet. At the moment I'm able to pair it using Android bluetooth stack and to read from the serial device that has been created. Now I've a lot of NMEA data coming from…
mrAlmond
  • 393
  • 4
  • 17
3
votes
3 answers

GPS number of satellites and location filtering

Based on the available Location fields, the float accuracy seems the main field to determine how good a GPS location is, without taking into account the timestamp. I wonder if it may also be helpful to parse the number of satellites from the NMEA…
Mister Smith
  • 27,417
  • 21
  • 110
  • 193
3
votes
1 answer

GPSD - How to create a virtual GPS Source with lat/lon as input

I have a system that uses gpsd as a source for positioning. I need to integrate it with another system that gives me latitude, longitude & time. I was able to generate NMEA sentences using nmealib: user@locahost :~/Desktop/nmealib$…
Juha
  • 41
  • 2
3
votes
1 answer

Correct Content-Type header for NMEA data?

I want to send a bunch of NMEA sentences to my server in an HTTP POST body, but I am confused with what the Content-Type should be. I didn't find a standard IANA MIME type for NMEA (appart from the generic text/plain). Should I use a custom one…
xOneca
  • 842
  • 9
  • 20
3
votes
2 answers

Gps nmea output getting valid $GPGSV but not valid $GPGGA $GPRMC

I'm trying to parse gps nmea output from a modem connected to serial port of a cubietruck board (ARM® Cortex™-A7 Dual-Core). The configuration is done succesfully I get 4g network form modem but when I try to see nmea outout of the gps module, I get…
dk13
  • 1,461
  • 4
  • 20
  • 47
3
votes
1 answer

Using GPS for time synchronization, what does the timestamp in the Android onNmeaReceived callback represent?

In Android development (latest SDK) I am using the GpsStatus.NmeaListener to parse NMEA messages for time synchronization. In the onNmeaReceived(long timestamp, String nmea) callback I parse the nmea string for GPRMC messages. I then calculate the…
Kamminga
  • 51
  • 7
3
votes
1 answer

Enabling 10 Hz sampling rate in Ublox modules

I'm using ublox NEO-M8N-0-01 GNSS module. This module supports up to 5Hz GPS+GLONASS and 10 Hz GPS only. However, when I try to change the sampling rate (via UBX-CFG-RATE in the messages view) I can only increase it to 5 Hz (Measurement period =…
Roi Yozevitch
  • 197
  • 3
  • 13
3
votes
1 answer

read NMEA sentences from GPS

I have a Mio P550 device, which has a GPS included. I try to use SerialPort to get NMEA sentences, by simply use SerialPort.Read(). Data is returned in some weird encoding. GPS should return NMEA sentences in ASCII, but it doesn't. Here is my code…
GTD
  • 315
  • 3
  • 8
  • 17
3
votes
0 answers

GPS accuracy is low and reports zero

We are testing out Android application on real world devices and notice some of them report very unaccurate data (even under clear sky and over 10 sats seen and 5 sats used), and even reporting speed over 10km/h when the device is not actually…
saabeilin
  • 610
  • 7
  • 15
3
votes
1 answer

Receive NMEA0183 data from COM PORT C++

Hy everybody! I wrote a small gps application in simple C++, what switch the protocoll, send command to the gps chip...etc. The write to the GPS port is working good. But when I try to read the port (for check the accepted commands) I receive a lot…
Luther
  • 155
  • 1
  • 2
  • 7
2
votes
1 answer

NMEAListener not working?

I was testing an app using NMEAListener, and noticed that I need to call LocationManager.requestLocationUpdates to get it receiving strings. So to use NMEAListener I need to register the regular Location listener first. I didn't find anywhere in the…
Mister Smith
  • 27,417
  • 21
  • 110
  • 193
1
2
3
17 18