GpsReceiver Methods

ZylGpsReceiver.NET Mobile

The GpsReceiver type exposes the following members.

Methods

  NameDescription
Public methodAddChecksumToNmea
Adds checksum to a NMEA sentence (including asterix).
(Inherited from BaseGpsReceiver.)
Public methodAddSentenceTerminatorToNmea
Adds sentence terminator (usually CR-LF) to an NMEA sentence.
(Inherited from BaseGpsReceiver.)
Public methodChecksumOk
Checks if the checksum of the sentence is valid.
(Inherited from BaseGpsReceiver.)
Public methodClose
Closes the communication with the GPS receiver.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDetectGps(SerialCommPort, SerialBaudRate)
Detects the GPS receiver connected to the system and returns as output parameters the communication port and baud rate.
Public methodDetectGps(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.
Public methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Overrides BaseGpsReceiverDispose(Boolean).)
Public methodCode exampleDrawCompass
Draws a compass.
(Inherited from BaseGpsReceiver.)
Public methodCode exampleDrawSatellites
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.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFastDetectGps
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.
Protected methodFeedGpsReceiver
Use this method to feed the GPS receiver with NMEA data from the source you wish for classes derived from BaseGpsReceiver.
(Inherited from BaseGpsReceiver.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Public methodStatic memberGetExistingCommPortNames
Returns the existing serial port names of the system.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetNmeaChecksum
Returns the checksum of a sentence.
(Inherited from BaseGpsReceiver.)
Protected methodGetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodStatic memberIsExistingCommPort
Checks if a serial port exists.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnActiveRouteReceived
Raises the ActiveRouteReceived event.
(Inherited from BaseGpsReceiver.)
Protected methodOnAltitudeChanged
Raises the AltitudeChanged event.
(Inherited from BaseGpsReceiver.)
Protected methodOnArrival
Raises the Arrival event.
(Inherited from BaseGpsReceiver.)
Protected methodOnConnected
Raises the Connected event.
Protected methodOnCourseChanged
Raises the CourseChanged event.
(Inherited from BaseGpsReceiver.)
Protected methodOnDetecting
Raises the Detecting event.
Protected methodOnDisconnected
Raises the Disconnected event.
Protected methodOnHeadingChanged
Raises the HeadingChanged event.
(Inherited from BaseGpsReceiver.)
Protected methodOnLatitudeChanged
Raises the LatitudeChanged event.
(Inherited from BaseGpsReceiver.)
Protected methodOnLongitudeChanged
Raises the LongitudeChanged event.
(Inherited from BaseGpsReceiver.)
Protected methodOnNewSentenceReceived
Raises the NewSentenceReceived event.
(Inherited from BaseGpsReceiver.)
Protected methodOnPosition2DChanged
Raises the Position2DChanged event.
(Inherited from BaseGpsReceiver.)
Protected methodOnPosition3DChanged
Raises the Position3DChanged event.
(Inherited from BaseGpsReceiver.)
Protected methodOnReceived
Raises the Received event.
(Inherited from BaseGpsReceiver.)
Protected methodOnSatelliteReceived
Raises the SatelliteReceived event.
(Inherited from BaseGpsReceiver.)
Protected methodOnSatellitesReceived
Raises the SatellitesReceived event.
(Inherited from BaseGpsReceiver.)
Protected methodOnSent
Raises the Sent event.
(Inherited from BaseGpsReceiver.)
Protected methodOnSpeedChanged
Raises the SpeedChanged event.
(Inherited from BaseGpsReceiver.)
Protected methodOnUnknownSentenceReceived
Raises the UnknownSentenceReceived event.
(Inherited from BaseGpsReceiver.)
Protected methodOnWaypointReceived
Raises the WaypointReceived event.
(Inherited from BaseGpsReceiver.)
Public methodOpen
Opens the communication with the GPS receiver.
Public methodReset
Resets all GPS data to a default value: Position, ReceiverStatus, NavigationInfo, WayPoints, ActiveRoute, Track.
(Inherited from BaseGpsReceiver.)
Protected methodRouteToNmea(String)
Converts a route to NMEA.
(Inherited from BaseGpsReceiver.)
Protected methodRouteToNmea(Route)
Converts a route to NMEA.
(Inherited from BaseGpsReceiver.)
Public methodSendAsciiString
Sends an ASCII string to the GPS receiver.
Public methodSendByteArray
Sends a byte array to the GPS receiver.
Public methodShowOnGoogleMaps(Int32)
Displays the current position on Google maps in the default browser.
(Inherited from BaseGpsReceiver.)
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Public methodUploadRoute(String)
It uploads a route.
Public methodUploadRoute(Route)
It uploads a route.
Public methodUploadWaypoint
Uploads a waypoint.
Protected methodWaypointToNmea
Converts a waypoint to NMEA.
(Inherited from BaseGpsReceiver.)
Top
See Also

Reference