fix(protocol): include terminator in waveform stream downloads

This commit is contained in:
2026-04-23 12:45:59 -04:00
parent 3eeafd24aa
commit ec6362cb8e
+4 -2
View File
@@ -604,7 +604,8 @@ class MiniMateClient:
"get_events: 5A full waveform download for key=%s", cur_key.hex() "get_events: 5A full waveform download for key=%s", cur_key.hex()
) )
a5_frames = proto.read_bulk_waveform_stream( a5_frames = proto.read_bulk_waveform_stream(
cur_key, stop_after_metadata=False, max_chunks=128 cur_key, stop_after_metadata=False, max_chunks=128,
include_terminator=True,
) )
if a5_frames: if a5_frames:
a5_ok = True a5_ok = True
@@ -620,7 +621,8 @@ class MiniMateClient:
"get_events: 5A metadata-only download for key=%s", cur_key.hex() "get_events: 5A metadata-only download for key=%s", cur_key.hex()
) )
a5_frames = proto.read_bulk_waveform_stream( a5_frames = proto.read_bulk_waveform_stream(
cur_key, stop_after_metadata=True cur_key, stop_after_metadata=True,
include_terminator=True,
) )
if a5_frames: if a5_frames:
a5_ok = True a5_ok = True