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.

Committer:
mazgch
Date:
Thu Jun 12 12:41:26 2014 +0000
Revision:
94:d697fe11f3e5
Parent:
83:71e3b8bc9ab8
add default arguments to connect

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mazgch 74:208e3e32d263 1 #pragma once
mazgch 74:208e3e32d263 2
mazgch 74:208e3e32d263 3 #include "mbed.h"
mazgch 74:208e3e32d263 4
mazgch 83:71e3b8bc9ab8 5 #ifdef USING_RTOS
mazgch 83:71e3b8bc9ab8 6 #include "rtos.h"
mazgch 83:71e3b8bc9ab8 7 inline void RELAX_MS(unsigned int ms) {
mazgch 83:71e3b8bc9ab8 8 if (ms) Thread::wait(ms);
mazgch 83:71e3b8bc9ab8 9 else Thread::yield();
mazgch 83:71e3b8bc9ab8 10 }
mazgch 83:71e3b8bc9ab8 11 #else
mazgch 83:71e3b8bc9ab8 12 inline void RELAX_MS(unsigned int ms) {
mazgch 83:71e3b8bc9ab8 13 if (ms) wait_ms(ms);
mazgch 83:71e3b8bc9ab8 14 }
mazgch 83:71e3b8bc9ab8 15 #endif