
This mDot firmware will allow USB to directly utilize AT command without the need the use of RS232 DB9 port.
Dependencies: MTS-Serial libmDot mbed-rtos mbed
Fork of mDot_USB_AT_firmware by
Diff: CommandTerminal/CmdSendContinuous.cpp
- Revision:
- 4:666017851052
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CommandTerminal/CmdSendContinuous.cpp Tue Aug 18 11:21:43 2015 -0500 @@ -0,0 +1,21 @@ +#include "CmdSendContinuous.h" +#include "CommandTerminal.h" + +CmdSendContinuous::CmdSendContinuous(mDot* dot, mts::MTSSerial& serial) +: + Command(dot, "Send Continuous", "AT+SENDC", "Send un-modulated data continuously"), + _serial(serial) { + _help = std::string(text()) + ": " + std::string(desc()); + _usage = "(string:242)"; +} + +uint32_t CmdSendContinuous::action(std::vector<std::string> args) { + + _dot->sendContinuous(); + return 0; +} + +bool CmdSendContinuous::verify(std::vector<std::string> args) { + + return true; +}