diff --git a/devices/clients/SDP_statistics.py b/devices/clients/SDP_statistics.py index b8417ef58876b2fbad65bdf0771a830237233ae0..fbfc0e38d1ef1d845ef4bd63a63e2d0844be29eb 100644 --- a/devices/clients/SDP_statistics.py +++ b/devices/clients/SDP_statistics.py @@ -36,7 +36,7 @@ class StatisticsPacket(object): def expected_size(self) -> int: """ The size this packet should be (header + payload), according to the header. """ - return 78 + self.nof_statistics_per_packet * self.nof_bytes_per_statistic + return 32 + self.nof_statistics_per_packet * self.nof_bytes_per_statistic @property def marker(self) -> str: