Serial port and GPS

SerialGPS Members

SerialGPS overview

Public Static (Shared) Fields

DEFAULT_SYSTEMDefault system for recomputing into UTM

Public Instance Constructors

SerialGPS Constructor Initializes the class

Public Instance Properties

BaudRate (inherited from Serial)Baud rate
CoordCbSets callback method for coordinates from GPS
DataBits (inherited from Serial)Baud rate
Filter (inherited from Serial)For filtering lines coming from the serial port
IsOpen (inherited from Serial)Tells if the serial port is opened
Parity (inherited from Serial)Parity
PortName (inherited from Serial)Serial port name
RdByteCb (inherited from Serial) Calback function for handling bytes read from the serial port.
RdLineCb (inherited from Serial) Calback function for handling strings read from the serial port.
Read (inherited from Serial)If the reading thread have to be/is started
StopBits (inherited from Serial)Number of stop bits
SystemSystem to use for recomputing into UTM
Timeout (inherited from Serial)Timeout in milliseconds for both read and write

Public Instance Methods

Close (inherited from Serial)Closes serial port
Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
OpenOverloaded. Opens serial port with parameters already set
ToString (inherited from Serial)Returns the string representation of the object
Write (inherited from Serial)Writes the given string to the serial port
WriteBytes (inherited from Serial)Writes number of bytes from the byte array

Protected Instance Methods

Finalize (inherited from Serial)Closes serial port
MemberwiseClone (inherited from Object) 

Private Instance Fields

m_coordcb Callback method for handling coordinates retreived from GPS
m_gpscbDelegate for handling strings coming from GPS
m_lastcoordLast coordinates retrieved in parseNMEA
m_systemSystem used for recomputing into UTM

Private Instance Methods

parseNMEACallback method for handling incoming NMEA strings

See Also

SerialGPS Class | serial Namespace | Utils.fromGGA() | Utils.toUTM()