Repository navigation
Add the BTECH UV-5X3 and MTC UV-5R-3 as Experimental models (#168) - #185
Merged
Merged
Conversation
Two tri-band handhelds on a driver of their own (radios/btech_uv5x3, with a thin radios/mtc_uv5r3), ported from CHIRP's uv5x3.py on baofeng_common.py. Not a UV-5R variant: the identify reply is 14 bytes, the map uses radio memory the UV-5R image leaves out (0x1E00-0x1EC0), and the settings sit at UV-5R addresses with other meanings. The image is CHIRP's .img body (0x2000 + ident). The only change to shared code is that baofeng_uv5r::read_block is pub(crate); the UV-5R's behaviour is unchanged. - Writes only the 0x10 blocks that changed, and only inside the ranges CHIRP's upload would write to that radio (which depend on the vendor and the "dropped byte" firmware); anything else is refused before a byte is sent. Backup first, firmware-string gate, read-back after. - 101 settings, generated from CHIRP's get_settings(): 34 of the manual's 38 settings menus (the VFO tone menus are not in CHIRP) plus the DTMF, ANI, power-on message, band-limit, VFO and FM-preset settings. Service squelch calibration, read-only text and the saved VFOs are withheld. - No vendor programmer exists for the UV-5X3 (BTECH points to CHIRP; Baofeng UK's "UV-5R III" CPS is the UV-5R protocol). The BTECH manual is the second source, and the app follows it over CHIRP: PTT-ID codes up to 5 digits, VFO offset up to 69.990 MHz. Also: the MTC's VHF limit range is 136-174 (CHIRP's `or` bug gives 130-179), the PTT-ID delay is read as stored. The MTC UV-5R-3 was not checked against any MTC programmer. - Anchored on CHIRP's test image as the radio wrote it, before CHIRP hand-edited it in 3ccfa651; committed as testdata. - CHIRP oracle (scripts/btech_uv5x3/chirp_oracle.py): MATCH for both classes — channels, the anchor's memories and settings, and a pass setting all 101 fields, byte for byte. Mock-radio tests for the session. - Not on hardware: nobody here owns either radio, so the hardware ladder is skipped. docs/radios/btech-uv5x3.md, README rows, guide row + PDF. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 of 26 tasks
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.
Part of #168: two Experimental models on a new driver,
radios/btech_uv5x3, ported from CHIRP'suv5x3.pyonbaofeng_common.py.baofeng_uv5r::read_blockis nowpub(crate); the hardware-verified UV-5R's behaviour is unchanged.docs/radios/btech-uv5x3.md, README rows, and the user-guide row with the PDF rebuilt.Not tested on any radio. Nobody here owns one, so the hardware ladder is skipped and both models ship Experimental.
🤖 Generated with Claude Code