The GpsReceiver type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddChecksumToNmea |
Adds checksum to a NMEA sentence (including asterix).
(Inherited from BaseGpsReceiver.) | |
AddSentenceTerminatorToNmea |
Adds sentence terminator (usually CR-LF) to an NMEA sentence.
(Inherited from BaseGpsReceiver.) | |
ChecksumOk |
Checks if the checksum of the sentence is valid.
(Inherited from BaseGpsReceiver.) | |
Close |
Closes the communication with the GPS receiver.
| |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
DetectGps(SerialCommPort, SerialBaudRate) |
Detects the GPS receiver connected to the system and returns as output parameters the communication port and baud rate.
| |
DetectGps(SerialBaudRate, SerialBaudRate, SerialCommPort, SerialBaudRate) |
Detects the GPS receiver connected to the system and returns as output parameters
the communication port and baud rate.
Only baud rate values between startBaudRate and endBaudRate are checked.
| |
Dispose | Releases all resources used by the Component. (Inherited from Component.) | |
Dispose(Boolean) |
Clean up any resources being used.
(Overrides BaseGpsReceiverDispose(Boolean).) | |
DrawCompass |
Draws a compass.
(Inherited from BaseGpsReceiver.) | |
DrawSatellites |
Draws the satellites in view.
Grey brush satellite - no signal
Red brush satellite - very low signal
Yellow brush satellite - low signal
Light green brush satellite - medium signal
Green brush satellite - good signal
White pen satellite - GPS
Orange red pen satellite - GLONASS
Yellow pen satellite - BeiDou
Blue pen satellite - Galileo
Green pen satellite - QZSS
Black pen satellite - Unknown
(Inherited from BaseGpsReceiver.) | |
Equals | (Inherited from Object.) | |
FastDetectGps |
Detects the GPS receiver connected to the system and returns as output parameters the communication port and baud rate.
Only baud rate values between 4800 and 460800 are checked.
| |
FeedGpsReceiver |
Use this method to feed the GPS receiver with NMEA data from the source you wish for classes derived from BaseGpsReceiver.
(Inherited from BaseGpsReceiver.) | |
Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) | |
GetExistingCommPortNames |
Returns the existing serial port names of the system.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetNmeaChecksum |
Returns the checksum of a sentence.
(Inherited from BaseGpsReceiver.) | |
GetService | (Inherited from Component.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
IsExistingCommPort |
Checks if a serial port exists.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
OnActiveRouteReceived |
Raises the ActiveRouteReceived event.
(Inherited from BaseGpsReceiver.) | |
OnAltitudeChanged |
Raises the AltitudeChanged event.
(Inherited from BaseGpsReceiver.) | |
OnArrival |
Raises the Arrival event.
(Inherited from BaseGpsReceiver.) | |
OnConnected |
Raises the Connected event.
| |
OnCourseChanged |
Raises the CourseChanged event.
(Inherited from BaseGpsReceiver.) | |
OnDetecting |
Raises the Detecting event.
| |
OnDisconnected |
Raises the Disconnected event.
| |
OnHeadingChanged |
Raises the HeadingChanged event.
(Inherited from BaseGpsReceiver.) | |
OnLatitudeChanged |
Raises the LatitudeChanged event.
(Inherited from BaseGpsReceiver.) | |
OnLongitudeChanged |
Raises the LongitudeChanged event.
(Inherited from BaseGpsReceiver.) | |
OnNewSentenceReceived |
Raises the NewSentenceReceived event.
(Inherited from BaseGpsReceiver.) | |
OnPosition2DChanged |
Raises the Position2DChanged event.
(Inherited from BaseGpsReceiver.) | |
OnPosition3DChanged |
Raises the Position3DChanged event.
(Inherited from BaseGpsReceiver.) | |
OnReceived |
Raises the Received event.
(Inherited from BaseGpsReceiver.) | |
OnSatelliteReceived |
Raises the SatelliteReceived event.
(Inherited from BaseGpsReceiver.) | |
OnSatellitesReceived |
Raises the SatellitesReceived event.
(Inherited from BaseGpsReceiver.) | |
OnSent |
Raises the Sent event.
(Inherited from BaseGpsReceiver.) | |
OnSpeedChanged |
Raises the SpeedChanged event.
(Inherited from BaseGpsReceiver.) | |
OnUnknownSentenceReceived |
Raises the UnknownSentenceReceived event.
(Inherited from BaseGpsReceiver.) | |
OnWaypointReceived |
Raises the WaypointReceived event.
(Inherited from BaseGpsReceiver.) | |
Open |
Opens the communication with the GPS receiver.
| |
Reset |
Resets all GPS data to a default value:
Position, ReceiverStatus, NavigationInfo, WayPoints, ActiveRoute, Track.
(Inherited from BaseGpsReceiver.) | |
RouteToNmea(String) |
Converts a route to NMEA.
(Inherited from BaseGpsReceiver.) | |
RouteToNmea(Route) |
Converts a route to NMEA.
(Inherited from BaseGpsReceiver.) | |
SendAsciiString |
Sends an ASCII string to the GPS receiver.
| |
SendByteArray |
Sends a byte array to the GPS receiver.
| |
ShowOnGoogleMaps(Int32) |
Displays the current position on Google maps in the default browser.
(Inherited from BaseGpsReceiver.) | |
ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) | |
UploadRoute(String) |
It uploads a route.
| |
UploadRoute(Route) |
It uploads a route.
| |
UploadWaypoint |
Uploads a waypoint.
| |
WaypointToNmea |
Converts a waypoint to NMEA.
(Inherited from BaseGpsReceiver.) |
See Also