[chirp_devel] [PATCH] [TI-F8+] Add support for TechSide TI-F8+

Jim Unroe
Sat Sep 26 13:09:41 PDT 2020


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1601147030 14400
#      Sat Sep 26 15:03:50 2020 -0400
# Node ID fbfbef9154def77ef9398dbe373df1640f5a6e2e
# Parent  2d7b5508d8950df775754f0587b7c7856e1c2302
[TI-F8+] Add support for TechSide TI-F8+

This patch adds support for the TechSide TI-F8+ (variant of Baofeng BF-F8HP)

related to #8187

diff -r 2d7b5508d895 -r fbfbef9154de chirp/drivers/uv5r.py
--- a/chirp/drivers/uv5r.py	Tue Sep 08 11:53:20 2020 -0700
+++ b/chirp/drivers/uv5r.py	Sat Sep 26 15:03:50 2020 -0400
@@ -1173,10 +1173,11 @@
                               RadioSettingValueBoolean(_settings.voice))
             advanced.append(rs)
         else:
-            rs = RadioSetting("voice", "Voice",
-                              RadioSettingValueList(
-                                  VOICE_LIST, VOICE_LIST[_settings.voice]))
-            advanced.append(rs)
+            if self.MODEL != "TI-F8+":
+                rs = RadioSetting("voice", "Voice",
+                                  RadioSettingValueList(
+                                      VOICE_LIST, VOICE_LIST[_settings.voice]))
+                advanced.append(rs)
 
         rs = RadioSetting("screv", "Scan Resume",
                           RadioSettingValueList(
@@ -1886,11 +1887,16 @@
     MODEL = "UV-5XP"
 
 
+class TSTIF8Alias(chirp_common.Alias):
+    VENDOR = "TechSide"
+    MODEL = "TI-F8+"
+
+
 @directory.register
 class BaofengBFF8HPRadio(BaofengUV5R):
     VENDOR = "Baofeng"
     MODEL = "BF-F8HP"
-    ALIASES = [RT5_TPAlias, ROGA5SAlias, UV5XPAlias]
+    ALIASES = [RT5_TPAlias, ROGA5SAlias, UV5XPAlias, TSTIF8Alias]
     _basetype = BASETYPE_F8HP
     _idents = [UV5R_MODEL_291,
                UV5R_MODEL_A58



More information about the chirp_devel mailing list