mDot AT-Firmware for testing
Dependencies: MTS-Serial libmDot-mbed5
Fork of Dot-AT-Firmware by
CommandTerminal/CmdSendContinuous.cpp
- Committer:
- Fran6
- Date:
- 2017-08-14
- Revision:
- 16:3b1d46c1db11
- Parent:
- 14:f9a77400b622
File content as of revision 16:3b1d46c1db11:
#include "CmdSendContinuous.h" #include "CommandTerminal.h" CmdSendContinuous::CmdSendContinuous() : Command("Send Continuous", "AT+SENDC", "Send un-modulated data continuously", "(string:242)") { } uint32_t CmdSendContinuous::action(std::vector<std::string> args) { CommandTerminal::Dot()->sendContinuous(true); CommandTerminal::Serial()->clearEscaped(); return 0; } bool CmdSendContinuous::verify(std::vector<std::string> args) { return true; }