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
This is the driver for the Vodafone K3700 & K3772-Z Dongles:
More details and instructions can be found here.
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();