Beta models: full function once added, only a note in the add-device form

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
GivouandClaude Opus 5.5 committed 2026-11-02 16:50:50 +01:00
1 parent 86ee492ec3
commit f7d5e22bb0
9 files changed
+28 -86

No files matched your search

-4
View File
@@ -251,10 +251,6 @@ class Model:
MODELS = {"204": Model("DSP 204", 2, 4), "408": Model("DSP 408", 4, 8),
"206": Model("DSP 206", 2, 6, beta=True), "408fir": Model("FIR DSP 408", 4, 8, beta=True)}
# what a DSP may be sent while its model is read-only (see Device.read_only): connecting and looking
READ_COMMANDS = frozenset((CMD_HANDSHAKE, CMD_LOGOUT, CMD_STATUS, CMD_DEVICE_INFO, CMD_INIT_14, CMD_INIT_22,
CMD_CONFIG_REQUEST, CMD_PRESET_NAME, CMD_PRESET_COUNT, CMD_UNLOCK, CMD_METER))
def detect_model(info: str) -> str | None:
"""Beta models are never detected, and a FIR device must not pass as a plain DSP 408."""