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 Donatien Garnier

This is the driver for the Vodafone K3700 & K3772-Z Dongles:

K3770

More details and instructions can be found here.

Revision:
83:897a0de9d668
Parent:
79:a6ac8206a58d
--- a/at/ATCommandsInterface.h	Tue Jan 29 13:49:23 2013 +0000
+++ b/at/ATCommandsInterface.h	Tue Mar 05 14:54:15 2013 +0000
@@ -139,7 +139,7 @@
   char m_inputBuf[AT_INPUT_BUF_SIZE]; // Stores characters received from the modem.
   int m_inputPos; // Current position of fill pointer in the input buffer.
 
-  Mutex m_transactionMtx;
+  Mutex m_transactionMtx; // used to lock access to the serial stream sending AT commands
 
   // These are RTOS queues, concurrent access protected. In this case both only contain an integer.
   Mail<int,1> m_env2AT; // used by calling function to inform processing thread of events
@@ -147,8 +147,8 @@
 
   IATEventsHandler* m_eventsHandlers[MAX_AT_EVENTS_HANDLERS]; // all registered events handlers
 
-  Mutex m_processingMtx;
-  Thread m_processingThread;
+  Mutex m_processingMtx; // not sure why you need a lock for the processing thread, as nobody else accesses it
+  Thread m_processingThread; // this is the at parsing thread, i.e the function process()
 
   Mutex m_eventsMgmtMtx; // locks access to event handler management (adding/removing handlers)
   Mutex m_eventsProcessingMtx; //Lock events use within the processing thread