Richard Osterloh / Mbed 2 deprecated WiFi_Scanner

Dependencies:   C027_Support SWO mbed-rtos mbed picojson

Fork of lpc4088_ebb_ublox_Cellular_PubNubDemo_rtos by EmbeddedArtists AB

Embed: (wiki syntax)

« Back to documentation index

GPSTracker Class Reference

GPSTracker Class Reference

A GPS tracker class providing access to the current position. More...

#include <GPSTracker.h>

Public Member Functions

 GPSTracker (GPSI2C &)
 Initialize a new GPSTracker object.
bool position (Position *)
 Retrieves and invalidates the current position.

Detailed Description

A GPS tracker class providing access to the current position.

Definition at line 10 of file GPSTracker.h.


Constructor & Destructor Documentation

GPSTracker ( GPSI2C &  gps )

Initialize a new GPSTracker object.

Parameters:
gpsa previously initialized instance of the GPSI2C class

Definition at line 5 of file GPSTracker.cpp.


Member Function Documentation

bool position ( GPSTracker::Position *  position )

Retrieves and invalidates the current position.

Parameters:
positiona pointer of type Position where the current position is written to
Returns:
true on success, false otherwise

Definition at line 12 of file GPSTracker.cpp.