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:
- 18:e5697801df29
- Parent:
- 13:e2446fcdc246
- Child:
- 19:2b5d097ca15d
- Child:
- 20:535ef78655df
--- a/GPS.h Fri Jan 31 09:49:51 2014 +0000
+++ b/GPS.h Fri Mar 14 13:07:48 2014 +0000
@@ -28,6 +28,7 @@
static bool getNmeaItem(int ix, char* buf, int len, double& val);
static bool getNmeaItem(int ix, char* buf, int len, int& val, int base/*=10*/);
static bool getNmeaItem(int ix, char* buf, int len, char& val);
+ static bool getNmeaAngle(int ix, char* buf, int len, double& d);
protected:
static int _getMessage(Pipe<char>* pipe, char* buf, int len);
static int _parseNmea(Pipe<char>* pipe, int len);
@@ -43,7 +44,6 @@
int rxSize = RX_SIZE, int txSize = TX_SIZE);
virtual int getMessage(char* buf, int len);
protected:
- virtual char next(void);
virtual int _send(const void* buf, int len);
};
@@ -59,7 +59,6 @@
virtual int sendNmea(const char* buf, int len);
virtual int sendUbx(unsigned char cls, unsigned char id, const void* buf = NULL, int len = 0);
protected:
- virtual char next(void);
bool writeable(void) { return true; }
bool putc(int c) { char ch = c; return send(&ch, 1); }
virtual int _send(const void* buf, int len);
