Vodafone K3770/K3772-Z modems driver & networking library
Dependencies: Socket USBHostWANDongle lwip-sys lwip
Dependents: VodafoneUSBModemHTTPClientTest VodafoneUSBModemNTPClientTest VodafoneUSBModemSMSTest VodafoneUSBModemUSSDTest ... more
Fork of VodafoneUSBModem_bleedingedge by
This is the driver for the Vodafone K3700 & K3772-Z Dongles:
More details and instructions can be found here.
Diff: at/ATCommandsInterface.cpp
- Revision:
- 60:763eefc845b1
- Parent:
- 59:593fb493172f
- Child:
- 61:0bcb8c5216d4
--- a/at/ATCommandsInterface.cpp Wed Oct 24 14:13:49 2012 +0000 +++ b/at/ATCommandsInterface.cpp Wed Oct 24 14:15:53 2012 +0000 @@ -273,8 +273,6 @@ return ret; } -#include "mbed.h" -DigitalOut led_test(LED4); int ATCommandsInterface::tryReadLine() { @@ -282,14 +280,12 @@ //Block on serial read or incoming command DBG("Trying to read a new line from stream"); - led_test=1; int ret = m_pStream->waitAvailable(); //This can be aborted size_t readLen = 0; if(ret == OK) { ret = m_pStream->read((uint8_t*)m_inputBuf + m_inputPos, &readLen, AT_INPUT_BUF_SIZE - 1 - m_inputPos, 0); //Do NOT wait at this point } - led_test=0; if(ret == OK) { m_inputPos+=readLen;