WncController
Fork of WncControllerLibrary by
Diff: WncController.cpp
- Revision:
- 5:20207cc5502e
- Parent:
- 4:c5720f4d13ff
- Child:
- 6:a656e820d7ff
diff -r c5720f4d13ff -r 20207cc5502e WncController.cpp --- 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=";