modified to get more signal info
Fork of WncControllerLibrary by
Diff: WncController.h
- Revision:
- 21:086841abc3aa
- Parent:
- 20:ca2db38d6802
- Child:
- 22:db78f3e0d782
--- 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.