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
Revision 60:763eefc845b1, committed 2012-10-24
- Comitter:
- donatien
- Date:
- Wed Oct 24 14:15:53 2012 +0000
- Parent:
- 59:593fb493172f
- Child:
- 61:0bcb8c5216d4
- Commit message:
- (removed useless forgotten debug led)
Changed in this revision
at/ATCommandsInterface.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;