Elmo Terminal provides functionality to test Lora radio and access SX1272 chip registers delivered with Elmo board. Also contains example ping-pong application.

Dependencies:   SX1272lib mbed-src

Commands/Cmd.cpp

Committer:
WGorniak
Date:
2015-10-01
Revision:
6:453b018a9ba0
Parent:
2:8d8295a51f68

File content as of revision 6:453b018a9ba0:

#include "Cmd.h"

Cmd::Cmd():
    queryable_(false)
{
}

Cmd::~Cmd()
{
}

bool Cmd::queryable(void)
{
    return queryable_;
}

Cmd::Status Cmd::process()
{
    return EXIT;
}

string Cmd::cmd()
{
    return "-undefined-cmd-"; // please define cmd() in inherited class
}

string Cmd::desc()
{
    return "-undefined-desc-"; // please define desc() in inherited class
}