staticconstCommand_tREPLY_REJECTED=MAKE_COMMAND_ID(0xD1);//!< Reply indicating that the current command was rejected, par1 should contain the error code
/**
* This is the size of a message as it is seen by the MessageQueue
*/
staticconstsize_tCOMMAND_MESSAGE_SIZE=HEADER_SIZE
+sizeof(Command_t)+2*sizeof(uint32_t);
/**
* Default Constructor, does not initialize anything.
*
* This constructor should be used when receiving a Message, as the content is filled by the MessageQueue.
*/
CommandMessage();
/**
* This constructor creates a new message with all message content initialized
*
* @param command The DeviceHandlerCommand_t that will be sent
* @param parameter1 The first parameter
* @param parameter2 The second parameter
*/
CommandMessage(Command_tcommand,
uint32_tparameter1,uint32_tparameter2);
/**
* Default Destructor
*/
virtual~CommandMessage(){
}
/**
* Read the DeviceHandlerCommand_t that is stored in the message, usually used after receiving