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
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:
-
gps a 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:
-
position a 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.
Generated on Wed Jul 13 2022 19:40:51 by 1.7.2