Official reference client implementation for Cumulocity SmartREST on u-blox C027.

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Vincent Wochnik

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 ()
 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 11 of file GPSTracker.h.


Constructor & Destructor Documentation

GPSTracker (  )

Initialize a new GPSTracker object.

Parameters:
gpsa previously initialized instance of the GPSI2C class

Definition at line 7 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 16 of file GPSTracker.cpp.