support library for C027 helper functions for Buffer Pipes, Buffered Serial Port (rtos capable) and GPS parsing. It includes modem APIs for USSD, SMS and Sockets.

Dependents:   HTTPClient_Cellular_HelloWorld Cellular_HelloMQTT MbedSmartRestMain Car_Bon_car_module ... more

This library is intended to be used with u-blox products such as the C027 or a shield with u-blox cellular and GPS modules like the cellular and positioning shield from Embedded Artist.

For 2G/GSM and 3G/UMTS you need to:

  • have a SIM card and know its PIN number
  • need to know you network operators APN setting These setting should be passed to the connect or init and join functions. You can also extend the APN database in MDMAPN.h.

For CDMA products you need to make sure that you have provisioned and activated the modem with either Sprint or Verizon.

Revision:
31:a0bed6c1e05d
Parent:
24:0e287a85ac9e
Child:
38:e6cab4632d84
--- 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);