Repository navigation
AnyTone AT-D868UV support (#51) - #161
Merged
Merged
Conversation
The D868 is the base of the family the D578 driver was built on, and its records are the D578's: channels (0x00-0x33), zones, scan lists, radio IDs, contacts, present bitmaps and the contact ID table's key format sit at the same addresses. The new driver reuses the D578's encoders, window planner and flash-half rule through a small per-model `FamilyModel` (ident, plan limits, contact ID table, air band, blank-slot template, backup prefix); the D578's behaviour is unchanged and its tests pass as before. - Ident `ID868UVE` revision `V102` (hardware V1.1 / firmware 2.x); the older firmware 1.xx has no published map and is refused. - Contact ID table at 0x04340000; call-sign DB at 0x044C0000 / 0x04500000, 200,000 entries, the D578's record format. - No air band: AM channels are skipped with a reason. - Settings: 156 fields for 152 of the 197 CPS controls, generated from the measurement sheet, including DMR APRS, 5-Tone / 2-Tone / DTMF and alarm. The settings reader/writer and call-sign writer are the D578's, parameterised. - New `SK::Digits` field kind for DTMF ID strings (one digit code per byte). Verified on a real D868UV: every channel, zone, scan list and contact, the contact ID table and the 122,433-entry call-sign DB re-encode byte for byte; the hardware ladder passed (identity write, one-byte change shown on screen, full codeplug from the library, band edges 136/174/400/480, settings shown on screen, 200,000-entry call-sign DB read back exact); three settings placed by front-panel changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #51.
Adds the AnyTone AT-D868UV: full codeplug programming (channels, zones, scan lists, talkgroups), 156 settings, and the call-sign database.
How it's built
The D868 is the base of the family the D578 driver was built on, and its records are byte-for-byte the D578's. So the new driver (
radios/anytone_atd868uv/) reuses the D578's encoders, window planner and flash-half carrying through a small per-modelFamilyModel. The D578's behaviour is unchanged.What is the D868's own:
ID868UVE/V102(firmware 2.x only);The shared settings codec gains
SK::Digitsfor DTMF ID strings.Verified on a real D868UV
npm run cipasses locally (962 tests, clippy).🤖 Generated with Claude Code