lora sensnode
Dependencies: libmDot mbed-rtos mbed
Fork of mDot_LoRa_Sensornode by
app/CommandMessage.cpp@0:f2815503561f, 2016-07-06 (annotated)
- Committer:
- mitea1
- Date:
- Wed Jul 06 20:40:36 2016 +0000
- Revision:
- 0:f2815503561f
initial commit;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mitea1 | 0:f2815503561f | 1 | /* |
mitea1 | 0:f2815503561f | 2 | * CommandMessage.cpp |
mitea1 | 0:f2815503561f | 3 | * |
mitea1 | 0:f2815503561f | 4 | * Created on: 08.06.2016 |
mitea1 | 0:f2815503561f | 5 | * Author: Adrian |
mitea1 | 0:f2815503561f | 6 | */ |
mitea1 | 0:f2815503561f | 7 | |
mitea1 | 0:f2815503561f | 8 | #include "CommandMessage.h" |
mitea1 | 0:f2815503561f | 9 | |
mitea1 | 0:f2815503561f | 10 | CommandMessage::CommandMessage() { |
mitea1 | 0:f2815503561f | 11 | // TODO Auto-generated constructor stub |
mitea1 | 0:f2815503561f | 12 | |
mitea1 | 0:f2815503561f | 13 | } |
mitea1 | 0:f2815503561f | 14 | |
mitea1 | 0:f2815503561f | 15 | CommandMessage::~CommandMessage() { |
mitea1 | 0:f2815503561f | 16 | // TODO Auto-generated destructor stub |
mitea1 | 0:f2815503561f | 17 | } |
mitea1 | 0:f2815503561f | 18 | |
mitea1 | 0:f2815503561f | 19 | std::string CommandMessage::getCommandString(){ |
mitea1 | 0:f2815503561f | 20 | return command; |
mitea1 | 0:f2815503561f | 21 | } |
mitea1 | 0:f2815503561f | 22 | |
mitea1 | 0:f2815503561f | 23 | void CommandMessage::setCommandString(std::string commandString){ |
mitea1 | 0:f2815503561f | 24 | this->command = commandString; |
mitea1 | 0:f2815503561f | 25 | } |
mitea1 | 0:f2815503561f | 26 |