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:
76:f7c3dd568dae
Parent:
75:ce6e12067d0c
Child:
93:2b5478693c20
--- a/GPS.h	Fri May 16 14:13:00 2014 +0000
+++ b/GPS.h	Mon May 19 13:05:41 2014 +0000
@@ -15,10 +15,6 @@
 class GPSParser
 {
 public:
-
-    //! Constructor
-    ~GPSParser(void);
-   
     /** Power on / Wake up the gps 
     */
     virtual bool init(PinName pn) = 0;
@@ -184,6 +180,9 @@
               int rxSize    = 256 , 
               int txSize    = 128 );
               
+    //! Destructor
+    ~GPSSerial(void);
+    
     virtual bool init(PinName pn = NC);
     
     /** Get a line from the physical interface. 
@@ -219,6 +218,8 @@
            PinName scl          GPS_IF( = GPSSCL, = D15 ),
            unsigned char i2cAdr GPS_IF( = GPSADR, = (66<<1) ), 
            int rxSize           = 256 );
+    //! Destructor
+    ~GPSI2C(void);
     
     /** helper function to probe the i2c device
         \return true if successfully detected the gps.