QgsNmeaConnection class
Evaluates NMEA sentences coming from a GPS device.
Contents
Base classes
- class QgsGpsConnection
- Abstract base class for connection to a GPS device.
Derived classes
- class QgsGpsdConnection
- Evaluates NMEA sentences coming from gpsd.
Constructors, destructors, conversion operators
- QgsNmeaConnection(QIODevice* device)
- Constructs a QgsNmeaConnection with given device.
Protected functions
- void processGgaSentence(const char* data, int len)
- process GGA sentence
- void processGsaSentence(const char* data, int len)
- process GSA sentence
- void processGsvSentence(const char* data, int len)
- process GSV sentence
- void processRmcSentence(const char* data, int len)
- process RMC sentence
- void processStringBuffer()
- Splits mStringBuffer into sentences and calls libnmea.
- void processVtgSentence(const char* data, int len)
- process VTG sentence
Protected slots
- void parseData() override
- Parse available data source content.
Protected variables
- QString mStringBuffer
- Store data from the device before it is processed.