portable version of the cumulocity demo
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
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 11 of file GPSTracker.h.
Constructor & Destructor Documentation
GPSTracker | ( | GPSI2C & | gps ) |
Initialize a new GPSTracker object.
- Parameters:
-
gps a 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:
-
position a 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.
Generated on Tue Jul 12 2022 21:10:53 by 1.7.2