<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:597908013;
        mso-list-type:hybrid;
        mso-list-template-ids:1593219080 -1 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Calibri",sans-serif;
        mso-fareast-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1
        {mso-list-id:1226185809;
        mso-list-type:hybrid;
        mso-list-template-ids:-162233900 -1 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Calibri",sans-serif;
        mso-fareast-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l2
        {mso-list-id:1436245194;
        mso-list-type:hybrid;
        mso-list-template-ids:-26998968 -1 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l2:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Calibri",sans-serif;
        mso-fareast-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";}
@list l2:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l2:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l2:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l2:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l2:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l2:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l2:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l2:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l3
        {mso-list-id:1552577848;
        mso-list-type:hybrid;
        mso-list-template-ids:2142697158 -1 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l3:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l3:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l3:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l4
        {mso-list-id:1918441481;
        mso-list-type:hybrid;
        mso-list-template-ids:-1550665370 -1 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l4:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l4:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l4:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l4:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l4:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l4:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l4:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l4:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l4:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p>Hi Cody,</p><p><o:p>&nbsp;</o:p></p><p>Thanks for submitting these! I just reviewed these and did some tests. I’m not too sure I understand what the intent was here, so I wanted to pose a question to the list.</p><p><o:p>&nbsp;</o:p></p><p>For CHIRP in general - does “off” mean:</p><p>a)  duplex / repeater shift is disabled and the radio should operate in simplex mode</p><p>or</p><p>b) Tx is inhibited</p><p><o:p>&nbsp;</o:p></p><p>I don’t see “off” listed as an option on other radios such as the VX-6.</p><p><o:p>&nbsp;</o:p></p><p>If I change an existing simplex channel from “(None)” to “off” – the radio gives an error. Is that what was intended? </p><p><o:p>&nbsp;</o:p></p><p>For issue 2891 – I think it would be cleaner to simply remove the extra “” from line 275, rather than stripping it from the array as its assigned to the rf object in line 367. Is the extra “”, “” needed in line 275 to effectively 1-index the duplex value instead? If not, it seems like we could just strip it out and assign the array as-is. This is how the VX-6 and most other drivers work.</p><p><o:p>&nbsp;</o:p></p><p>73,</p><p>Patrick </p><p>KG7NSC</p><p><o:p>&nbsp;</o:p></p><p>Sent from <a href="http://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10</p><p><o:p>&nbsp;</o:p></p><p><o:p>&nbsp;</o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p style='border:none;padding:0in'><br><b>From: </b>Cody P Schafer via chirp_devel<br><b>Sent: </b>Friday, October 2, 2015 5:47 PM<br><b>To: </b>chirp_devel@intrepid.danplanet.com<br><b>Subject: </b>[chirp_devel] [PATCH 2 of 2] drivers/ft60: add support for &quot;off&quot;duplex mode (#2891)</p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-family:"Times New Roman",serif'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal># HG changeset patch</p><p class=MsoNormal># User Cody P Schafer &lt;dev@codyps.com&gt;</p><p class=MsoNormal># Date 1443833114 14400</p><p class=MsoNormal>#      Fri Oct 02 20:45:14 2015 -0400</p><p class=MsoNormal># Node ID 2628a7decd6363fc5875c4ad5e84fc0323737c32</p><p class=MsoNormal># Parent  f599c685d5cc42229028905e63f606358e05462b</p><p class=MsoNormal>drivers/ft60: add support for &quot;off&quot; duplex mode (#2891)</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>By using a tx frequency of '0', the radio (or at least my ft60) refuses to</p><p class=MsoNormal>transmit (gives &quot;ERROR&quot; on the screen) when the PTT key is pressed.</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>diff --git a/chirp/drivers/ft60.py b/chirp/drivers/ft60.py</p><p class=MsoNormal>--- a/chirp/drivers/ft60.py</p><p class=MsoNormal>+++ b/chirp/drivers/ft60.py</p><p class=MsoNormal>@@ -272,7 +272,7 @@</p><p class=MsoNormal> u8 checksum;</p><p class=MsoNormal> &quot;&quot;&quot;</p><p class=MsoNormal> </p><p class=MsoNormal>-DUPLEX = [&quot;&quot;, &quot;&quot;, &quot;-&quot;, &quot;+&quot;, &quot;split&quot;]</p><p class=MsoNormal>+DUPLEX = [&quot;&quot;, &quot;&quot;, &quot;-&quot;, &quot;+&quot;, &quot;split&quot;, &quot;off&quot;]</p><p class=MsoNormal> TMODES = [&quot;&quot;, &quot;Tone&quot;, &quot;TSQL&quot;, &quot;TSQL-R&quot;, &quot;DTCS&quot;]</p><p class=MsoNormal> POWER_LEVELS = [chirp_common.PowerLevel(&quot;High&quot;, watts=5.0),</p><p class=MsoNormal>                 chirp_common.PowerLevel(&quot;Mid&quot;, watts=2.0),</p><p class=MsoNormal>@@ -703,7 +703,10 @@</p><p class=MsoNormal>         mem.offset = int(_mem.offset) * 50000</p><p class=MsoNormal>         mem.duplex = DUPLEX[_mem.duplex]</p><p class=MsoNormal>         if mem.duplex == &quot;split&quot;:</p><p class=MsoNormal>-            mem.offset = _decode_freq(_mem.tx_freq)</p><p class=MsoNormal>+            if int(_mem.tx_freq) == 0:</p><p class=MsoNormal>+                mem.duplex = &quot;off&quot;</p><p class=MsoNormal>+            else:</p><p class=MsoNormal>+                mem.offset = _decode_freq(_mem.tx_freq)</p><p class=MsoNormal>         mem.tmode = TMODES[_mem.tmode]</p><p class=MsoNormal>         mem.rtone = chirp_common.TONES[_mem.tone]</p><p class=MsoNormal>         mem.dtcs = chirp_common.DTCS_CODES[_mem.dtcs]</p><p class=MsoNormal>@@ -747,6 +750,9 @@</p><p class=MsoNormal>             _mem.tx_freq, flags = _encode_freq(mem.offset)</p><p class=MsoNormal>             _mem.tx_freq[0].set_bits(flags)</p><p class=MsoNormal>             _mem.offset = 0</p><p class=MsoNormal>+        elif mem.duplex == &quot;off&quot;:</p><p class=MsoNormal>+            _mem.tx_freq = 0</p><p class=MsoNormal>+            _mem.offset = 0</p><p class=MsoNormal>         else:</p><p class=MsoNormal>             _mem.tx_freq = 0</p><p class=MsoNormal>             _mem.offset = mem.offset / 50000</p><p class=MsoNormal>_______________________________________________</p><p class=MsoNormal>chirp_devel mailing list</p><p class=MsoNormal>chirp_devel@intrepid.danplanet.com</p><p class=MsoNormal>http://intrepid.danplanet.com/mailman/listinfo/chirp_devel</p><p class=MsoNormal>Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers</p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>