I added functionality to get the RSSI, BER, and Cell Neighbor for reporting connection issues to M2X

Dependencies:   WncControllerPlus

Revision:
20:fcc6b61a5610
Parent:
15:68d73d402cb0
Child:
22:9b9cb0d95f51
diff -r 846140c6589f -r fcc6b61a5610 WncControllerK64F.cpp
--- a/WncControllerK64F.cpp	Fri Sep 23 14:55:44 2016 +0000
+++ b/WncControllerK64F.cpp	Fri Oct 07 18:37:26 2016 +0000
@@ -140,8 +140,22 @@
     //same as how the M14A module is driving them with internal pull ups/downs.
     //When enabled, there will be no changes in these 4 pins...
     *m_gpioPinList.shield_3v3_1v8_sig_trans_ena = 1;
+    
+    bool res = waitForPowerOnModemToRespond(powerUpTimeoutSecs);
+    
+    // Toggle wakeup to prevent future dropped 'A' of "AT", this was
+    //  suggested by ATT.
+    if (res == true) {
+        m_pDbgUart->puts("\r\nToggling Wakeup...\r\n");
+        waitMs(20);
+        *m_gpioPinList.mdm_wakeup_in = 0;
+        waitMs(2000);
+        *m_gpioPinList.mdm_wakeup_in = 1;
+        waitMs(20);
+        m_pDbgUart->puts("Toggling complete.\r\n");
+    }
 
-    return (waitForPowerOnModemToRespond(powerUpTimeoutSecs));
+    return (res);
 }
 
 void WncControllerK64F::waitMs(int t)