Add a bunch of APNs

Fork of C027_Support by Xinlei Cao

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