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.

Files at this revision

API Documentation at this revision

Comitter:
ashleymills
Date:
Thu Oct 11 09:59:41 2012 +0000
Parent:
51:54ca82a7644c
Child:
54:f9b1f5444963
Commit message:
Couple of lines of comments.

Changed in this revision

at/ATCommandsInterface.h Show annotated file Show diff for this revision Revisions of this file
--- a/at/ATCommandsInterface.h	Thu Sep 27 14:48:19 2012 +0000
+++ b/at/ATCommandsInterface.h	Thu Oct 11 09:59:41 2012 +0000
@@ -124,15 +124,16 @@
 
   enum { IDLE, COMMAND_SENT, READING_RESULT, ABORTED } m_transactionState;
 
-  char m_inputBuf[AT_INPUT_BUF_SIZE];
-  int m_inputPos;
+  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;
 
-  Mail<int,1> m_env2AT;
-  Mail<int,1> m_AT2Env;
+  // 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
+  Mail<int,1> m_AT2Env; // used by processing thread to inform calling function of events
 
-  IATEventsHandler* m_eventsHandlers[MAX_AT_EVENTS_HANDLERS];
+  IATEventsHandler* m_eventsHandlers[MAX_AT_EVENTS_HANDLERS]; // all registered events handlers
 
   Mutex m_processingMtx;
   Thread m_processingThread;