[chirp_devel] [PATCH] [tm281] Add basic support

Marco Filippi IZ3GME
Wed Feb 19 06:19:49 PST 2014


# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1392818967 -3600
#      mer feb 19 15:09:27 2014 +0100
# Node ID e26258059b89d1269951a061b139d8ef6919716a
# Parent  5406f17c38f6ef74f6cac8fb8bcc84b7f7042a4b
[tm281] Add basic support

Kenwood TM281 was in supported radio list but even though is a clone of TM271
it answer with a different model id

Implement #1443

diff --git a/chirp/kenwood_live.py b/chirp/kenwood_live.py
--- a/chirp/kenwood_live.py
+++ b/chirp/kenwood_live.py
@@ -1125,6 +1125,12 @@
     def _cmd_set_memory_name(self, number, name):
         return "MN", "%03i,%s" % (number, name)
 
+ at directory.register
+class TM281Radio(TM271Radio):
+    """Kenwood TM-281"""
+    MODEL = "TM-281"
+    # seems that this is a perfect clone of TM271 with just a different model
+
 def do_test():
     """Dev test"""
     mem = chirp_common.Memory()



More information about the chirp_devel mailing list