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:
- 11:b084552b03fe
- Parent:
- 9:e7a5959ffae1
- Child:
- 13:e2446fcdc246
--- a/GPS.h Thu Nov 14 12:57:21 2013 +0000
+++ b/GPS.h Thu Nov 14 15:52:36 2013 +0000
@@ -22,7 +22,7 @@
virtual int getMessage(char* buf, int len) = 0;
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, int len);
+ virtual int sendUbx(unsigned char cls, unsigned char id, const void* buf = NULL, int len = 0);
static const char* findNmeaItemPos(int ix, const char* start, const char* end);
static bool getNmeaItem(int ix, char* buf, int len, double& val);
@@ -58,7 +58,7 @@
virtual int getMessage(char* buf, int len);
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, 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; }
