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

Jim Unroe
Sun Jul 31 19:01:14 PDT 2016


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1470016752 14400
# Node ID 11cecf647509aca1e3f56ce22498e159dd602a4c
# 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 11cecf647509 chirp/drivers/leixen.py
--- a/chirp/drivers/leixen.py	Fri Jul 15 10:24:08 2016 -0400
+++ b/chirp/drivers/leixen.py	Sun Jul 31 21:59:12 2016 -0400
@@ -362,6 +362,7 @@
     VENDOR = "Leixen"
     MODEL = "VV-898"
     BAUD_RATE = 9600
+    ALIASES = [LT898UV, ]
 
     _file_ident = "Leixen"
     _memsize = 0x2000
@@ -934,6 +935,12 @@
             return False
 
 
+# Declaring Aliases
+class LT898UV(chirp_common.Alias):
+    VENDOR = "LUITON"
+    MODEL = "LT-898UV"
+
+
 @directory.register
 class JetstreamJT270MRadio(LeixenVV898Radio):
     """Jetstream JT270M"""



More information about the chirp_devel mailing list