s-net-Tools
SnetPlatformRequest.h
Go to the documentation of this file.
1 
22 #ifndef SNET_PLATFORM_REQUEST_H
23 #define SNET_PLATFORM_REQUEST_H
24 
25 #include <vector>
26 #include "SnetAppMessage.h"
27 
29 public:
30  SnetPlatformRequest(uint16_t a_UnicastSSA): SnetAppMessage(0x10, 0x10, 0x04, 0x4000, a_UnicastSSA, false) {}
31 
32  // Serializer
33  std::vector<unsigned char> Serialize() const {
34  std::vector<unsigned char> l_Buffer(SnetAppMessage::Serialize());
35  l_Buffer.emplace_back(0x06);
36  l_Buffer.emplace_back(0x02);
37  l_Buffer.emplace_back(0x00);
38  l_Buffer.emplace_back(0x80);
39  l_Buffer.emplace_back(0x02);
40  l_Buffer.emplace_back(0x01);
41  return l_Buffer;
42  }
43 };
44 
45 #endif // SNET_PLATFORM_REQUEST_H
Copyright (c) 2016, Florian Evers, florian-evers@gmx.de All rights reserved.
std::vector< unsigned char > Serialize() const
std::vector< unsigned char > Serialize() const
SnetPlatformRequest(uint16_t a_UnicastSSA)