This commit is contained in:
2026-03-02 00:25:40 +01:00
parent e7d6d288a8
commit b665cb5def
32 changed files with 3287 additions and 953 deletions

View File

@@ -1,10 +1,11 @@
# core/commands/mkdir.py
# core/commands/confirm.py
from core.connection import BuzzerError
def execute(conn):
"""Confirmt die aktuelle Firmware."""
"""Bestätigt die aktuell laufende Firmware per Binary-Protokoll."""
try:
conn.send_command(f"confirm")
print(f"✅ Firmware erfolgreich bestätigt.")
conn.confirm_firmware()
print("✅ Firmware erfolgreich bestätigt.")
except BuzzerError as e:
print(f"❌ Fehler beim Bestätigen der Firmware: {e}")