mDot AT-Firmware for testing

Dependencies:   MTS-Serial libmDot-mbed5

Fork of Dot-AT-Firmware by MultiTech

CommandTerminal/CmdDummy.cpp

Committer:
Fran6
Date:
2017-08-14
Revision:
16:3b1d46c1db11
Parent:
14:f9a77400b622

File content as of revision 16:3b1d46c1db11:

#include "CmdDummy.h"

CmdDummy::CmdDummy(const char* name, const char* txt, const char* dsc, const char* usage) :
    Command(name, txt, dsc, usage) {

}


uint32_t CmdDummy::action(std::vector<std::string> args) {
    return 0;
}

bool CmdDummy::verify(std::vector<std::string> args) {
    if (args.size() > 1) {
        CommandTerminal::setErrorMessage("Invalid Arguments");
        return false;
    }

    return true;
}