fork of VodafoneUSBModem with updated USBHost library
Dependencies: Socket USBHost lwip-sys lwip
Dependents: VodafoneUSBModemSMSTest
Diff: VodafoneUSBModem.cpp
- Revision:
- 81:da03da068398
- Parent:
- 80:c0e63c16306e
- Child:
- 82:ab4d6263f25c
--- a/VodafoneUSBModem.cpp Tue Jan 15 17:24:37 2013 +0000 +++ b/VodafoneUSBModem.cpp Tue Jan 29 13:45:01 2013 +0000 @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#define __DEBUG__ 4 +#define __DEBUG__ 0 #ifndef __MODULE__ #define __MODULE__ "VodafoneUSBModem.cpp" #endif @@ -575,6 +575,11 @@ else if(m_dongle.getDongleType()== WAN_DONGLE_TYPE_VODAFONEK3773) { INFO("Using a Vodafone K3773 M2M dongle."); + ret = m_at.executeSimple("at^stsf=0",NULL); + ret = m_at.executeSimple("at^curc=0",NULL); + if(ret!=0) { + return NET_PROTOCOL; + } } else if(m_dongle.getDongleType()== WAN_DONGLE_TYPE_VODAFONEMU509) {