MTDOT-BOX-EVB-Factory-Firmware
Dependencies: NCP5623B GpsParser ISL29011 libmDot-mbed5 MTS-Serial MMA845x DOGS102 MPL3115A2
CommandTerminal/CmdSendContinuous.cpp@7:a31236c2e75c, 2016-11-04 (annotated)
- Committer:
- Mike Fiore
- Date:
- Fri Nov 04 17:27:05 2016 -0500
- Revision:
- 7:a31236c2e75c
update from git revision 2.1.2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Mike Fiore |
7:a31236c2e75c | 1 | #include "CmdSendContinuous.h" |
Mike Fiore |
7:a31236c2e75c | 2 | |
Mike Fiore |
7:a31236c2e75c | 3 | CmdSendContinuous::CmdSendContinuous(mDot* dot) |
Mike Fiore |
7:a31236c2e75c | 4 | : Command(dot, "Send Continuous", "AT+SENDC", "Send un-modulated data continuously") { |
Mike Fiore |
7:a31236c2e75c | 5 | } |
Mike Fiore |
7:a31236c2e75c | 6 | |
Mike Fiore |
7:a31236c2e75c | 7 | uint32_t CmdSendContinuous::action(std::vector<std::string> args) { |
Mike Fiore |
7:a31236c2e75c | 8 | |
Mike Fiore |
7:a31236c2e75c | 9 | _dot->sendContinuous(true); |
Mike Fiore |
7:a31236c2e75c | 10 | |
Mike Fiore |
7:a31236c2e75c | 11 | return 0; |
Mike Fiore |
7:a31236c2e75c | 12 | } |
Mike Fiore |
7:a31236c2e75c | 13 |