Go to the latest version of this document.
t.p.g.n.NMEAReceiver(basic.LineReceiver) : class documentation
Part of twisted.protocols.gps.nmea
View In Hierarchy
This parses most common NMEA-0183 messages, presumably from a serial GPS
device at 4800 bps
Inherited from LineReceiver:
||The line-ending delimiter to use. By default this is '\r\n'.
||The maximum length of a line to allow (If a sent line is longer than this,
the connection is dropped). Default is 16384.
||Clear buffered data.
||Protocol.dataReceived. Translates bytes into lines, and calls
lineReceived (or rawDataReceived, depending on mode.)
||Sets the line-mode of this receiver.
||Sets the raw mode of this receiver. Further data received will be sent
to rawDataReceived rather than lineReceived.
||Override this for when raw data is received.
||Sends a line to the other end of the connection.
||Called when the maximum line length has been reached. Override if it
needs to be dealt with in some special way.
Inherited from Protocol (via LineReceiver):
||Return a prefix matching the class name, to identify log messages
related to this protocol instance.
||Called when the connection is shut down.
Inherited from BaseProtocol (via LineReceiver, Protocol):
Inherited from _PauseableMixin (via LineReceiver):
API Documentation for Twisted, generated by pydoctor at 2012-09-01 11:44:56.
Override this for when each line is received.
|Parameters||line||The line which was received with the delimiter removed. (type: |