Had to fork with a different name, because of some incompatibility issues.
Diff: Command.cpp
- Revision:
- 0:f86732d81998
- Child:
- 2:199ddea804cd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Command.cpp Fri Nov 06 07:09:14 2015 +0000 @@ -0,0 +1,22 @@ +#include "Command.h" + +using namespace IoTF; + +Command::Command(char* command, char* format, char *payload) { + this->command = command; + this->format = format; + this->payload = payload; +} + +char* Command::getPayload() { + return payload; +} + +char* Command::getCommand() { + return command; +} + +char* Command::getFormat() { + return format; +} + \ No newline at end of file