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:
58:e38a2e942fbb
Parent:
57:869bd35f44cc
Child:
59:382695f1ce85
--- a/MDM.h	Mon May 12 13:58:47 2014 +0000
+++ b/MDM.h	Tue May 13 06:14:13 2014 +0000
@@ -364,11 +364,12 @@
     /** Wait for a final respons
         \param cb the optional callback function
         \param param the optional callback function parameter
-        \param timeout_ms the timeout to wait 
+        \param timeout_ms the timeout to wait (See Estimated command 
+               response time of AT manual)
     */
     int waitFinalResp(_CALLBACKPTR cb = NULL, 
                       void* param = NULL, 
-                      int timeout_ms = 5000);
+                      int timeout_ms = 10000);
 
     /** template version of #waitFinalResp when using callbacks, 
         This template will allow the compiler to do type cheking but 
@@ -379,7 +380,7 @@
     template<class T>
     int waitFinalResp(int (*cb)(int type, const char* buf, int len, 
                       T* param), 
-                      T* param, int timeout_ms = 5000) 
+                      T* param, int timeout_ms = 10000) 
     {
         return waitFinalResp((_CALLBACKPTR)cb, (void*)param, timeout_ms);
     }