[Interest] [ Android ] Can Qt Positioning API access and output NEMA GPS Strings?

Blasche Alexander alexander.blasche at theqtcompany.com
Mon Jul 27 16:36:07 CEST 2015


I am not sure whether this is what you are after but there is a class called QNmeaPositionInfoSource which can take NMEA input from a QIODevice. The QIODevice is supposed to provide the NMEA strings which the API turns into a QGeoPositionInfoSource-like behavior.

There is an example for it under examples/positioning/logfilepositionsource



From: interest-bounces+alexander.blasche=theqtcompany.com at qt-project.org <interest-bounces+alexander.blasche=theqtcompany.com at qt-project.org> on behalf of Edward Sutton <edward.sutton at subsite.com>
Sent: Monday, July 27, 2015 16:26
To: Interests Qt
Subject: [Interest] [ Android ] Can Qt Positioning API access and output NEMA GPS Strings?

For example:

GPS NMEA - GPGGA<http://aprs.gids.nl/nmea/>
GNGNS and GLGNS<http://www.trimble.com/OEM_ReceiverHelp/V4.44/en/NMEA-0183messages_GNS.html>

For example:

GGA - essential fix data which provide 3D location and accuracy data.


     GGA          Global Positioning System Fix Data
     123519       Fix taken at 12:35:19 UTC
     4807.038,N   Latitude 48 deg 07.038' N
     01131.000,E  Longitude 11 deg 31.000' E
     1            Fix quality: 0 = invalid
                               1 = GPS fix (SPS)
                               2 = DGPS fix
                               3 = PPS fix
                               4 = Real Time Kinematic
                               5 = Float RTK
                               6 = estimated (dead reckoning) (2.3 feature)
                               7 = Manual input mode
                               8 = Simulation mode
     08           Number of satellites being tracked
     0.9          Horizontal dilution of position
     545.4,M      Altitude, Meters, above mean sea level
     46.9,M       Height of geoid (mean sea level) above WGS84
     (empty field) time in seconds since last DGPS update
     (empty field) DGPS station ID number
     *47          the checksum data, always begins with *

The goal is to forward GPS NEMA string to another device.


This email and any files transmitted with it from The Charles Machine Works, Inc. are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error please notify the sender. Our company accepts no liability for the contents of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150727/f7c9ca73/attachment.html>

More information about the Interest mailing list