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:
Fri Jan 31 09:49:51 2014 +0000
Revision:
17:296d94a006b4
Child:
18:e5697801df29
update with flow apis

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mazgch 17:296d94a006b4 1 #pragma once
mazgch 17:296d94a006b4 2
mazgch 17:296d94a006b4 3 #include "mbed.h"
mazgch 17:296d94a006b4 4 #include "C027_PinNames.h"
mazgch 17:296d94a006b4 5
mazgch 17:296d94a006b4 6 class MDMSerial : public RawSerial
mazgch 17:296d94a006b4 7 {
mazgch 17:296d94a006b4 8 public:
mazgch 17:296d94a006b4 9 MDMSerial() : RawSerial(MDMTXD,MDMRXD)
mazgch 17:296d94a006b4 10 {
mazgch 17:296d94a006b4 11 baud(MDMBAUD);
mazgch 17:296d94a006b4 12 set_flow_control(SerialBase::RTSCTS, MDMRTS, MDMCTS);
mazgch 17:296d94a006b4 13 }
mazgch 17:296d94a006b4 14 };