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

Fork of WncControllerLibrary by Fred Kellerman

Files at this revision

API Documentation at this revision

Comitter:
fkellermavnet
Date:
Tue Sep 06 19:11:14 2016 +0000
Parent:
4:c5720f4d13ff
Child:
6:a656e820d7ff
Commit message:
Added new read method, fixed old.

Changed in this revision

WncController.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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=";