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.
Fork of WncControllerLibrary by
Diff: WncController.h
- Revision:
- 21:086841abc3aa
- Parent:
- 20:ca2db38d6802
- Child:
- 22:db78f3e0d782
diff -r ca2db38d6802 -r 086841abc3aa WncController.h
--- a/WncController.h Wed Sep 14 23:15:39 2016 +0000
+++ b/WncController.h Thu Sep 15 15:31:20 2016 +0000
@@ -72,7 +72,8 @@
enum WncState_e {
WNC_OFF = 0,
WNC_ON, // This is intended to mean all systems go, including cell link up but socket may not be open
- WNC_ON_NO_CELL_LINK
+ WNC_ON_NO_CELL_LINK,
+ WNC_NO_RESPONSE
};
/**
@@ -207,9 +208,9 @@
*
* \details DO NOT use the same string as is passed to the auto poll setup method!
*/
- int read(uint16_t numSock, uint8_t * readBuf, uint32_t maxReadBufLen);
+ size_t read(uint16_t numSock, uint8_t * readBuf, uint32_t maxReadBufLen);
- int read(uint16_t numSock, const uint8_t ** readBuf);
+ size_t read(uint16_t numSock, const uint8_t ** readBuf);
/**
* \brief Set how many times the above read method will retry if data is not returned.
