Class: QgsNmeaConnection

class qgis.core.QgsNmeaConnection

Bases: QgsGpsConnection

Evaluates NMEA sentences coming from a GPS device

New in version 1.4.

QgsNmeaConnection(device: QIODevice) Constructs a QgsNmeaConnection with given device.

Ownership of device is transferred to the connection.

Methods

childEvent

connectNotify

customEvent

disconnectNotify

isSignalConnected

parseData

Parse available data source content

processGgaSentence

process GGA sentence

processGsaSentence

process GSA sentence

processGstSentence

process GST sentence

processGsvSentence

process GSV sentence

processHchdgSentence

process HCHDG sentence

processHchdtSentence

process HCHDT sentence

processHdtSentence

process HDT sentence

processRmcSentence

process RMC sentence

processStringBuffer

Splits mStringBuffer into sentences and calls libnmea

processVtgSentence

process VTG sentence

receivers

sender

senderSignalIndex

timerEvent

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) –

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

process HCHDG sentence

Parameters
  • data (str) –

  • len (int) –

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

process HCHDT 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)