[chirp_devel] [bj-uv55] patch for initial support - need help from UV-5R experts/testers

Jens J.
Sun Nov 10 17:08:04 PST 2013


[bj-uv55] initial channel editing support #1201
patch attached.

This is definately a UV-5R clone (in terms of architecture), but in a mobile form-factor. Therefore, there are several differences in terms of offsets of settings locations, id/band-range, etc in the memory map.

I have made a few changes to the uv5r.py driver which I am hoping wont impact other covered models, but ask for some help in testing, as I do not have an UV-5R (or similar) to do regression tests against.

Also, I'm trying to understand what to modify so that when opening a radio image file, it will recognize this image as being BJ-UV55.

I assume this has something to do with header bytes, but it wasnt so clear to me reading over the code.

I have also tried to simplify a few areas with list comprehension, like:


-    if "BFB" not in radio_version and "82" not in radio_version and "USA" not in radio_version:
+    if not any(type in radio_version for type in ["BFB", "82", "USA", "BJ55"]):

however, it appears to me these should be simplified further to something like:
if radio._basetype not in radio_version:
// make better use of _basetype!

-Jens
AF5MI
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bjuv55-initial.patch
Type: application/octet-stream
Size: 8231 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20131110/ddd092bf/attachment-0001.obj 


More information about the chirp_devel mailing list