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:
59:382695f1ce85
Parent:
58:e38a2e942fbb
Child:
61:eafa56058398
Child:
63:42cb563a25bc
--- a/MDM.cpp	Tue May 13 06:14:13 2014 +0000
+++ b/MDM.cpp	Tue May 13 06:54:27 2014 +0000
@@ -547,11 +547,14 @@
     _ip = NOIP;
     if (_dev.dev == DEV_LISA_C200) {
         // TODO: is there something to do here?
-
+#if 0
         //Get local IP address
         sendFormated("AT+CMIP?\r\n");
         if (RESP_OK != waitFinalResp(_cbCMIP, &_ip))
             return NOIP;
+#else
+        return 0x01010101; // a fake IP
+#endif
     } else { 
         // check gprs attach status 
         sendFormated("AT+CGATT?\r\n");