dev
Dependencies: MTS-Serial libmDot-mbed5
Fork of Dot-AT-Firmware by
CmdDummy.cpp
00001 #include "CmdDummy.h" 00002 00003 CmdDummy::CmdDummy(const char* name, const char* txt, const char* dsc, const char* usage) : 00004 Command(name, txt, dsc, usage) { 00005 00006 } 00007 00008 00009 uint32_t CmdDummy::action(std::vector<std::string> args) { 00010 return 0; 00011 } 00012 00013 bool CmdDummy::verify(std::vector<std::string> args) { 00014 if (args.size() > 1) { 00015 CommandTerminal::setErrorMessage("Invalid Arguments"); 00016 return false; 00017 } 00018 00019 return true; 00020 }
Generated on Tue Jul 12 2022 13:49:30 by 1.7.2