Skip to content

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

AnyToneCPS

AnyToneCPS is an open-source, cross-platform CPS (codeplug programming software) for the AnyTone D890UV DMR radio. It talks to the radio directly over its USB serial protocol - reverse-engineered from scratch, byte offset by byte offset, against real hardware - so it does not depend on or wrap the vendor's Windows-only CPS.

Screenshots

Desktop Mobile - channel editor Mobile - radio view
Desktop Mobile channel editor Mobile radio view

Status

Early but functional. The app already covers the large majority of the D890UV's codeplug:

  • Channels, Zones, Scan Lists, Receive Group Lists, Auto Repeater Offsets
  • Roaming Channels, Roaming Zones, GPS Roaming
  • Radio ID list, Talkgroups, Digital Contacts (+ whitelist), Talkgroup whitelist, Master ID, Prefabricated SMS
  • Analog Address Book, AM Air Band, AM Zone, FM Broadcast
  • APRS Settings and APRS Receive Filters
  • Signaling: QDC1200, QDC Address Book, 5Tone, 2Tone, DTMF
  • Hot Keys, State Information
  • Talk Alias Settings, Alarm Settings
  • The full Radio Settings tree (power-on, display, work mode, VOX/BT, STE, AM/FM, key function, GPS/ranging, VFO scan, auto repeater, record, volume/audio, satellite, and more)
  • Encryption Keys (Digital, ARC4, AES)

Read From Radio and Write To Radio both work over USB, independently verified against live USB captures of the vendor CPS rather than assumed from documentation. It is not a complete drop-in replacement for the vendor CPS yet - some fields and radio behaviors are still being confirmed one at a time against real hardware before their write path is trusted.

Project data is saved as a JSON project file, not CSV - CSV import/export exists in the codebase but is currently disabled while the channel data model is being migrated to a stronger typed representation; it is not a supported workflow right now.

Disclaimer

This is a hobby project, built and maintained in spare time - not an official or supported product.

  • Built and tested against the AnyTone D890UV specifically. Other AnyTone models have their own codeplug layout and protocol quirks that are not accounted for here - do not point this app at a different model.
  • Use it at your own risk. Writing to a radio can go wrong: during development, a failed write left a test D890UV showing a programming error and factory-reset. Back up your codeplug with the vendor CPS (or at least do a Read From Radio and save the project file) before writing anything you'd be upset to lose.
  • No support is offered, and this is a solo project, not a collaborative one. Bug reports are welcome, but there's no guaranteed response time and no promise any given one gets fixed - I'll get to things if and when I decide to. The source is here to be read and forked, not to gather contributors.
  • Independent project, not affiliated with, endorsed by, or sponsored by the manufacturer of AnyTone radios. AnyTone and D890UV are trademarks of their respective owner and are used here only to identify the compatible radio. All protocol and codeplug details come from independent reverse engineering against real hardware, not from AnyTone documentation.
  • Provided under the MIT license (see LICENSE): no warranty of any kind, used entirely at your own risk. Portions are derived from third-party MIT-licensed work - see THIRD-PARTY-NOTICES.md.

Platforms

  • Desktop - the primary development target. Tested on Linux (Fedora), including a NativeAOT-published build and Fedora RPM packaging. Should also run via Avalonia on Windows/macOS through dotnet run, but that has not been tested.
  • Android - fully working, including live USB read/write to the radio from the phone itself. Ships as a NativeAOT-published APK.
  • Browser - builds and runs, not yet exercised against real hardware (no USB serial access from a browser sandbox).
  • iOS - project scaffolding exists; no iOS toolchain has been used to build or test it yet.

Install

Download the latest build from the Releases page.

Android: available on Google Play.

Linux desktop - pick one:

  • RPM (Fedora): sudo dnf install ./anytone-cps-<version>-1.fc44.x86_64.rpm, then run anytone-cps.
  • Flatpak: flatpak install --user anytone-cps-<version>.flatpak, then run flatpak run se.cloudsite.AnyToneCPS. Asks for raw USB device access on install, since that's how it reaches the radio.
  • AppImage: chmod +x AnyToneCPS-<version>-x86_64.AppImage, then run it directly - no install step.

Windows/macOS: not packaged yet.

Technology

Built with .NET 10, Avalonia UI, and CommunityToolkit.Mvvm.

Channel labels

Each channel row shows either FM or DMR, derived directly from the channel's Channel Type: A-Analog shows as FM, every other channel type shows as DMR.

A frequency band badge (VHF/UHF) appears next to it whenever the channel's RX frequency falls in a known band. Below that, up to two more badges can appear, derived from the channel's own data: RPTR for a repeater channel, ENC/ARC4 depending on which encryption is in use, SCRA if scrambling is on, or RX for a receive-only channel. Each channel also has a manual "Badge Override" field (Channel Data, up to 4 characters) that replaces whichever of those would otherwise show, for anything the automatic derivation doesn't cover.

Project data

The app saves project data as JSON under the user's application data directory:

AnyToneCPS/Codeplug_D890UV.dat

Settings are saved under the user's app data directory as two separate files:

AnyToneCPS/settings.json
AnyToneCPS/recent-project.json

settings.json holds app-level preferences (theme, export folder, etc.); recent-project.json holds only the last-opened project's location.

Paths and naming are still provisional and are likely to change as model and export support solidify.

License

MIT - see LICENSE. Third-party notices: see THIRD-PARTY-NOTICES.md.

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages