AT terminal for the mDot using the USB debug port instead of the serial port.
Dependencies: MTS-Serial libmDot-mbed5
Fork of Dot-AT-Firmware by
Diff: CommandTerminal/CmdAttention.cpp
- Revision:
- 14:f9a77400b622
- Parent:
- 1:e52ae6584f1c
diff -r b0f5ae12dc05 -r f9a77400b622 CommandTerminal/CmdAttention.cpp --- a/CommandTerminal/CmdAttention.cpp Fri Nov 04 19:10:24 2016 +0000 +++ b/CommandTerminal/CmdAttention.cpp Fri Nov 04 14:25:43 2016 -0500 @@ -1,13 +1,7 @@ #include "CmdAttention.h" -CmdAttention::CmdAttention(mDot* dot) : Command(dot, "Attention", "AT", "Attention") +CmdAttention::CmdAttention() : Command("Attention", "AT", "Attention", "NONE") { - _help = std::string(text()) + ": " + std::string(desc()); -} - -CmdAttention::CmdAttention(mDot* dot, const char* name, const char* text, const char* desc) : Command(dot, name, text, desc) -{ - } uint32_t CmdAttention::action(std::vector<std::string> args) {