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/TxCmd.h
- Committer:
- WGorniak
- Date:
- 2015-10-01
- Revision:
- 6:453b018a9ba0
- Parent:
- 2:8d8295a51f68
File content as of revision 6:453b018a9ba0:
#ifndef _TXCMD_H_ #define _TXCMD_H_ #include "RadioCmd.h" #include "Settings.h" #include "dbg.h" #include <string> class TxCmd : public RadioCmd { public: TxCmd(Settings* radioSettings); virtual ~TxCmd(); virtual bool execute(std::list<std::string> args); virtual Cmd::Status process(); virtual std::string getResponse(void); static string cmd(); static string desc(); private: std::string txBuffer; uint16_t msgSize; uint16_t delay; Settings* settings_; }; #endif