modified u-blox modem driver
Dependencies: CellularUSBModem
Fork of UbloxUSBModem by
Diff: UbloxUSBGSMModem.cpp
- Revision:
- 5:60b48a013e86
- Parent:
- 1:71286b99c1cb
--- a/UbloxUSBGSMModem.cpp Fri Oct 18 09:21:49 2013 +0000 +++ b/UbloxUSBGSMModem.cpp Mon Dec 16 09:00:36 2013 +0000 @@ -36,7 +36,7 @@ m_sms(&m_at), // Construct SMSInterface with the ATCommandsInterface m_ussd(&m_at), // Construct USSDInterface with the ATCommandsInterface m_linkMonitor(&m_at), // Construct LinkMonitor with the ATCommandsInterface - m_ppp(&m_pppStream, DEFAULT_MSISDN_GSM), // Construct PPPIPInterface with the PPP serial channel + m_ppp(&m_pppStream), // Construct PPPIPInterface with the PPP serial channel m_dongleConnected(false), // Dongle is initially not ready for anything m_ipInit(false), // PPIPInterface connection is initially down m_smsInit(false), // SMSInterface starts un-initialised @@ -185,7 +185,7 @@ m_ipInit = true; m_ppp.init(); } - m_ppp.setup(user, password); + m_ppp.setup(user, password, DEFAULT_MSISDN_GSM); int ret = init(); if(ret) @@ -543,7 +543,7 @@ return ret; } - if(m_dongle.getDongleType() == WAN_DONGLE_TYPE_UBX) + if(m_dongle.getDongleType() == WAN_DONGLE_TYPE_UBLOX_LISAU200) { INFO("Using a u-blox LISA-U"); }