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:
- 79:a6ac8206a58d
- Parent:
- 75:ff3e5d1e82ca
- Child:
- 83:897a0de9d668
--- a/at/ATCommandsInterface.cpp Wed Dec 19 09:32:58 2012 +0000 +++ b/at/ATCommandsInterface.cpp Wed Jan 09 16:13:50 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 //ERR+WARN +#define __DEBUG__ 0 //ERR+WARN #ifndef __MODULE__ #define __MODULE__ "ATCommandsInterface.cpp" #endif @@ -863,6 +863,17 @@ return OK; } +void ATCommandsInterface::pause() { + DBG("pausing at commands interface"); + m_pStream->abortRead(); + m_processingThread.signal_set(AT_SIG_PROCESSING_STOP); +} + +void ATCommandsInterface::restart() { + DBG("restarting AT commands interface"); + m_processingThread.signal_set(AT_SIG_PROCESSING_START); +} + void ATCommandsInterface::process() //Processing thread { DBG("AT Thread started");