few changes for RTS/CTS control
Dependencies: MTS-Serial libmDot mbed-rtos mbed
Fork of mDot_AT_firmware by
CommandTerminal/CmdSendContinuous.cpp@11:77b7911263da, 2016-10-25 (annotated)
- Committer:
- serg838
- Date:
- Tue Oct 25 05:39:39 2016 +0000
- Revision:
- 11:77b7911263da
- Parent:
- 4:666017851052
RTS/CTS changes
Who changed what in which revision?
User | Revision | Line number | New 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 |
4:666017851052 | 4 | CmdSendContinuous::CmdSendContinuous(mDot* dot, mts::MTSSerial& serial) |
Mike Fiore |
4:666017851052 | 5 | : |
Mike Fiore |
4:666017851052 | 6 | Command(dot, "Send Continuous", "AT+SENDC", "Send un-modulated data continuously"), |
Mike Fiore |
4:666017851052 | 7 | _serial(serial) { |
Mike Fiore |
4:666017851052 | 8 | _help = std::string(text()) + ": " + std::string(desc()); |
Mike Fiore |
4:666017851052 | 9 | _usage = "(string:242)"; |
Mike Fiore |
4:666017851052 | 10 | } |
Mike Fiore |
4:666017851052 | 11 | |
Mike Fiore |
4:666017851052 | 12 | uint32_t CmdSendContinuous::action(std::vector<std::string> args) { |
Mike Fiore |
4:666017851052 | 13 | |
Mike Fiore |
4:666017851052 | 14 | _dot->sendContinuous(); |
Mike Fiore |
4:666017851052 | 15 | return 0; |
Mike Fiore |
4:666017851052 | 16 | } |
Mike Fiore |
4:666017851052 | 17 | |
Mike Fiore |
4:666017851052 | 18 | bool CmdSendContinuous::verify(std::vector<std::string> args) { |
Mike Fiore |
4:666017851052 | 19 | |
Mike Fiore |
4:666017851052 | 20 | return true; |
Mike Fiore |
4:666017851052 | 21 | } |