Skip to content

AnyTone D578/D890: display switches as Off/On toggles - #162

Merged
ww8l merged 1 commit into
mainfrom
anytone-display-toggles
Nov 26, 2026
Merged

ww8l merged 1 commit into
mainfrom
anytone-display-toggles

Conversation

@ww8l

@ww8l ww8l commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Six AnyTone display settings showed as raw 0–255 number boxes because the dmr-tools descriptor publishes them as full-byte integers. The AnyTone CPS shows each one as an Off/On dropdown (Optional Setting > Display). They're now SK::Bool with a boolean schema field.

Setting D578 D890
Show volume bar ✓ ✓
Show Clock ✓ ✓
Show menu separator ✓ ✓
Keep last caller ✓ ✓
Show last caller on boot ✓ ✓
Enable call-end notification ✓ —

Checked at the desk: every real image on hand (6 D578, 4 D890) stores 0 or 1 at each byte. The D578 generator's anchor check passes, and the regenerated D578 table and schema match these files exactly. The D890 table matches its updated generator. Profiles saved with the old integer still write correctly, because as_bool() accepts 0/1.

Not checked: none of these has been confirmed on either radio's own screen.

The D868 needed no changes. Its table came from the CPS, so these were already toggles there.

🤖 Generated with Claude Code

Six display settings were typed as raw 0-255 integers because the
dmr-tools descriptor publishes them as full-byte ints, while the CPS
shows each as an Off/On dropdown (Optional Setting > Display): Show
volume bar, Show Clock, Show menu separator, Keep last caller, Show last
caller on boot, and (D578 only) Enable call-end notification.

They now encode as SK::Bool (0/1) with a boolean schema field. Every
real image on hand (6 D578, 4 D890) stores 0 or 1 at each byte, and
as_bool() still accepts a profile's previously saved integer.
Not yet confirmed on either radio's own screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ww8l
ww8l merged commit 2e78824 into main Nov 26, 2026
3 checks passed
@ww8l
ww8l deleted the anytone-display-toggles branch November 26, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant