<div>I have modified the code to allow Chirp to read and programme the IC-80AD radio.</div><div><br></div><div><br></div><div>Below are three unix style diffs for the files mainapp.py, directory.py and convert_ICF.py</div>
<div><br></div><div>The first line in each case is the new code, and the second line the old code ( I had my diff programme working backwards it appears!)</div><div><br></div><div><div>mainapp.py</div><div>===========</div>
<div>37c37</div><div>< from chirp import icf, ic9x_icf, ic80ad</div><div>---</div><div>> from chirp import icf, ic9x_icf</div></div><div>==============</div><div><br></div><div>directory.py</div><div>==============</div>
<div><div>19c19</div><div>< from chirp import id800, id880, ic2820, ic2200, ic9x, icx8x, ic2100, ic2720, ic80ad</div><div>---</div><div>> from chirp import id800, id880, ic2820, ic2200, ic9x, icx8x, ic2100, ic2720</div>
<div>45d44</div><div>< "ic80ad"<span class="Apple-tab-span" style="white-space:pre">                </span> : ic80ad.IC80ADRadio,</div></div><div>=============</div><div><br></div><div>convert_ICF.py</div><div>=============</div>
<div><div>2c2</div><div>< from chirp import id800, ic2820, ic2200, icx8x, id880, id80ad</div><div>---</div><div>> from chirp import id800, ic2820, ic2200, icx8x, id880</div><div>13d12</div><div>< ic80ad.IC80ADRadio</div>
</div><div>=============</div><div><br></div><div>It can be seen that the additions were trivial in these files, just adding the ic80ad.</div><div><br></div><div><br></div><div>Then a new file ic80ad.py is required (based on the essentially identical ID880)</div>
<div><br></div><div>The diffs between the new ic80ad.py and the ID880.py are</div><div><br></div><div>ic80ad.py</div><div>============</div><div><div>132c132</div><div>< class IC80ADRadio(icf.IcomCloneModeRadio, chirp_common.IcomDstarSupport):</div>
<div>---</div><div>> class ID880Radio(icf.IcomCloneModeRadio, chirp_common.IcomDstarSupport):</div><div>134c134</div><div>< MODEL = "IC-80AD"</div><div>---</div><div>> MODEL = "ID-880H"</div>
<div>136c136</div><div>< _model = "\x31\x55\x00\x01"</div><div>---</div><div>> _model = "\x31\x67\x00\x01"</div><div>370,371c370,371</div><div>< class IC80ADRadio(IC80ADRadio):</div><div>
< MODEL = "IC80AD"</div><div>---</div><div>> class ID80Radio(ID880Radio):</div><div>> MODEL = "ID-880H"</div></div><div>=============</div><div>again quite trivial changes, the main one being the radio ID. The memory format fortunately being identical between these two radios.</div>
<div><br></div><div>I have not yet thoroughly tested this, but I have downloaded into Chirp the memory data from the radio, edited it, sent it back to the radio, and then reviewed with the Icom CS80 programme, and all seemed fine. Additional testing is of course required.</div>
<div><br></div><div>What I have noted is that the IC-80AD radio must be set for 9800 baud in the SET>func>speed menu item. If it is at 4800, as a GPS connected to the same port would use, Chirp does not yet recognise the radio and errors. It should be relatively easy to try both speeds in a future version.</div>
<div><br></div><div>Further, when downloading or uploading back into the radio the data rate remains at 9600 and does not speed up as it appears it should, and as does happen with the Icom programme. This means that the data transfer takes several minutes with Chirp. Perhaps I missed something in the code, as I did not take a great deal of time looking.</div>
<div><br></div><div>The code for the European version of the radio should be almost identical, or will be identical depending on whether the radio ID is different between the EU and NA radios.</div><div><br></div><div>The ID as can be seen in the diff above for the NA version, the IC-80Ad is 31 55 00 01</div>
<div><br></div><div>I found it useful to use the trial version of "device monitoring studio" from HHDsoftware (it only runs for 15 days in the trial mode), to examine all of the USB transaction data, as I was using a USB-serial interface cable. </div>
<div>All was tested on a Windows 7 64 bit computer, with the native python .py code and not compiled to byte code, as python will work like this, and makes for easier testing.</div><div><br></div><div>Feedback welcome</div>
<div><br></div><div>cheers</div><br clear="all"><font color="#3333FF">Andrew Hart C.Eng. MRINA<br>amateur radio calls G8VTV / VE3NVK locator FN25bh<br><br></font><div><br></div><div><font color="#FF0000">The content of this message is <b>NOT</b> intended for the public, and is a private communication.</font></div>
<div><font color="#FF0000" face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font></div><br>