Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Socket USBHostWANDongle lwip-sys lwip
Fork of VodafoneUSBModem by
Diff: at/ATCommandsInterface.h
- Revision:
- 52:bd474c9fe51e
- Parent:
- 50:8ad4cb12749d
- Child:
- 59:593fb493172f
diff -r 54ca82a7644c -r bd474c9fe51e at/ATCommandsInterface.h
--- 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;
