com.esf.util.gps
Class NmeaCksum

java.lang.Object
  extended bycom.esf.util.gps.NmeaCksum

public class NmeaCksum
extends java.lang.Object

Utility class used to validate the checksum of GPS NMEA messages.


Constructor Summary
NmeaCksum(byte[] nmeaMessageIn)
          Prepares to validate the checksum of an NMEA message.
 
Method Summary
 boolean verify()
          verifies the NMEA cksum for a given message
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NmeaCksum

public NmeaCksum(byte[] nmeaMessageIn)
Prepares to validate the checksum of an NMEA message.

Parameters:
nmeaMessageIn - the raw charaacter bytes of the NMEA message.
Method Detail

verify

public boolean verify()
verifies the NMEA cksum for a given message

Returns:
boolean, true if the checksum is correct for the NMEA message.


Copyright © 2009 Eurotech Inc. All rights reserved.