Add a bunch of APNs
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; }