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.

Files at this revision

API Documentation at this revision

Comitter:
mazgch
Date:
Thu Jun 12 12:41:26 2014 +0000
Parent:
93:2b5478693c20
Child:
95:8282dbbe1492
Commit message:
add default arguments to connect

Changed in this revision

MDM.h Show annotated file Show diff for this revision Revisions of this file
--- a/MDM.h	Thu Jun 12 07:17:38 2014 +0000
+++ b/MDM.h	Thu Jun 12 12:41:26 2014 +0000
@@ -94,9 +94,9 @@
         \param auth is the authentication mode (CHAP,PAP,NONE or DETECT)
         \return true if successful, false otherwise
     */
-    bool connect(const char* simpin, 
-            const char* apn, const char* username, 
-            const char* password, Auth auth = AUTH_DETECT,
+    bool connect(const char* simpin = NULL, 
+            const char* apn = NULL, const char* username = NULL, 
+            const char* password = NULL, Auth auth = AUTH_DETECT,
             PinName pn MDM_IF( = MDMPWRON, = D4));    
 
     /** register (Attach) the MT to the GPRS service.