27 #ifndef SVHFIRMWAREINFO_H 28 #define SVHFIRMWAREINFO_H 59 std::vector<int8_t>
text(48);
60 std::vector<int8_t>
svh(4);
61 svh.insert(svh.begin(),data.
svh.begin(),data.
svh.end());
62 text.insert(text.begin(),data.
text.begin(),data.
text.end());
77 std::vector<uint8_t>
text(48);
78 std::vector<uint8_t>
svh(4);
86 data.
text = std::string(text.begin(),text.end());
87 data.
svh = std::string(svh.begin(),svh.end());
107 #endif // SVHFIRMWAREINFO_H bool operator==(const SVHFirmwareInfo &other) const
Compares two SVHFirmware objects.
uint16_t version_minor
Minor version number.
std::string svh
4 bytes identifier
icl_comm::ArrayBuilder & operator>>(icl_comm::ArrayBuilder &ab, SVHControlCommand &data)
overload stream operator to easily deserialize control commands for one channel
ThreadStream & endl(ThreadStream &stream)
The SVHFirmwareInfo holds the data of a firmware response from the hardware.
icl_comm::ArrayBuilder & operator<<(icl_comm::ArrayBuilder &ab, const SVHControlCommand &data)
uint16_t version_major
Major version number.
std::string text
48 bytes! of text (free)