A multifunctional and modular Firmware for Multitech's mDot based on ARM mBed provides a widerange of functionality for several Sensors such as MAX44009, BME280, MPU9250, SI1143 and uBlox. It allows you to quickly build a Sensornode that measures specific data with its sensors and sends it via LoRaWAN.

Dependencies:   mDot_LoRa_Sensornode_Flowmeter_impl mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers CommandMessage.h Source File

CommandMessage.h

Go to the documentation of this file.
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_ */