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

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

File content as of revision 6:453b018a9ba0:

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