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 libmDot mbed-rtos mbed
Fork of mDot_USB_AT_firmware by
CommandTerminal/CmdSendContinuous.cpp
- Committer:
- ahario
- Date:
- 2016-10-19
- Revision:
- 14:eecf7851d6ff
- Parent:
- 4:666017851052
File content as of revision 14:eecf7851d6ff:
#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;
}
