Class ParseDeviceStatusData

Class Documentation

class ParseDeviceStatusData

Parser to read the device status of a tcp sequence.

Public Functions

ParseDeviceStatusData()

Constructor of the parser.

bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::DeviceStatus &device_status) const

Parses a tcp sequence to read the device status of the sensor.

Parameters:
  • buffer – The incoming tcp sequence.

  • device_status – Reference to the device status, which will be written while parsing.

Returns:

If parsing was successful.