#ifndef _nmeaparser_h_
#define _nmeaparser_h_

class NMEAParser
{
public:
    static int parseGGA(char* buff, int& ts, double& lat, double& lon, int& nosat, double& hdop);
    
    static int parseRMC(char* buff, int& ts, double& lat, double& lon, double& vel, double& course, 
        char* ds = NULL);
    
public: 
    enum {gpsOK, gpsInvalidFormat, gpsNullPosition, gpsInvalidPosition } Status;

private:
    static const float knots2kmh;
};

#endif // _nmeaparser_h_

