QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
NMEAUtils.h File Reference
#include <QtCore/QByteArray>
#include <QtPositioning/QGeoCoordinate>
+ Include dependency graph for NMEAUtils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  NMEAUtils
 

Functions

quint8 NMEAUtils::computeChecksum (const QByteArray &body)
 Compute XOR checksum over NMEA body (between '$' and '*').
 
bool NMEAUtils::verifyChecksum (const QByteArray &sentence)
 
QByteArray NMEAUtils::repairChecksum (const QByteArray &sentence)
 Repair or append a valid NMEA checksum and ensure CRLF termination.
 
QByteArray NMEAUtils::makeGGA (const QGeoCoordinate &coord, double altitudeMsl, int fixQuality=1, int numSatellites=12)
 Build a GGA sentence from a coordinate and altitude.