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.
Dependents: WNCInterface_M2Xdemo ATT_WNCInterface_Info WNCInterface_HTTP_example Public_IoT_M2X_Cellular_Demo
Fork of M2XStreamClient by
Diff: Client.h
- Revision:
- 12:debf4b2f7960
- Parent:
- 0:f479e4f4db0e
--- a/Client.h Mon Sep 15 14:01:40 2014 +0000 +++ b/Client.h Fri Sep 26 09:35:10 2014 +0000 @@ -24,8 +24,12 @@ virtual uint8_t connected(); private: virtual int read(uint8_t *buf, size_t size); - uint8_t _buf[1]; - uint8_t _len; + void _fillin(void); + uint8_t _inbuf[128]; + uint8_t _incnt; + void _flushout(void); + uint8_t _outbuf[128]; + uint8_t _outcnt; TCPSocketConnection _sock; };
