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:
fdilenarda
Date:
Mon Jan 25 13:30:55 2016 +0000
Parent:
136:8dc8f48275fc
Child:
138:dafbbf31bf76
Commit message:
changed HTTP enum definition

Changed in this revision

MDM.cpp Show annotated file Show diff for this revision Revisions of this file
MDM.h Show annotated file Show diff for this revision Revisions of this file
--- a/MDM.cpp	Fri Jan 22 15:28:39 2016 +0000
+++ b/MDM.cpp	Mon Jan 25 13:30:55 2016 +0000
@@ -1475,7 +1475,7 @@
             break;
         
         case HTTP_AUTH_TYPE:    //4    
-        case HTTP_PORT:         //5
+        case HTTP_SERVER_PORT:  //5
             httpInParNum = atoi(httpInPar);
             sendFormated("AT+UHTTP=%d,%d,%d\r\n", httpProfile, httpOpCode, httpInParNum); 
             if (RESP_OK == waitFinalResp())
--- a/MDM.h	Fri Jan 22 15:28:39 2016 +0000
+++ b/MDM.h	Mon Jan 25 13:30:55 2016 +0000
@@ -285,7 +285,7 @@
     
     //! Type of HTTP Operational Codes (reference to HTTP control +UHTTP) 
     typedef enum { HTTP_IP_ADDRESS, HTTP_SERVER_NAME, HTTP_USER_NAME, HTTP_PASSWORD, \
-                   HTTP_AUTH_TYPE, HTTP_PORT, HTTP_SECURE } HttpOpCode;
+                   HTTP_AUTH_TYPE, HTTP_SERVER_PORT, HTTP_SECURE } HttpOpCode;
     
     //! Type of HTTP Commands (reference to HTTP command +UHTTPC)
     typedef enum { HTTP_HEAD, HTTP_GET, HTTP_DELETE, HTTP_PUT, \