This document is archived and information here might be outdated.  Recommended version.


esriGpsConnectionError Constants (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Constants > E > esriGpsConnectionError Constants (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

esriGpsConnectionError Constants

Lists the valid status of communication with GPS. Positive value means 'Connection is open'. Zero or negative value means 'connection is closed'. A negative value is an error code.

Constant Value Description
esriGpsConnectionErrorNone 0 Connections was sucessful.
esriGpsConnectionErrorCommportInUse 1 Com port is already opened by another application.
esriGpsConnectionErrorCommportNotSupported 2 Com port is not supported by the hardware.
esriGpsConnectionErrorInApplication 3 An application error occurred while opening the connection.
esriGpsConnectionErrorUnableToCommunicateToDevice 4 Unable to communicate with the device.
esriGpsConnectionErrorInsufficientData 5 Insufficient data to open the connection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.