Repository navigation
Add the Baofeng UV-6R as an Experimental model (#168) - #186
Merged
Merged
Conversation
A dual-band handheld on a driver of its own (radios/baofeng_uv6r), ported from CHIRP's uv6r.py on baofeng_common.py. Not a UV-5R variant: no read is preceded by an ack, the 8-byte ident follows the map, and the map runs 0x0000-0x2000 with the model named at 0x1FD0. The image is CHIRP's .img body (0x2000 + ident). No shared code changed: the driver calls the UV-5R's existing read_block and tone helpers, so the UV-5R and UV-5X3 are untouched. - Writes only the 0x10 blocks that changed, and only inside the ranges CHIRP's upload would write; anything else is refused before a byte is sent. Backup first, model-string gate, read-back after. - 80 settings: all 38 of the manual's settings menus, including the VFO tones, VFO BCL and band that CHIRP does not offer, plus the PTT-ID and ANI codes, DTMF group code, power-on message, band limits, both VFOs and the FM preset. Service squelch calibration and read-only text withheld. - Checked against Baofeng's own programmer, UV6R.exe 1.10, driven in a VM against a mock radio; it speaks CHIRP's handshake. The app follows it where it differs from CHIRP: Tone Burst 2100 Hz stored as 4, DTMF `*` as 0x0E, the menus' real ranges, new-channel bytes 01 FF, a VFO frequency sets its band. The programmer then read the app's image back as written. - The programmer's reader disagrees with its writer on DTMF A-D and #, so PTT-ID and ANI codes are digits and `*` only; it also shows VFO tones /100 and the VFO step blank. Unverified which the radio follows. - CHIRP oracle (scripts/baofeng_uv6r/chirp_oracle.py): MATCH for channels, the radio-authored anchor's memories and settings, and a pass setting every field, apart from the listed vendor departures. Mock-radio tests. - Not on hardware: nobody here owns a UV-6R, so the hardware ladder is skipped. docs/radios/baofeng-uv6r.md, README rows, guide row + PDF. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review fixes for the UV-6R settings encoder: - A value the encoder will not write is now named in the report (the settings-write note, the program report's warnings) instead of being dropped silently. A PTT-ID or ANI code with A-D or # is the likely one: their labels now say "(0-9, *)". - New band limits are kept only if each band's lower edge is below its upper and both VFOs (the profile's frequency, else the radio's) still lie inside them; otherwise the radio keeps its own limits and the report says why. - Docs: Tone Burst Off/1000/1450/1750 are stored 0-3 (not 0-2), 2100 as 4. CHIRP oracle still MATCH; npm run ci passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Dec 6, 2026
Merged
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.
Adds the Baofeng UV-6R from tracking issue #168 as an Experimental model, on a driver of its own (
src-tauri/src/radios/baofeng_uv6r), ported from CHIRP'suv6r.pyonbaofeng_common.py. Full evidence: docs/radios/baofeng-uv6r.md.What's in it
baofeng_uv5r::read_blockand the tone helpers as they are, so the UV-5R and UV-5X3 are untouched.Verified
*, the menu ranges, new-channel01 FF, and the VFO band set from the frequency.npm run cipasses locally.Not verified
No hardware. Nobody here owns a UV-6R, so the ladder was skipped.
Baofeng's programmer reads back differently from how it writes in three places:
#. Codes are therefore limited to digits and*.Which one the radio follows is unknown.
🤖 Generated with Claude Code