Support for LISA-N101
Fork of C027_Support by
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.
Diff: MDM.h
- Revision:
- 17:296d94a006b4
- Child:
- 18:e5697801df29
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MDM.h Fri Jan 31 09:49:51 2014 +0000 @@ -0,0 +1,14 @@ +#pragma once + +#include "mbed.h" +#include "C027_PinNames.h" + +class MDMSerial : public RawSerial +{ +public: + MDMSerial() : RawSerial(MDMTXD,MDMRXD) + { + baud(MDMBAUD); + set_flow_control(SerialBase::RTSCTS, MDMRTS, MDMCTS); + } +};