summaryrefslogtreecommitdiff
path: root/CommandTerminal/CmdSendContinuous.cpp
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2016-09-21 13:52:59 -0500
committerJason Reiss <jreiss@multitech.com>2016-09-21 13:52:59 -0500
commit04b6e95c2931eadee93a6c1fe982f1658a60e1b7 (patch)
tree84406fd9a31a44d78422003249572f2b104be850 /CommandTerminal/CmdSendContinuous.cpp
parentbe0d56b806ce76cef1d5bd5b6795391c2049b8b4 (diff)
parent692b74778f6b95cf0c668dfdb85f39035e113baa (diff)
downloadmtdot-box-evb-factory-firmware-04b6e95c2931eadee93a6c1fe982f1658a60e1b7.tar.gz
mtdot-box-evb-factory-firmware-04b6e95c2931eadee93a6c1fe982f1658a60e1b7.tar.bz2
mtdot-box-evb-factory-firmware-04b6e95c2931eadee93a6c1fe982f1658a60e1b7.zip
Merge branch 'Semtech'
Conflicts: .gitmodules Mode/ModeJoin.cpp main.cpp Add AU915
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;
+}
+