diff --git a/ChangeLog b/ChangeLog index a2476f98..5a631371 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ # ChangeLog +0.8.2 (2024-12-18) + * Fix crc issue + 0.8.1 (2024-06-28) * Add a v4l2 workaround so broken camera handles are disqualified from scan diff --git a/prusa/link/__init__.py b/prusa/link/__init__.py index 866046c1..8b114222 100644 --- a/prusa/link/__init__.py +++ b/prusa/link/__init__.py @@ -5,8 +5,8 @@ __application__ = "PrusaLink" __vendor__ = "Prusa Research" -__version__ = "0.8.1" -__date__ = "28 Jun 2024" +__version__ = "0.8.2" +__date__ = "18 Dec 2024" __copyright__ = "(c) 2024 Prusa 3D" __author_name__ = "PrusaLink Developers" __author_email__ = "link@prusa3d.cz" diff --git a/prusa/link/printer_adapter/structures/regular_expressions.py b/prusa/link/printer_adapter/structures/regular_expressions.py index f71d5c8d..bbf0ccd5 100644 --- a/prusa/link/printer_adapter/structures/regular_expressions.py +++ b/prusa/link/printer_adapter/structures/regular_expressions.py @@ -156,21 +156,21 @@ r"(Thermal Model settings:)$") MMU_MAJOR_REGEX = re.compile( - r"^echo:MMU[23]:[0-9a-fA-F]+)\*..\.$") + r"^echo:MMU[23]:[0-9a-fA-F]+)\*[0-9a-f]{1,2}\.$") MMU_MINOR_REGEX = re.compile( - r"^echo:MMU[23]:[0-9a-fA-F]+)\*..\.$") + r"^echo:MMU[23]:[0-9a-fA-F]+)\*[0-9a-f]{1,2}\.$") MMU_REVISION_REGEX = re.compile( - r"^echo:MMU[23]:[0-9a-fA-F]+)\*..\.$") + r"^echo:MMU[23]:[0-9a-fA-F]+)\*[0-9a-f]{1,2}\.$") MMU_BUILD_REGEX = re.compile( - r"^echo:MMU[23]:[0-9a-fA-F]+)\*..\.$") + r"^echo:MMU[23]:[0-9a-fA-F]+)\*[0-9a-f]{1,2}\.$") MMU_SLOT_REGEX = re.compile( r"^echo:MMU2:MMU2tool=(?P\d{1,2})$") # This can report an error or a command in progress, # we don't know before parsing MMU_Q0_RESPONSE_REGEX = re.compile( r"^echo:MMU[23]:<(?P[A-Z][0-9a-fA-F]+) " - r"(?P[EFP]([0-9a-fA-F]{0,4}))\*..\.$") -MMU_Q0_REGEX = re.compile(r"^echo:MMU[23]:>Q0\*..\.$") + r"(?P[EFP]([0-9a-fA-F]{0,4}))\*[0-9a-f]{1,2}\.$") +MMU_Q0_REGEX = re.compile(r"^echo:MMU[23]:>Q0\*[0-9a-f]{1,2}\.$") MMU_PROGRESS_REGEX = re.compile( r"echo:MMU2:(?P"