Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MTS-Serial libmDot-mbed5
Fork of Dot-AT-Firmware by
CommandTerminal/CmdSendContinuous.cpp@18:44972ed0654d, 2017-10-10 (annotated)
- Committer:
- alphaemmeo
- Date:
- Tue Oct 10 09:33:43 2017 +0000
- Revision:
- 18:44972ed0654d
- Parent:
- 14:f9a77400b622
testInit
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 |
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 | } |
