| Home | Trees | Index | Help |
|
|---|
| Package twisted :: Package protocols :: Package gps :: Module nmea :: Class NMEAReceiver |
|
BaseProtocol--+ |Protocol--+ |LineReceiver--+ | NMEAReceiver
| Method Summary | |
|---|---|
_decode_latlon(self,
latitude,
ns,
longitude,
ew)
| |
_decode_utc(self,
utc)
| |
decode_activesatellites(self,
mode1,
mode2,
*args)
| |
decode_fix(self,
utc,
latitude,
ns,
longitude,
ew,
posfix,
satellites,
hdop,
altitude,
altitude_units,
geoid_separation,
geoid_separation_units,
dgps_age,
dgps_station_id)
| |
decode_position(self,
latitude,
ns,
longitude,
ew,
utc,
status)
| |
decode_positiontime(self,
utc,
status,
latitude,
ns,
longitude,
ew,
speed,
course,
utcdate,
magvar,
magdir)
| |
Override this for when each line is received. | |
| Inherited from LineReceiver | |
Clear buffered data. | |
Protocol.dataReceived. | |
Called when the maximum line length has been reached. | |
Override this for when raw data is received. | |
Sends a line to the other end of the connection. | |
Sets the line-mode of this receiver. | |
Sets the raw mode of this receiver. | |
| Inherited from Protocol | |
(Deprecated) | |
Called when the connection is shut down. | |
| Inherited from BaseProtocol | |
Called when a connection is made. | |
Make a connection to a transport and a server. | |
| Class Variable Summary | |
|---|---|
int |
convert_dates_before_y2k = 1 |
str |
delimiter: The line-ending delimiter to use. |
dict |
dispatch = {'GPGSA': 'activesatellites', 'GPGRS': 'range...
|
int |
ignore_checksum_mismatch = 0 |
int |
ignore_invalid_sentence = 1 |
int |
ignore_unknown_sentencetypes = 0 |
| Inherited from LineReceiver | |
str |
_LineReceiver__buffer = ''
|
int |
line_mode = 1 |
int |
MAX_LENGTH: The maximum length of a line to allow (If a sent line is longer than
this, the connection is dropped). |
| Inherited from Protocol | |
tuple |
__implements__ = (<class twisted.internet.interfaces.IPr...
|
| Inherited from BaseProtocol | |
int |
connected = 0 |
NoneType |
transport = None |
| Method Details |
|---|
lineReceived(self, line)Override this for when each line is received.
|
| Class Variable Details |
|---|
convert_dates_before_y2k
|
delimiterThe line-ending delimiter to use. By default this is '\r\n'.
|
dispatch
|
ignore_checksum_mismatch
|
ignore_invalid_sentence
|
ignore_unknown_sentencetypes
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Sat May 15 20:08:38 2004 | http://epydoc.sf.net |