Class: QgsNmeaConnection

class qgis.core.QgsNmeaConnection(device: QIODevice)

Bases: QgsGpsConnection

Constructs a QgsNmeaConnection with given device.

Ownership of device is transferred to the connection.

Evaluates NMEA sentences coming from a GPS device

New in version 1.4.

Parameters

device

childEvent(self, QChildEvent)
connectNotify(self, QMetaMethod)
customEvent(self, QEvent)
disconnectNotify(self, QMetaMethod)
isSignalConnected(self, QMetaMethod) → bool
parseData(self)

Parse available data source content

processGgaSentence(self, data: str, len: int)

process GGA sentence

Parameters
  • data (str) –

  • len (int) –

processGsaSentence(self, data: str, len: int)

process GSA sentence

Parameters
  • data (str) –

  • len (int) –

processGstSentence(self, data: str, len: int)

process GST sentence

Parameters
  • data (str) –

  • len (int) –

processGsvSentence(self, data: str, len: int)

process GSV sentence

Parameters
  • data (str) –

  • len (int) –

processHdtSentence(self, data: str, len: int)

process HDT sentence

Parameters
  • data (str) –

  • len (int) –

processRmcSentence(self, data: str, len: int)

process RMC sentence

Parameters
  • data (str) –

  • len (int) –

processStringBuffer(self)

Splits mStringBuffer into sentences and calls libnmea

processVtgSentence(self, data: str, len: int)

process VTG sentence

Parameters
  • data (str) –

  • len (int) –

receivers(self, PYQT_SIGNAL) → int
sender(self) → QObject
senderSignalIndex(self) → int
timerEvent(self, QTimerEvent)