Public Types | Public Member Functions | Static Public Member Functions

TinyGPS Class Reference

#include <TinyGPS.h>

List of all members.

Public Types

enum  {
  GPS_INVALID_AGE = 0xFFFFFFFF, GPS_INVALID_ANGLE = 999999999, GPS_INVALID_ALTITUDE = 999999999, GPS_INVALID_DATE = 0,
  GPS_INVALID_TIME = 0xFFFFFFFF, GPS_INVALID_SPEED = 999999999, GPS_INVALID_FIX_TIME = 0xFFFFFFFF
}

Public Member Functions

 TinyGPS ()
bool encode (char c)
TinyGPSoperator<< (char c)
void get_position (long *latitude, long *longitude, unsigned long *fix_age=0)
void get_datetime (unsigned long *date, unsigned long *time, unsigned long *fix_age=0)
long altitude ()
unsigned long course ()
unsigned long speed ()
void stats (unsigned long *chars, unsigned short *good_sentences, unsigned short *failed_cs)
void f_get_position (float *latitude, float *longitude, unsigned long *fix_age=0)
void crack_datetime (int *year, byte *month, byte *day, byte *hour, byte *minute, byte *second, byte *hundredths=0, unsigned long *fix_age=0)
float f_altitude ()
float f_course ()
float f_speed_knots ()
float f_speed_mph ()
float f_speed_mps ()
float f_speed_kmph ()

Static Public Member Functions

static int library_version ()

Member Enumeration Documentation

anonymous enum
Enumerator:
GPS_INVALID_AGE 
GPS_INVALID_ANGLE 
GPS_INVALID_ALTITUDE 
GPS_INVALID_DATE 
GPS_INVALID_TIME 
GPS_INVALID_SPEED 
GPS_INVALID_FIX_TIME 

Constructor & Destructor Documentation

TinyGPS::TinyGPS (  ) 

Member Function Documentation

long TinyGPS::altitude (  )  [inline]
unsigned long TinyGPS::course (  )  [inline]
void TinyGPS::crack_datetime ( int *  year,
byte *  month,
byte *  day,
byte *  hour,
byte *  minute,
byte *  second,
byte *  hundredths = 0,
unsigned long *  fix_age = 0 
) [inline]
bool TinyGPS::encode ( char  c  ) 
float TinyGPS::f_altitude (  )  [inline]
float TinyGPS::f_course (  )  [inline]
void TinyGPS::f_get_position ( float *  latitude,
float *  longitude,
unsigned long *  fix_age = 0 
) [inline]
float TinyGPS::f_speed_kmph (  )  [inline]
float TinyGPS::f_speed_knots (  )  [inline]
float TinyGPS::f_speed_mph (  )  [inline]
float TinyGPS::f_speed_mps (  )  [inline]
void TinyGPS::get_datetime ( unsigned long *  date,
unsigned long *  time,
unsigned long *  fix_age = 0 
) [inline]
void TinyGPS::get_position ( long *  latitude,
long *  longitude,
unsigned long *  fix_age = 0 
) [inline]
static int TinyGPS::library_version (  )  [inline, static]
TinyGPS& TinyGPS::operator<< ( char  c  )  [inline]
unsigned long TinyGPS::speed (  )  [inline]
void TinyGPS::stats ( unsigned long *  chars,
unsigned short *  good_sentences,
unsigned short *  failed_cs 
)

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines