Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mDot_LoRa_Sensornode_Flowmeter_impl mbed-rtos mbed
CommandMessage.h
00001 /** 00002 * @file CommandMessage.h 00003 * 00004 * @author Adrian 00005 * @date 08.06.2016 00006 * 00007 */ 00008 #ifndef APP_COMMANDMESSAGE_H_ 00009 #define APP_COMMANDMESSAGE_H_ 00010 00011 #include <string> 00012 #include <vector> 00013 #include <stdint.h> 00014 00015 class CommandMessage { 00016 public: 00017 CommandMessage(); 00018 virtual ~CommandMessage(); 00019 00020 std::string getCommandString(); 00021 void setCommandString(std::vector<uint8_t> commandMessage); 00022 uint8_t getCommandHex(); 00023 void setCommandHex(uint8_t hexValue); 00024 private: 00025 std::string* command; 00026 uint8_t commandHex; 00027 00028 }; 00029 00030 #endif /* APP_COMMANDMESSAGE_H_ */
Generated on Tue Jul 12 2022 21:35:26 by
1.7.2