PHS module SMA-01 library. see: https://developer.mbed.org/users/phsfan/notebook/abitusbmodem/
Dependencies: Socket lwip-sys lwip
Dependents: AbitUSBModem_HTTPTest AbitUSBModem_MQTTTest AbitUSBModem_WebsocketTest AbitUSBModem_SMSTest
Fork of VodafoneUSBModem by
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;