This library controls the WNC. There is a derived class for usage from the K64F board.

Fork of WncControllerLibrary by Fred Kellerman

Revision:
20:ca2db38d6802
Parent:
19:83a52353b97e
Child:
21:086841abc3aa
--- a/WncController.h	Wed Sep 14 02:31:35 2016 +0000
+++ b/WncController.h	Wed Sep 14 23:15:39 2016 +0000
@@ -207,9 +207,9 @@
      *
      *  \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);
+    int read(uint16_t numSock, uint8_t * readBuf, uint32_t maxReadBufLen);
     
-    size_t read(uint16_t numSock, const uint8_t ** readBuf);
+    int read(uint16_t numSock, const uint8_t ** readBuf);
 
     /**
      *  \brief Set how many times the above read method will retry if data is not returned.
@@ -257,7 +257,7 @@
     ///////////////////////////////////////////
 
     static const uint16_t MAX_WNC_SMS_MSG_SLOTS = 3;   // How many SMS messages the WNC can store and receive at a time.
-    static const uint16_t MAX_WNC_SMS_LENGTH    = 160; // The maximum length of an SMS message the WNC can send and receive.
+    static const uint16_t MAX_WNC_SMS_LENGTH    = 160; // The maximum length of a 7-bit SMS message the WNC can send and receive.
     
     struct WncSmsInfo
     {