endpoint C207 radio support
Dependents: mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular
Diff: MBEDUbloxCellRadio.cpp
- Revision:
- 18:2d9bb520794c
- Parent:
- 16:19f597d8048f
- Child:
- 20:9572d860cb54
--- a/MBEDUbloxCellRadio.cpp Tue Jul 01 17:12:32 2014 +0000 +++ b/MBEDUbloxCellRadio.cpp Tue Jul 01 19:28:11 2014 +0000 @@ -25,6 +25,9 @@ // default constructor MBEDUbloxCellRadio::MBEDUbloxCellRadio(ErrorHandler *error_handler,void *endpoint,void *modem) : BaseClass(error_handler,endpoint) { this->m_modem = (MDMSerial *)modem; + #ifdef CELLULAR_DEBUG + if (this->m_modem != NULL) this->m_modem->setDebug(4); + #endif this->m_connected = false; }