mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed missing speed level
This commit is contained in:
parent
973890dd3b
commit
9a92dd89f3
2 changed files with 3 additions and 3 deletions
|
@ -173,7 +173,7 @@ class ARQSessionIRS(arq_session.ARQSession):
|
||||||
self.received_bytes = len(self.received_data)
|
self.received_bytes = len(self.received_data)
|
||||||
self.log(f"Received {self.received_bytes}/{self.total_length} bytes")
|
self.log(f"Received {self.received_bytes}/{self.total_length} bytes")
|
||||||
self.event_manager.send_arq_session_progress(
|
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
|
return True
|
||||||
|
|
||||||
|
@ -192,7 +192,7 @@ class ARQSessionIRS(arq_session.ARQSession):
|
||||||
|
|
||||||
self.set_state(IRS_State.BURST_REPLY_SENT)
|
self.set_state(IRS_State.BURST_REPLY_SENT)
|
||||||
self.event_manager.send_arq_session_progress(False, self.id, self.dxcall, self.received_bytes,
|
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(
|
statistics=self.calculate_session_statistics(
|
||||||
self.received_bytes, self.total_length))
|
self.received_bytes, self.total_length))
|
||||||
|
|
||||||
|
|
|
@ -173,7 +173,7 @@ class ARQSessionISS(arq_session.ARQSession):
|
||||||
self.confirmed_bytes = self.expected_byte_offset
|
self.confirmed_bytes = self.expected_byte_offset
|
||||||
|
|
||||||
self.log(f"IRS confirmed {self.confirmed_bytes}/{self.total_length} bytes")
|
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
|
# check if we received an abort flag
|
||||||
if irs_frame["flag"]["ABORT"]:
|
if irs_frame["flag"]["ABORT"]:
|
||||||
|
|
Loading…
Reference in a new issue