mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed wrong mode for failed transmission ack
This commit is contained in:
parent
7040b06fbb
commit
db00aa221d
1 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue