Avnet / WncControllerLibrary

Fork of WncControllerLibrary by Fred Kellerman

Revision:
2:30d78cda6779
Parent:
1:ac2de545b981
--- a/WncControllerK64F.h	Thu Sep 01 02:28:10 2016 +0000
+++ b/WncControllerK64F.h	Thu Sep 01 22:28:10 2016 +0000
@@ -71,6 +71,22 @@
      */
     WncControllerK64F(struct WncGpioPinListK64F * pPins, MODSERIAL * wnc_uart, MODSERIAL * debug_uart = NULL);
     
+    /**
+     *  \brief Activates a mode where the user can send text to and from the K64F
+     *  debug Serial port directly to the WNC.
+     *
+     *  \param [in] echoOn - set to true to enable terminal echo
+     *
+     *  \return true - if terminal mode was successfully entered and exited.
+     *
+     *  \details Activates a mode where the user can send text to and from the K64F
+     *  debug Serial port directly to the WNC.  The mode is entered via this
+     *  call.  The mode is exited when the user types CTRL-Q.  While in this
+     *  mode all text to and from the WNC is consumed by the debug Serial port.
+     *  No other methods in the class will receive any of the WNC output.
+     */
+    bool enterWncTerminalMode(bool echoOn);
+    
 private:
 
     // Disallow copy