endpoint C207 radio support
Dependents: mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular
Diff: MBEDUbloxCellRadio.h
- Revision:
- 16:19f597d8048f
- Parent:
- 9:c5db2b63ed05
- Child:
- 20:9572d860cb54
--- a/MBEDUbloxCellRadio.h Thu Apr 03 01:55:08 2014 +0000 +++ b/MBEDUbloxCellRadio.h Mon Jun 30 22:17:48 2014 +0000 @@ -20,21 +20,24 @@ #define _MBED_UBLOX_CELL_RADIO_H_ #include "mbed.h" - #include "C027.h" - #include "UbloxUSBGSMModem.h" - #include "UbloxUSBCDMAModem.h" - + #include "MDM.h" + + // SIM settings + #define SIMPIN NULL + #define APN "phone" + #define USERNAME NULL + #define PASSWORD NULL + // BaseClass support #include "BaseClass.h" class MBEDUbloxCellRadio : public BaseClass { private: - C027 *m_c027; - UBLOX_MODEM *m_modem; - bool m_connected; + MDMSerial *m_modem; + bool m_connected; public: - MBEDUbloxCellRadio(ErrorHandler *error_handler, void *endpoint,UBLOX_MODEM *modem,C027 *c027); + MBEDUbloxCellRadio(ErrorHandler *error_handler,void *endpoint,void *modem); virtual ~MBEDUbloxCellRadio(); bool connect();