PHS module SMA-01 library. see: https://developer.mbed.org/users/phsfan/notebook/abitusbmodem/
Dependencies: Socket lwip-sys lwip
Dependents: AbitUSBModem_HTTPTest AbitUSBModem_MQTTTest AbitUSBModem_WebsocketTest AbitUSBModem_SMSTest
Fork of VodafoneUSBModem by
Diff: ussd/USSDInterface.cpp
- Revision:
- 35:be311326ee06
- Parent:
- 29:870de7db2ccb
- Child:
- 59:593fb493172f
diff -r b53c619b036d -r be311326ee06 ussd/USSDInterface.cpp --- a/ussd/USSDInterface.cpp Fri Sep 14 10:15:02 2012 +0000 +++ b/ussd/USSDInterface.cpp Fri Sep 14 15:11:06 2012 +0000 @@ -178,7 +178,7 @@ return; } size_t cpyLen = MIN( pEnd - pStart, m_maxResultLength - 1 ); - memcpy(m_result, pStart, cpyLen); + memcpy((void*)m_result, pStart, cpyLen); m_result[cpyLen] = '\0'; DBG("Got USSD response: %s", m_result); m_responseMtx.unlock();