ESRI.ArcGIS.Mobile
SerialPortGpsConnection Class
Members  See Also  Send Feedback
ESRI.ArcGIS.Mobile.Gps Namespace : SerialPortGpsConnection Class

Connection between GPSDisplay and a GPS receiver using NMEA sentences for GPS data though a serial port.

Object Model


Syntax

Visual Basic (Declaration) 
<DesignerCategoryAttribute("code")>
<XmlRootAttribute("SerialPortGpsConnection")>
<ToolboxBitmapAttribute()>
<DefaultPropertyAttribute("Map")>
Public Class SerialPortGpsConnection 
   Inherits NmeaGpsConnection
C# 
[DesignerCategoryAttribute("code")]
[XmlRootAttribute("SerialPortGpsConnection")]
[ToolboxBitmapAttribute()]
[DefaultPropertyAttribute("Map")]
public class SerialPortGpsConnection : NmeaGpsConnection 

Remarks

The SerialPortGpsConnection allows communication with a GPS receiver using the NMEA standard. The SerialPortGpsConnection class is usually obtained from the component itself inside the IDE toolbox. To receive GPS information set the SerialPort communication properties (Com, Parity, BaudRate) and subsequently call the Open method. You will receive positional information through the NMEASentenceEventArgs class. This class is a product of the GpsChanged event, which is raised when the GPS positional information changes. The SerialPortGpsConnection uses a lower priority worker type thread to interact with the SerialPort, and the event (GpsChanged) is initially raised on this worker thread.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         ESRI.ArcGIS.Mobile.Gps.GpsConnection
            ESRI.ArcGIS.Mobile.Gps.NmeaGpsConnection
               ESRI.ArcGIS.Mobile.Gps.SerialPortGpsConnection

Requirements

Namespace: ESRI.ArcGIS.Mobile.Gps

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

Assembly: ESRI.ArcGIS.Mobile (in ESRI.ArcGIS.Mobile.dll)

See Also