local fork
Dependencies: Socket USBHostWANDongle_bleedingedge lwip-sys lwip
Fork of VodafoneUSBModem_bleedingedge by
Diff: sms/SMSInterface.cpp
- Revision:
- 76:c0e63c16306e
- Parent:
- 75:a6ac8206a58d
- Child:
- 79:897a0de9d668
diff -r a6ac8206a58d -r c0e63c16306e sms/SMSInterface.cpp --- a/sms/SMSInterface.cpp Wed Jan 09 16:13:50 2013 +0000 +++ b/sms/SMSInterface.cpp Tue Jan 15 17:24:37 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 +#define __DEBUG__ 0 #ifndef __MODULE__ #define __MODULE__ "SMSInterface.cpp" #endif @@ -117,6 +117,7 @@ int ret; DBG("Get next message"); + m_inboxMtx.lock(); if( ((m_msgRefListCount == 0) && m_needsUpdate) || ((m_msgRefListCount > 0) && (m_msgRefList[0] == -1)) ) { @@ -318,6 +319,7 @@ /*virtual*/ bool SMSInterface::isATCodeHandled(const char* atCode) //Is this AT code handled { + DBG("AT code is %s", atCode); if( strcmp("+CMTI", atCode) == 0 ) { @@ -354,6 +356,7 @@ { return; //Not supported } + DBG("Unsollicited result code: %s - %s", atCode, evt);