diff --git a/freedata_server/arq_session_irs.py b/freedata_server/arq_session_irs.py index 6de95a2f..98c57ea9 100644 --- a/freedata_server/arq_session_irs.py +++ b/freedata_server/arq_session_irs.py @@ -173,7 +173,7 @@ class ARQSessionIRS(arq_session.ARQSession): self.received_bytes = len(self.received_data) self.log(f"Received {self.received_bytes}/{self.total_length} bytes") self.event_manager.send_arq_session_progress( - False, self.id, self.dxcall, self.received_bytes, self.total_length, self.state.name, self.calculate_session_statistics(self.received_bytes, self.total_length)) + False, self.id, self.dxcall, self.received_bytes, self.total_length, self.state.name, self.speed_level, self.calculate_session_statistics(self.received_bytes, self.total_length)) return True @@ -192,7 +192,7 @@ class ARQSessionIRS(arq_session.ARQSession): self.set_state(IRS_State.BURST_REPLY_SENT) self.event_manager.send_arq_session_progress(False, self.id, self.dxcall, self.received_bytes, - self.total_length, self.state.name, + self.total_length, self.state.name, self.speed_level, statistics=self.calculate_session_statistics( self.received_bytes, self.total_length)) diff --git a/freedata_server/arq_session_iss.py b/freedata_server/arq_session_iss.py index ec7edaec..2837a3cb 100644 --- a/freedata_server/arq_session_iss.py +++ b/freedata_server/arq_session_iss.py @@ -173,7 +173,7 @@ class ARQSessionISS(arq_session.ARQSession): self.confirmed_bytes = self.expected_byte_offset self.log(f"IRS confirmed {self.confirmed_bytes}/{self.total_length} bytes") - self.event_manager.send_arq_session_progress(True, self.id, self.dxcall, self.confirmed_bytes, self.total_length, self.state.name, statistics=self.calculate_session_statistics(self.confirmed_bytes, self.total_length)) + self.event_manager.send_arq_session_progress(True, self.id, self.dxcall, self.confirmed_bytes, self.total_length, self.state.name, self.speed_level, statistics=self.calculate_session_statistics(self.confirmed_bytes, self.total_length)) # check if we received an abort flag if irs_frame["flag"]["ABORT"]: