1 #ifndef REMOTE_PROTOCOLS_MOTECONTROL_MSGCONFIRM_H
2 #define REMOTE_PROTOCOLS_MOTECONTROL_MSGCONFIRM_H
4 #include "protocols/BaseMsg.h"
5 #include "protocols/motecontrol/localconstants.h"
6 #include "protocols/motecontrol/MsgRequest.h"
8 namespace remote
{ namespace protocols
{ namespace motecontrol
{
10 class MsgConfirm
: public BaseMsg
13 MsgConfirm(uint8_t command
, result_t result
, status_t status
);
14 MsgConfirm(uint8_t*& buffer
, uint32_t& buflen
);
15 void operator = (const MsgConfirm
& o
);
18 uint8_t* write(uint8_t* buffer
, uint32_t& buflen
);
26 uint8_t* read(uint8_t* buffer
, uint32_t& buflen
);