From ec6362cb8ee73c01ccf3a7e1efea5c734a712398 Mon Sep 17 00:00:00 2001 From: Brian Harrison Date: Thu, 23 Apr 2026 12:45:59 -0400 Subject: [PATCH] fix(protocol): include terminator in waveform stream downloads --- minimateplus/client.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/minimateplus/client.py b/minimateplus/client.py index 04887ad..2810afd 100644 --- a/minimateplus/client.py +++ b/minimateplus/client.py @@ -604,7 +604,8 @@ class MiniMateClient: "get_events: 5A full waveform download for key=%s", cur_key.hex() ) 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: a5_ok = True @@ -620,7 +621,8 @@ class MiniMateClient: "get_events: 5A metadata-only download for key=%s", cur_key.hex() ) 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: a5_ok = True