BaseGpsReceiver Class

ZylGpsReceiver.NET Mobile
Implements an abstract GPS receiver. It must be the base class for real GPS receivers.
Inheritance Hierarchy


Namespace:  ZylSoft.Gps.Mobile
Assembly:  ZylGpsReceiverMobile (in ZylGpsReceiverMobile.dll) Version: 3.14.6846.29005

public class BaseGpsReceiver : Component

The BaseGpsReceiver type exposes the following members.


Public methodBaseGpsReceiver
Public methodBaseGpsReceiver(IContainer)

Public propertyActiveRoute
The active route.
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyForceChecksum
Enable or ignore checksum checking for NMEA sentences. When this property is true, all the sentences which checksum is not correct will be ignored.
Public propertyLogDateTime
When this property is true, a date-time stamp will be added before each logged NMEA sentence.
Public propertyLogFile
Name and path of the NMEA log file.
Public propertyLogNmea
Enables or disables NMEA logging. If you enable it, all the valid NMEA sentences will be logged to the LogFile.
Public propertyNavigationInfo
Returns information about the active route.
Public propertyNmeaSentencePrefix
NMEA sentence prefix. Default value: "$"
Public propertyNmeaSentences
Accepted NMEA sentences.
Public propertyNmeaSentenceTerminator
NMEA sentence terminator. Default value: ((char)13(char)10)
Public propertyNmeaSentenceTerminator2
Second NMEA sentence terminator. Default value: ((char)13) It is used, if NmeaSentenceTerminator is not found in the sentence.
Public propertyPosition
Contains the current position data.
Public propertyReceiverStatus
Returns status info of the GPS receiver unit.
Public propertySatelliteTypes
Accepted satellites.
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertyTrack
The current track.
Public propertyStatic memberUnlockKey
Unlock key.
Public propertyWaypoints
List of waypoints (List of Waypoint objects).

Public methodAddChecksumToNmea
Adds checksum to a NMEA sentence (including asterix).
Public methodAddSentenceTerminatorToNmea
Adds sentence terminator (usually CR-LF) to an NMEA sentence.
Public methodStatic memberAsciiByteArrayToString
Converts ASCII / ANSI byte array to string.
Public methodChecksumOk
Checks if the checksum of the sentence is valid.
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 methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Overrides ComponentDispose(Boolean).)
Public methodCode exampleDrawCompass
Draws a compass.
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
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFeedGpsReceiver
Use this method to feed the GPS receiver with NMEA data from the source you wish for classes derived from BaseGpsReceiver.
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
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.
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.)
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.
Protected methodOnAltitudeChanged
Raises the AltitudeChanged event.
Protected methodOnArrival
Raises the Arrival event.
Protected methodOnCourseChanged
Raises the CourseChanged event.
Protected methodOnHeadingChanged
Raises the HeadingChanged event.
Protected methodOnLatitudeChanged
Raises the LatitudeChanged event.
Protected methodOnLongitudeChanged
Raises the LongitudeChanged event.
Protected methodOnNewSentenceReceived
Raises the NewSentenceReceived event.
Protected methodOnPosition2DChanged
Raises the Position2DChanged event.
Protected methodOnPosition3DChanged
Raises the Position3DChanged event.
Protected methodOnReceived
Raises the Received event.
Protected methodOnSatelliteReceived
Raises the SatelliteReceived event.
Protected methodOnSatellitesReceived
Raises the SatellitesReceived event.
Protected methodOnSent
Raises the Sent event.
Protected methodOnSpeedChanged
Raises the SpeedChanged event.
Protected methodOnUnknownSentenceReceived
Raises the UnknownSentenceReceived event.
Protected methodOnWaypointReceived
Raises the WaypointReceived event.
Public methodReset
Resets all GPS data to a default value: Position, ReceiverStatus, NavigationInfo, WayPoints, ActiveRoute, Track.
Protected methodRouteToNmea(String)
Converts a route to NMEA.
Protected methodRouteToNmea(Route)
Converts a route to NMEA.
Public methodShowOnGoogleMaps(Int32)
Displays the current position on Google maps in the default browser.
Public methodStatic memberShowOnGoogleMaps(Double, Double, Int32)
Displays the specified position on google maps in the default browser.
Public methodStatic memberStringToAsciiByteArray
Converts string to ASCII / ANSI byte array.
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Protected methodWaypointToNmea
Converts a waypoint to NMEA.

Public eventActiveRouteReceived
Occurs when the active route is received.
Public eventAltitudeChanged
Occurs when the altitude has changed.
Public eventArrival
Occurs at the arrival to the destination waypoint.
Public eventCourseChanged
Occurs when the course has changed.
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component.)
Public eventHeadingChanged
Occurs when the heading has changed.
Public eventLatitudeChanged
Occurs when the latitude has changed.
Public eventLongitudeChanged
Occurs when the longitude has changed.
Public eventNewSentenceReceived
Occurs when a new valid NMEA sentence is received. The sentence parameter contains the sentence.
Public eventPosition2DChanged
Occurs when latitude or longitude has changed.
Public eventPosition3DChanged
Occurs when latitude or longitude or altitude has changed.
Public eventReceived
Occurs when data was received.
Public eventSatelliteReceived
Occurs when a satellite is received.
Public eventSatellitesReceived
Occurs when a list of all satellites in view is received.
Public eventSent
Occurs when data was sent.
Public eventSpeedChanged
Occurs when the speed has changed.
Public eventUnknownSentenceReceived
Occurs when a valid, but unknown NMEA sentence is received. The sentence parameter contains the unknown sentence. This event is fired only if you set NmeaSentences property to All and there is an unknown sentence received. In this case you can write your own processing code inside this event handler.
Public eventWaypointReceived
Occurs when a waypoint is received.
See Also