[chirp_devel] [PATCH] [Luiton] Add Support for the Luiton LT-898UV Mobile Radio

Jim Unroe
Mon Aug 1 07:39:09 PDT 2016


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1470062110 14400
# Node ID 4b37b0c29f3ab13522710c1ecb601b3feb68e362
# Parent  40bd8f0f9d8beefbd061ca72518d641e84a077e8
[Luiton] Add Support for the Luiton LT-898UV Mobile Radio

The LT-898UV mobile radio can be programmed using the Leixen VV-898
vendor/model selection. This pattach adds a LUITON LT-898UV vendor/model
selection using the newly added (chirp_common.Alias) support.

fixes #3705

diff -r 40bd8f0f9d8b -r 4b37b0c29f3a chirp/drivers/leixen.py
--- a/chirp/drivers/leixen.py	Fri Jul 15 10:24:08 2016 -0400
+++ b/chirp/drivers/leixen.py	Mon Aug 01 10:35:10 2016 -0400
@@ -356,11 +356,18 @@
     ack = radio.pipe.read(8)
 
 
+# Declaring Aliases
+class LT898UV(chirp_common.Alias):
+    VENDOR = "LUITON"
+    MODEL = "LT-898UV"
+
+
 @directory.register
 class LeixenVV898Radio(chirp_common.CloneModeRadio):
     """Leixen VV-898"""
     VENDOR = "Leixen"
     MODEL = "VV-898"
+    ALIASES = [LT898UV, ]
     BAUD_RATE = 9600
 
     _file_ident = "Leixen"



More information about the chirp_devel mailing list