The SerialPacket holds the (non generated) header and data of one message to the SVH-Hardware. More...
#include <SVHSerialPacket.h>
Public Member Functions | |
| bool | operator== (const SVHSerialPacket &other) const | 
| Compares two SVHSerialPackets objects.  More... | |
| SVHSerialPacket (size_t _data_length=0, uint8_t _address=SVH_GET_CONTROL_FEEDBACK) | |
| SVHSerialPacket contains the send and received data in raw format (bytewise)  More... | |
Public Attributes | |
| uint8_t | address | 
| Adress denotes the actual function of the package.  More... | |
| std::vector< uint8_t > | data | 
| Payload of the package.  More... | |
| uint8_t | index | 
| Continuosly incremented counter per package.  More... | |
The SerialPacket holds the (non generated) header and data of one message to the SVH-Hardware.
Definition at line 66 of file SVHSerialPacket.h.
      
  | 
  inline | 
SVHSerialPacket contains the send and received data in raw format (bytewise)
| data_length | initial size to set the data length to. NOTE: To deserialize a packet this value HAS TO BE SET! | 
Definition at line 80 of file SVHSerialPacket.h.
      
  | 
  inline | 
Compares two SVHSerialPackets objects.
Definition at line 87 of file SVHSerialPacket.h.
| uint8_t driver_svh::SVHSerialPacket::address | 
Adress denotes the actual function of the package.
Definition at line 72 of file SVHSerialPacket.h.
| std::vector<uint8_t> driver_svh::SVHSerialPacket::data | 
Payload of the package.
Definition at line 74 of file SVHSerialPacket.h.
| uint8_t driver_svh::SVHSerialPacket::index | 
Continuosly incremented counter per package.
Definition at line 70 of file SVHSerialPacket.h.