mDot AT-Firmware for testing

Dependencies:   MTS-Serial libmDot-mbed5

Fork of Dot-AT-Firmware by MultiTech

Committer:
Fran6
Date:
Mon Aug 14 12:40:21 2017 +0000
Revision:
16:3b1d46c1db11
Parent:
14:f9a77400b622
mDot AT-Firmware

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Mike Fiore 4:666017851052 1 #include "CmdSendContinuous.h"
Mike Fiore 4:666017851052 2 #include "CommandTerminal.h"
Mike Fiore 4:666017851052 3
Mike Fiore 14:f9a77400b622 4 CmdSendContinuous::CmdSendContinuous()
Mike Fiore 14:f9a77400b622 5 : Command("Send Continuous", "AT+SENDC", "Send un-modulated data continuously", "(string:242)") {
Mike Fiore 4:666017851052 6 }
Mike Fiore 4:666017851052 7
Mike Fiore 4:666017851052 8 uint32_t CmdSendContinuous::action(std::vector<std::string> args) {
Mike Fiore 4:666017851052 9
Mike Fiore 14:f9a77400b622 10 CommandTerminal::Dot()->sendContinuous(true);
Mike Fiore 14:f9a77400b622 11 CommandTerminal::Serial()->clearEscaped();
Mike Fiore 14:f9a77400b622 12
Mike Fiore 4:666017851052 13 return 0;
Mike Fiore 4:666017851052 14 }
Mike Fiore 4:666017851052 15
Mike Fiore 4:666017851052 16 bool CmdSendContinuous::verify(std::vector<std::string> args) {
Mike Fiore 4:666017851052 17
Mike Fiore 4:666017851052 18 return true;
Mike Fiore 4:666017851052 19 }