<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt"><div><span>Thanks Jim.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span>I see the key is in returning true for "match_model" method on your class when an image is run against all drivers.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="background-color: transparent;">I have also taken a first pass at refactoring some of this
per-radio logic that I introduced in previous patch into subclass properties. I see some other opportunities to streamline this and make it more generic for forward and backward compatibility. Hopefully will ease the coming onslaught of "Attack of the Radio Clone Clones"</div><div style="background-color: transparent;"><span style="background-color: transparent;"><br></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-style: normal;"><span style="background-color: transparent;">new patch attached... </span><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'Courier New', courier, monaco, monospace, sans-serif; background-color: transparent; font-style: normal;"><span><br></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 9:49 PM, Jim Unroe <rock.unroe@gmail.com> wrote:<br> </font> </div> <div class="y_msg_container"><div id="yiv7135751701"><div><div dir="ltr"><br clear="none"><div class="yiv7135751701gmail_extra"><br clear="none"><br clear="none"><div class="yiv7135751701yqt8443638230" id="yiv7135751701yqtfd43765"><div class="yiv7135751701gmail_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="yiv7135751701gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><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"></blockquote></div></div><br clear="none">#def _firmware_version_from_data(data, version_start = 0x1838, version_stop = 0x1848):<br clear="none">
def _firmware_version_from_data(data, version_start = 0x1938, version_stop = 0x193E):<br clear="none"> version_tag = data[version_start:version_stop]<br clear="none"> return version_tag<br clear="none"><br clear="none"></div><div class="yiv7135751701gmail_extra">You will have to set it up so that is uses "version_start = 0x1938, version_stop = 0x193E" for the BJ55 and "version_start = 0x1838, version_stop = 0x1848" for everything else. I just made a quick substitution as above to check it out and it worked for me.<br clear="none">
<br clear="none">Jim KC9HI<div class="yiv7135751701yqt8443638230" id="yiv7135751701yqtfd98810"><br clear="none"></div></div></div></div></div><br><br></div> </div> </div> </div> </div></body></html>