com.eurotech.framework.linux.position
Class GPSParser
java.lang.Object
com.eurotech.framework.linux.position.GPSParser
public class GPSParser
- extends Object
Implements GPS parser functions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GPSParser
public GPSParser()
parseSentence
public void parseSentence(String sentence)
- Fill the fields of GPS position depending of the type of the sentence
- Parameters:
sentence
- most recent sentence String from GPS modem
get_timeNmea
public String get_timeNmea()
get_fixQuality
public int get_fixQuality()
get_dateNmea
public String get_dateNmea()
get_longNmea
public double get_longNmea()
get_latNmea
public double get_latNmea()
get_speedNmea
public double get_speedNmea()
get_altNmea
public double get_altNmea()
get_trackNmea
public double get_trackNmea()
get_DOPNmea
public double get_DOPNmea()
get_PDOPNmea
public double get_PDOPNmea()
get_HDOPNmea
public double get_HDOPNmea()
get_VDOPNmea
public double get_VDOPNmea()
get_3DfixNmea
public int get_3DfixNmea()
get_nrSatellites
public int get_nrSatellites()
is_validPosition
public boolean is_validPosition()
Copyright © 2013. All Rights Reserved.