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: core/MtxCircBuffer.h
- Revision:
- 91:7b311719374d
- Parent:
- 16:02db4f537955
--- a/core/MtxCircBuffer.h Thu Jun 27 12:16:30 2013 +0000 +++ b/core/MtxCircBuffer.h Fri Sep 20 10:40:58 2013 +0000 @@ -54,6 +54,10 @@ void queue(T k) { + // XXX Some modems spew stuff out on multiple interfaces + // which can cause the circular buffer to block if + // the unread queues are not flushed. Need to make this + // non-blocking: just overwrite oldest chars for example. mtx.lock(); while (((write + 1) % size) == read) //if (isFull()) {