AT terminal for the mDot using the USB debug port instead of the serial port.

Dependencies:   MTS-Serial libmDot-mbed5

Fork of Dot-AT-Firmware by MultiTech

Revision:
16:d5cf2af81a6d
Parent:
14:f9a77400b622
--- a/CommandTerminal/CmdMacCmd.cpp	Fri Nov 04 17:04:54 2016 -0500
+++ b/CommandTerminal/CmdMacCmd.cpp	Mon Jun 19 14:33:21 2017 -0500
@@ -12,7 +12,7 @@
     if (args.size() == 1) {
         std::vector<uint8_t> cmds = CommandTerminal::Dot()->getMacCommands();
 
-        if (cmds.size() > 1) {
+        if (cmds.size() > 0) {
             for (size_t i = 0; i < cmds.size(); i++) {
                 CommandTerminal::Serial()->writef("%02x", cmds[i]);
             }