summaryrefslogtreecommitdiff
path: root/CommandTerminal/CmdDummy.cpp
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2015-12-16 12:48:24 -0600
committerMike Fiore <mfiore@multitech.com>2015-12-16 12:48:24 -0600
commit097dbc88bfd6303fbc6b08e95cf49a16936a4d67 (patch)
treee852519d3d656acb44bfd025a6c457c6e53cddec /CommandTerminal/CmdDummy.cpp
parent29aae3c2d982a21971211d0628cbf9ee57f14800 (diff)
downloadmtdot-box-evb-factory-firmware-097dbc88bfd6303fbc6b08e95cf49a16936a4d67.tar.gz
mtdot-box-evb-factory-firmware-097dbc88bfd6303fbc6b08e95cf49a16936a4d67.tar.bz2
mtdot-box-evb-factory-firmware-097dbc88bfd6303fbc6b08e95cf49a16936a4d67.zip
update AT command help, add AT+EXIT command so it gets displayed in help
Diffstat (limited to 'CommandTerminal/CmdDummy.cpp')
-rw-r--r--CommandTerminal/CmdDummy.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/CommandTerminal/CmdDummy.cpp b/CommandTerminal/CmdDummy.cpp
new file mode 100644
index 0000000..4ef3ced
--- /dev/null
+++ b/CommandTerminal/CmdDummy.cpp
@@ -0,0 +1,13 @@
+#include "CmdDummy.h"
+
+CmdDummy::CmdDummy(mDot* dot, const char* name, const char* txt, const char* dsc) : Command(dot, name, txt, dsc)
+{
+ _help = std::string(text()) + ": " + std::string(desc());
+}
+
+
+uint32_t CmdDummy::action(std::vector<std::string> args)
+{
+ return 0;
+}
+