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:
- 4:c5720f4d13ff
- Parent:
- 2:30d78cda6779
- Child:
- 6:a656e820d7ff
diff -r b7b3d2c554e5 -r c5720f4d13ff WncController.h
--- a/WncController.h Fri Sep 02 16:37:14 2016 +0000
+++ b/WncController.h Tue Sep 06 18:45:28 2016 +0000
@@ -214,6 +214,8 @@
* \details DO NOT use the same string as is passed to the auto poll setup method!
*/
size_t read(uint16_t numSock, uint8_t * readBuf, uint32_t maxReadBufLen);
+
+ 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.
@@ -345,6 +347,7 @@
bool at_dnsresolve_wnc(const char * s, string * ipStr);
AtCmdErr_e at_sockwrite_wnc(const char * s, uint32_t n, uint16_t numSock, bool isTcp);
AtCmdErr_e at_sockread_wnc(uint8_t * pS, uint32_t * numRead, uint16_t n, uint16_t numSock, bool isTcp);
+ AtCmdErr_e at_sockread_wnc(string * pS, uint16_t numSock, bool isTcp);
bool at_reinitialize_mdm(void);
AtCmdErr_e at_send_wnc_cmd(const char * s, string ** r, int ms_timeout);
bool at_setapn_wnc(const char * const apnStr);
