Support for LISA-N101

Fork of C027_Support by u-blox

This is a variant of the C027 driver code for the C027N version, i.e. the one with the Neul/Huawei/u-blox Cellular Internet of Things module on board. The AT command interface for this module is entirely different to the AT interface for the other u-blox modules, hence this fork of the driver. Work is underway to rearchitect the original C027 driver so that a merge can be done.

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 };