<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt"><div><span>sample radio image attached</span></div><div class="yahoo_quoted" style="display: block;"> <br> <br> <div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Sunday, November 10, 2013 7:41 PM, Jim Unroe <rock.unroe@gmail.com> wrote:<br> </font> </div> <div class="y_msg_container"><div id="yiv1133289820"><div><div dir="ltr"><div class="yiv1133289820yqt9194804261" id="yiv1133289820yqt14332"><div class="yiv1133289820gmail_extra"><div class="yiv1133289820gmail_quote">On Sun, Nov 10, 2013 at 8:08 PM, Jens J. <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:kd4tjx@yahoo.com"
target="_blank" href="mailto:kd4tjx@yahoo.com">kd4tjx@yahoo.com</a>></span> wrote:<br clear="none"><blockquote class="yiv1133289820gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
[bj-uv55] initial channel editing support #1201<br clear="none">
patch attached.<br clear="none">
<br clear="none">
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.<br clear="none">
<br clear="none">
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.<br clear="none">
<br clear="none">
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.<br clear="none">
<br clear="none">
I assume this has something to do with header bytes, but it wasnt so clear to me reading over the code.<br clear="none">
<br clear="none">
I have also tried to simplify a few areas with list comprehension, like:<br clear="none">
<br clear="none">
<br clear="none">
- if "BFB" not in radio_version and "82" not in radio_version and "USA" not in radio_version:<br clear="none">
+ if not any(type in radio_version for type in ["BFB", "82", "USA", "BJ55"]):<br clear="none">
<br clear="none">
however, it appears to me these should be simplified further to something like:<br clear="none">
if radio._basetype not in radio_version:<br clear="none">
// make better use of _basetype!<br clear="none">
<br clear="none">
-Jens<br clear="none">
AF5MI<br clear="none"></blockquote></div><br clear="none"></div></div><div class="yiv1133289820gmail_extra">Jens,<br clear="none"></div><div class="yiv1133289820gmail_extra">Email an .img file from the BJ55 for me to look at. Thanks<br clear="none"></div><div class="yiv1133289820gmail_extra"></div><div class="yiv1133289820gmail_extra">
Jim KC9HI<br clear="none"></div></div></div></div><br><br></div> </div> </div> </div> </div></body></html>