summaryrefslogtreecommitdiff
path: root/CommandTerminal/CmdSendContinuous.cpp
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2016-09-14 11:02:19 -0500
committerJason Reiss <jreiss@multitech.com>2016-09-14 11:02:19 -0500
commit692b74778f6b95cf0c668dfdb85f39035e113baa (patch)
treee7bc7d35baef7f63146a4e25e7df34c6c4030fd7 /CommandTerminal/CmdSendContinuous.cpp
parent173c34ce2472d33c957457de125a56a83ff11aa1 (diff)
downloadmtdot-box-evb-factory-firmware-692b74778f6b95cf0c668dfdb85f39035e113baa.tar.gz
mtdot-box-evb-factory-firmware-692b74778f6b95cf0c668dfdb85f39035e113baa.tar.bz2
mtdot-box-evb-factory-firmware-692b74778f6b95cf0c668dfdb85f39035e113baa.zip
Add AT+TXF and AT+SENDC debug commands
Diffstat (limited to 'CommandTerminal/CmdSendContinuous.cpp')
-rw-r--r--CommandTerminal/CmdSendContinuous.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/CommandTerminal/CmdSendContinuous.cpp b/CommandTerminal/CmdSendContinuous.cpp
new file mode 100644
index 0000000..843d5bf
--- /dev/null
+++ b/CommandTerminal/CmdSendContinuous.cpp
@@ -0,0 +1,13 @@
+#include "CmdSendContinuous.h"
+
+CmdSendContinuous::CmdSendContinuous(mDot* dot)
+: Command(dot, "Send Continuous", "AT+SENDC", "Send un-modulated data continuously") {
+}
+
+uint32_t CmdSendContinuous::action(std::vector<std::string> args) {
+
+ _dot->sendContinuous(true);
+
+ return 0;
+}
+