Greetings,
A new daily build of CHIRP is available. This includes changes made directly to the tree yesterday, and may include additional features, bug fixes, and/or bugs. If you are interested in trying it, grab it from the following location:
http://trac.chirp.danplanet.com/chirp_daily/daily-20160816
A list of the changes included in this build (since the last daily) follows:
Changes for Build #424 [Jim Unroe rock.unroe@gmail.com] [UV-5R] Add Support for UV-6 with Longer 12 byte Ident
The currently shipping Baofeng UV-6 responds to the clone request by returning a 12 byte "ident". The original model replies with an 8 byte "ident" (the same as all other radios currently supported by the uv5r.py driver).
The current CHIRP driver appends the radio's memory image after the "ident" so the settings structures are all offset by 8 bytes to accomodate these extra bytes at the beginning of the image. So there must alway be exactly 8 bytes prepended to the actual memory map data.
Original UV-6 ident: AA 36 74 04 00 05 20 DD
New UV-6 ident: AA 01 01 36 01 74 01 04 00 05 20 DD
This patch works around the issue by doing the following...
1. The "ident" is now read one byte at a time until the last byte ("\xdd") is received. This make it compatible with an 8 byte and 12 byte "ident". 2. The 4 bytes of the ident containing "\x01" are discarded to shorten the ident to the standard 8 byte length and to put the "ident" in the same format as the "ident" of the other radio models.
Related to Bug #3063