mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-24 03:37:12 +02:00
parent
8238e90903
commit
93b3f02b24
1 changed files with 2 additions and 0 deletions
|
@ -619,6 +619,8 @@ class InverterTransaction:
|
||||||
self.time_rx = end_frame.time_rx
|
self.time_rx = end_frame.time_rx
|
||||||
tr_len = end_frame.seq - 0x80
|
tr_len = end_frame.seq - 0x80
|
||||||
except StopIteration:
|
except StopIteration:
|
||||||
|
seq_last = max(frames, key=lambda frame:frame.seq).seq
|
||||||
|
self.__retransmit_frame(seq_last + 1)
|
||||||
raise BufferError(f'Missing packet: Last packet {len(self.scratch)}')
|
raise BufferError(f'Missing packet: Last packet {len(self.scratch)}')
|
||||||
|
|
||||||
# Rebuild payload from unordered frames
|
# Rebuild payload from unordered frames
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue