int
for errors m_Error
But that seems to be from the int as a bool old tw days. So this should either be made a bool. Or imo better use different values for different errors. And then change this signature to int
C++
bool Error() const { return m_Error; }
The packer can fail in multiple places. If it...PACKER_BUFFER_SIZE (1024 * 2)
So when the ...PACKER_BUFFER_SIZE
is set to a too big value.CPacker
, we can use a dynamic size buffer2048
bytes while the max packet size is 1400
those messages should be dropped anyways?1111111111
-> 1023
PACKER_BUFFER_SIZE
is way too bigCPacker
is simply used as a byte buffer in the teehistorian tests. When the number of UUIDs is increased (in the future or in downstream projects) the tests will start to fail due to the buffer size being limited to 2048 bytes. This is fixed by using an std::vector
instead.
Closes #6526.