Elmo Terminal provides functionality to test Lora radio and access SX1272 chip registers delivered with Elmo board. This firmware allows the user to control the LoRa radio parameters (eg. frequency, bandwidth, spreading factor etc.) by entering console commands via serial terminal. Application also contains "Ping-Pong" and data transmission functionalities.

Dependencies:   SX1272lib mbed

Fork of Elmo-Terminal by Michal Leksinski

Commands/Cmd.cpp

Committer:
WGorniak
Date:
2015-10-22
Revision:
12:26045241f50f
Parent:
2:8d8295a51f68

File content as of revision 12:26045241f50f:

#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
}