Serial port and GPS

Utils Methods

The methods of the Utils class are listed below. For a complete list of Utils class members, see the Utils Members topic.

Public Static (Shared) Methods

coord2dec Converts the given coordinate string to decimal degrees.
displayOffSwitches display of the mobile device off
dontSuspendCauses that the system won't suspend
fromGGAParses coordinates from an NMEA GGA string
getDateFileName Creates a file name with the given extentsion and a timestamp in the name.
getExtFileName Creates a file name consisting of the exe name and the given extension
isMobileChecks if the platform is windows ce
isWindowsChecks if running under MS Windows
nmeaChksumComputes nme checksum for the given NMEA string
psrf103Creates SIRF propertiary NMEA input message PSRF103
toUTMConverts latitude to UTM northing

Private Static (Shared) Methods

dms2decConverts GGA numbers deg, min, sec to decimal degrees
ExtEscapeUsed in order to switch off display
GetDCRetreives device context
SystemIdleTimerResetResets idle time and prevents suspending

Public Instance Methods

Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
ToString (inherited from Object) 

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

Utils Class | serial Namespace