Class ParseFirmwareVersion
Defined in File ParseFirmwareVersion.h
Class Documentation
-
class ParseFirmwareVersion
Parser to read the firmware version from a tcp sequence.
Public Functions
-
ParseFirmwareVersion()
Constructor of the parser.
-
bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::FirmwareVersion &firmware_version) const
Parses a tcp sequence to read the firmware version of the sensor.
- Parameters:
buffer – The incoming data sequence.
firmware_version – Reference to the parsed firmware version.
- Returns:
If parsing the firmware version was successful.
-
std::string readFirmwareVersion(std::vector<uint8_t>::const_iterator data_ptr) const
-
ParseFirmwareVersion()