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/RxCmd.h

Committer:
WGorniak
Date:
2015-10-01
Revision:
2:8d8295a51f68

File content as of revision 2:8d8295a51f68:

#ifndef _RXCMD_H_
#define _RXCMD_H_

#include "RadioCmd.h"
#include "dbg.h"

#include <string>


class RxCmd : public RadioCmd
{
    public:
        RxCmd(Settings* radioSettings);
        virtual ~RxCmd();
        
        static string cmd();
        static string desc();

        virtual bool execute(list<string> args);
        virtual Cmd::Status process();
        virtual std::string getResponse(void);

    private:
        RadioContex* p;
};
#endif