An extension of original API for working with GPS devices.
Dependents: A_TeseoLocationNEW A_TeseoLocation TeseoLocation
GPS_Provider Library
A controller-neutral API for working with GPS devices.
Overview
This library is an extension of the original API published on os.mbed.com
Besides the basic geo-location functionality, this extended API includes the following features:
- Geofencing
- Odometer
- Datalogging
Getting started
This GPS API is meant to be used for building projects on os.mbed.com
A good starting point is this page:
Diff: GPSProvider/GPSProviderImplBase.h
- Revision:
- 3:ccd86d6bd3bc
- Parent:
- 0:0a9c622571d7
--- a/GPSProvider/GPSProviderImplBase.h Mon Nov 12 12:56:51 2018 +0000 +++ b/GPSProvider/GPSProviderImplBase.h Thu Feb 14 11:07:42 2019 +0000 @@ -29,8 +29,9 @@ virtual void start(void) = 0; virtual void stop(void) = 0; virtual void process(void) = 0; - virtual void lpmGetImmediateLocation(void) = 0; - virtual uint32_t ioctl(uint32_t command, void *arg) = 0; + // Move back to pure virtual if your derived class implements the following two + virtual void lpmGetImmediateLocation(void) {} + virtual uint32_t ioctl(uint32_t command, void *arg) { return 0; } /** [ST-GNSS ] - Enable verbose NMEA stream */ virtual void setVerboseMode(int level) = 0;