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

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

File content as of revision 2:8d8295a51f68:

#ifndef _HELPCMD_H_
#define _HELPCMD_H_

#include "Cmd.h"

class Settings;

/** Help Command
 */
class HelpCmd : public Cmd
{
    public:
        HelpCmd(Settings* settings);
        virtual ~HelpCmd();

        static string cmd();
        static string desc();

        virtual bool execute(list<string> args);
        virtual string getResponse(void);

    private:
        /** Help printer
         *
         * @param cmds list of commands for which help will be shown.
         *
         * @see CmdList
         */
        template <typename cmds>
        static void help();

        Settings* settings_;
};

#endif // _GETVARIABLECMD_H_