From db00aa221d5832aade2e81392c6625d9dfb93222 Mon Sep 17 00:00:00 2001 From: DJ2LS Date: Sun, 5 May 2024 11:52:05 +0200 Subject: [PATCH] fixed wrong mode for failed transmission ack --- freedata_server/arq_session_irs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freedata_server/arq_session_irs.py b/freedata_server/arq_session_irs.py index 44cbd6b3..2803f7f3 100644 --- a/freedata_server/arq_session_irs.py +++ b/freedata_server/arq_session_irs.py @@ -213,7 +213,7 @@ class ARQSessionIRS(arq_session.ARQSession): self.speed_level, flag_final=True, flag_checksum=False) - self.transmit_frame(ack, mode=FREEDV_MODE.signalling) + self.transmit_frame(ack, mode=FREEDV_MODE.signalling_ack) self.log("CRC fail at the end of transmission!") return self.transmission_failed() @@ -272,7 +272,7 @@ class ARQSessionIRS(arq_session.ARQSession): def send_stop_ack(self, stop_frame): stop_ack = self.frame_factory.build_arq_stop_ack(self.id) - self.launch_transmit_and_wait(stop_ack, self.TIMEOUT_CONNECT, mode=FREEDV_MODE.signalling) + self.launch_transmit_and_wait(stop_ack, self.TIMEOUT_CONNECT, mode=FREEDV_MODE.signalling_ack) self.set_state(IRS_State.ABORTED) self.states.setARQ(False) self.event_manager.send_arq_session_finished(