endpoint C207 radio support
Dependents: mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular
Diff: MBEDUbloxCellRadio.cpp
- Revision:
- 20:9572d860cb54
- Parent:
- 18:2d9bb520794c
- Child:
- 23:a12a6b3910a9
--- a/MBEDUbloxCellRadio.cpp Tue Jul 01 20:13:19 2014 +0000 +++ b/MBEDUbloxCellRadio.cpp Thu Jul 03 18:35:54 2014 +0000 @@ -24,7 +24,11 @@ // default constructor MBEDUbloxCellRadio::MBEDUbloxCellRadio(ErrorHandler *error_handler,void *endpoint,void *modem) : BaseClass(error_handler,endpoint) { + #ifdef NSP_CELLULAR_NETWORK + this->m_modem = (MDMRtos<MDMSerial> *)modem; + #else this->m_modem = (MDMSerial *)modem; + #endif #ifdef CELLULAR_DEBUG if (this->m_modem != NULL) this->m_modem->setDebug(4); #endif