![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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
CommandTerminal/CmdDummy.cpp@14:f9a77400b622, 2016-11-04 (annotated)
- Committer:
- Mike Fiore
- Date:
- Fri Nov 04 14:25:43 2016 -0500
- Revision:
- 14:f9a77400b622
- Parent:
- 1:e52ae6584f1c
update from git revision 2.0.16
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Mike Fiore |
1:e52ae6584f1c | 1 | #include "CmdDummy.h" |
Mike Fiore |
1:e52ae6584f1c | 2 | |
Mike Fiore |
14:f9a77400b622 | 3 | CmdDummy::CmdDummy(const char* name, const char* txt, const char* dsc, const char* usage) : |
Mike Fiore |
14:f9a77400b622 | 4 | Command(name, txt, dsc, usage) { |
Mike Fiore |
14:f9a77400b622 | 5 | |
Mike Fiore |
1:e52ae6584f1c | 6 | } |
Mike Fiore |
1:e52ae6584f1c | 7 | |
Mike Fiore |
1:e52ae6584f1c | 8 | |
Mike Fiore |
14:f9a77400b622 | 9 | uint32_t CmdDummy::action(std::vector<std::string> args) { |
Mike Fiore |
1:e52ae6584f1c | 10 | return 0; |
Mike Fiore |
1:e52ae6584f1c | 11 | } |
Mike Fiore |
1:e52ae6584f1c | 12 | |
Mike Fiore |
14:f9a77400b622 | 13 | bool CmdDummy::verify(std::vector<std::string> args) { |
Mike Fiore |
14:f9a77400b622 | 14 | if (args.size() > 1) { |
Mike Fiore |
14:f9a77400b622 | 15 | CommandTerminal::setErrorMessage("Invalid Arguments"); |
Mike Fiore |
14:f9a77400b622 | 16 | return false; |
Mike Fiore |
14:f9a77400b622 | 17 | } |
Mike Fiore |
14:f9a77400b622 | 18 | |
Mike Fiore |
14:f9a77400b622 | 19 | return true; |
Mike Fiore |
14:f9a77400b622 | 20 | } |