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:
63:42cb563a25bc
--- a/MDM.h	Tue May 13 06:14:13 2014 +0000
+++ b/MDM.h	Tue May 13 06:54:27 2014 +0000
@@ -456,7 +456,9 @@
     // management struture for sockets
     typedef enum { SOCK_FREE, SOCK_CREATED, SOCK_CONNECTED } SockState;
     typedef struct { SockState state; int pending; unsigned int timeout_ms; } SockCtrl;
-    SockCtrl _sockets[16];
+    // LISA-C has 6 TCP and 6 UDP sockets starting at index 18
+    // LISA-U and SARA-G have 7 sockets starting at index 1
+    SockCtrl _sockets[32];
     static MDMParser* inst;
 };