Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of C027_Support by
Diff: GPS.h
- Revision:
- 31:a0bed6c1e05d
- Parent:
- 24:0e287a85ac9e
- Child:
- 38:e6cab4632d84
diff -r 1a647403171b -r a0bed6c1e05d GPS.h --- a/GPS.h Tue Apr 08 15:49:04 2014 +0000 +++ b/GPS.h Wed Apr 09 11:48:04 2014 +0000 @@ -19,6 +19,7 @@ #define WAIT -1 #define NOT_FOUND 0 + #define UNKNOWN 0x000000 #define UBX 0x100000 #define NMEA 0x200000 #define LENGTH(x) (x & 0x00FFFF) @@ -28,6 +29,7 @@ virtual int send(const char* buf, int len); virtual int sendNmea(const char* buf, int len); virtual int sendUbx(unsigned char cls, unsigned char id, const void* buf = NULL, int len = 0); + void powerOff(void); static const char* findNmeaItemPos(int ix, const char* start, const char* end); static bool getNmeaItem(int ix, char* buf, int len, double& val);