[chirp_devel] [PATCH] [ 2 of 2 ] leixen] Adds new model, Leixen VV-898S (tri-power 25W)

Brian Dickman
Sat Sep 3 13:57:20 PDT 2016


# HG changeset patch
# User Brian Dickman <brian.maybe at gmail.com>
# Date 1472936188 25200
#      Sat Sep 03 13:56:28 2016 -0700
# Node ID ecde4295b27703667ab8d26d19c5e945a6ea7dc1
# Parent  d9eda786d470f7845f96d3ada98e3de65f5213a6
[leixen] [patch 2 of 2] Adds new model, Leixen VV-898S (tri-power 25W)

Also works for VV-898E. Resolves #3889, #3327, #3065.

diff -r d9eda786d470 -r ecde4295b277 chirp/drivers/leixen.py
--- a/chirp/drivers/leixen.py Sat Sep 03 13:52:24 2016 -0700
+++ b/chirp/drivers/leixen.py Sat Sep 03 13:56:28 2016 -0700
@@ -949,3 +949,17 @@

     _file_ident = "JET"
     _model_ident = 'LX-\x89\x85\x53'
+
+
+ at directory.register
+class LeixenVV898SRadio(LeixenVV898Radio):
+    """Leixen VV-898S, also VV-898E which is identical"""
+    VENDOR = "Leixen"
+    MODEL = "VV-898S"
+
+    _model_ident = 'LX-\x89\x85\x75'
+    _mem_formatter = {'unknownormode': 'mode:1',
+                      'modeorpower': 'power:2'}
+    _power_levels = [chirp_common.PowerLevel("Low", watts=5),
+                     chirp_common.PowerLevel("Med", watts=10),
+                     chirp_common.PowerLevel("High", watts=25)]



More information about the chirp_devel mailing list