Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MTS-Serial libxDot-mbed5
CommandTerminal/CmdSendContinuous.cpp
- Committer:
- Mike Fiore
- Date:
- 2015-08-18
- Revision:
- 4:666017851052
- Child:
- 14:f9a77400b622
File content as of revision 4:666017851052:
#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; }