Initial commit of files
This commit is contained in:
53
include/libgps++/SirfProtocol.h
Normal file
53
include/libgps++/SirfProtocol.h
Normal file
@ -0,0 +1,53 @@
|
||||
//
|
||||
// Linux GPS
|
||||
//
|
||||
|
||||
/* prevent multiple inclusions */
|
||||
#ifndef __SirfProtocol__
|
||||
#define __SirfProtocol__
|
||||
|
||||
/* includes *****************************************************************/
|
||||
|
||||
#include "netlib.h"
|
||||
|
||||
#include "NmeaProtocol.h"
|
||||
|
||||
/* defines ******************************************************************/
|
||||
|
||||
/* macros *******************************************************************/
|
||||
|
||||
/* structs & typedefs *******************************************************/
|
||||
|
||||
/* c class definitions ******************************************************/
|
||||
|
||||
//
|
||||
// GpsLinux because it depennds on GPSd, the HAMLIB and NMEAP libraries
|
||||
//
|
||||
class SirfProtocol {
|
||||
// public data
|
||||
public:
|
||||
|
||||
// protected data
|
||||
protected:
|
||||
|
||||
// private data
|
||||
private:
|
||||
|
||||
// private methods
|
||||
|
||||
// public methods
|
||||
public:
|
||||
// constructors
|
||||
SirfProtocol();
|
||||
|
||||
// destructor
|
||||
virtual ~SirfProtocol();
|
||||
|
||||
// virtual functions
|
||||
|
||||
// public methods
|
||||
static void SirfChecksum( unsigned char *buf, int len );
|
||||
static void SirfBinary2Nmea( int baud, unsigned char *buf, int max );
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user