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:
91:5af303e25287
Parent:
90:3915192f6d7e
Child:
92:79b628d1da02
--- a/MDMAPN.h	Fri Jun 06 15:01:03 2014 +0000
+++ b/MDMAPN.h	Tue Jun 10 06:16:43 2014 +0000
@@ -30,7 +30,8 @@
 } APN_t;
 
 //! default APN settings used by many networks
-static const char* apndef = _APN("internet",,); 
+static const char* apndef = _APN(,,)
+                            _APN("internet",,);
 
 /*! this is a list of special APNs for different network operators 
     There is no need to enter the default apn internet in the table; 
@@ -62,7 +63,7 @@
                          "64,65,66,67,68,69,87,99",
                                 _APN("bmobilewap",,) /*BMobile*/
                                 _APN("mpr2.bizho.net","Mopera U",) /* DoCoMo */
-                                _APN("bmobile.ne.jp","bmobile@wifi2","bmobile") /*BMobile*/ }, 
+                                _APN("bmobile.ne.jp","bmobile@wifi2","bmobile") /*BMobile*/ },
 
 // 293 Slovenia - SI
     { /* Si.mobil */ "293-40",  _APN("internet.simobil.si",,) },
@@ -70,23 +71,23 @@
 
 // 228 Switzerland - CH
     { /* Swisscom */ "228-01",  _APN("gprs.swisscom.ch",,) },
-    { /* Orange */   "228-03",  _APN("internet",,) /* contract */ 
+    { /* Orange */   "228-03",  _APN("internet",,) /* contract */
                                 _APN("click",,)    /* pre-pay */ },
 
 // 234 United Kingdom - GB
     { /* O2 */       "234-02,10,11",
                                 _APN("mobile.o2.co.uk","faster","web") /* contract */
-                                _APN("mobile.o2.co.uk","bypass","web") /* pre-pay */ 
+                                _APN("mobile.o2.co.uk","bypass","web") /* pre-pay */
                                 _APN("payandgo.o2.co.uk","payandgo","payandgo") },
     { /* Vodafone */ "234-15",  _APN("internet","web","web")          /* contract */
                                 _APN("pp.vodafone.co.uk","wap","wap")  /* pre-pay */ },
 
 // 310 United States of America - US
     { /* T-Mobile */ "310-026,260,490",
-                                _APN("epc.tmobile.com",,) 
+                                _APN("epc.tmobile.com",,)
                                 _APN("fast.tmobile.com",,) /* LTE */ },
     { /* AT&T */     "310-030,150,170,260,410,560,680",
-                                _APN("phone",,) 
+                                _APN("phone",,)
                                 _APN("wap.cingular","WAP@CINGULARGPRS.COM","CINGULAR1")
                                 _APN("isp.cingular","ISP@CINGULARGPRS.COM","CINGULAR1") },
 };