This library controls the WNC. There is a derived class for usage from the K64F board.
Fork of WncControllerLibrary by
Diff: WncController.h
- Revision:
- 4:c5720f4d13ff
- Parent:
- 2:30d78cda6779
- Child:
- 6:a656e820d7ff
--- 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);
