WncControllerK64F

Dependencies:   WncController

Fork of WncControllerK64F by Fred Kellerman

Revision:
23:43a36c66c574
Parent:
22:9b9cb0d95f51
--- a/WncControllerK64F.cpp	Wed Nov 16 18:18:56 2016 +0000
+++ b/WncControllerK64F.cpp	Thu Nov 17 15:31:35 2016 +0000
@@ -19,8 +19,8 @@
     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
     THE SOFTWARE.
     
-    @file          WncController.cpp
-    @purpose       Controls WNC Cellular Modem
+    @file          WncControllerK64F.cpp
+    @purpose       Contains K64F and mbed specifics to control the WNC modem using the WncController base class.
     @version       1.0
     @date          July 2016
     @author        Fred Kellerman
@@ -70,7 +70,6 @@
     }
 }
 
-
 int WncControllerK64F::putc(char c)
 {
     return (m_pWncUart->putc(c));
@@ -146,15 +145,13 @@
     // Toggle wakeup to prevent future dropped 'A' of "AT", this was
     //  suggested by ATT.
     if (res == true) {
-        if (m_pDbgUart != NULL)
-            m_pDbgUart->puts("\r\nToggling Wakeup...\r\n");
+        dbgPuts("\r\nToggling Wakeup...");
         waitMs(20);
         *m_gpioPinList.mdm_wakeup_in = 0;
         waitMs(2000);
         *m_gpioPinList.mdm_wakeup_in = 1;
         waitMs(20);
-        if (m_pDbgUart != NULL)
-            m_pDbgUart->puts("Toggling complete.\r\n");
+        dbgPuts("Toggling complete.");
     }
 
     return (res);