Initial commit
[remote/remote-mci.git] / protocols / diku_host_server / MsgMoteAddresses.h
blob599d1dc0360c3d30ef277646d5a44c77a3827ca2
1 #ifndef MSGMOTEADDRESSES_H_
2 #define MSGMOTEADDRESSES_H_
4 #include "BaseMsg.h"
6 namespace remote { namespace protocols { namespace diku_host_server {
8 class MsgMoteAddresses : public BaseMsg
10 public:
11 MsgMoteAddresses(uint16_t tosAddress, uint64_t macAddress);
12 MsgMoteAddresses(uint8_t*& buffer, uint32_t& buflen);
13 ~MsgMoteAddresses();
14 uint32_t getLength();
15 uint8_t* write(uint8_t* buffer, uint32_t& buflen);
16 void print(_IO_FILE* s);
18 uint16_t getTosAddress();
19 uint64_t getMacAddress();
20 protected:
21 uint8_t* read(uint8_t* buffer, uint32_t& buflen);
23 uint16_t tosAddress;
24 uint64_t macAddress;
27 }}}
29 #endif /*MSGMOTEADDRESSES_H_*/