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

Fork of WncControllerLibrary by Fred Kellerman

Revision:
5:20207cc5502e
Parent:
4:c5720f4d13ff
Child:
6:a656e820d7ff
--- a/WncController.cpp	Tue Sep 06 18:45:28 2016 +0000
+++ b/WncController.cpp	Tue Sep 06 19:11:14 2016 +0000
@@ -1429,6 +1429,8 @@
     string cmd_str;
     size_t pos_start, pos_end;
     int i;
+    
+    pS->erase();  // Start with a fresh string
 
     if (isTcp == true)
         cmd_str="AT@SOCKREAD=";