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 Hadi Ho

CommandTerminal/CmdSendContinuous.cpp

Committer:
Mike Fiore
Date:
2015-08-18
Revision:
4:666017851052

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;
}