[chirp_devel] [PATCH] [GMRS-V1] Update Model Name

Jim Unroe
Mon Oct 10 15:01:20 PDT 2016


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1476134749 14400
# Node ID 2a0b7099f8c6f4bfa01c26e3232deb5972ebc5d8
# Parent  ab232a47b2f213448c319d7236cab6e82c75756f
[GMRS-V1] Update Model Name

This patch corrects the model name of the BTech GMRS-V1.

related to #4119

diff -r ab232a47b2f2 -r 2a0b7099f8c6 chirp/drivers/gmrsuv1.py
--- a/chirp/drivers/gmrsuv1.py	Sat Oct 08 22:21:27 2016 -0400
+++ b/chirp/drivers/gmrsuv1.py	Mon Oct 10 17:25:49 2016 -0400
@@ -33,13 +33,13 @@
 
 ##### MAGICS #########################################################
 
-# BTECH GMRS-UV1 magic string
-MSTRING_GMRSUV1 = "\x50\x5F\x20\x15\x12\x15\x4D"
+# BTECH GMRS-V1 magic string
+MSTRING_GMRSV1 = "\x50\x5F\x20\x15\x12\x15\x4D"
 
 ##### ID strings #####################################################
 
-# BTECH GMRS-UV1
-GMRSUV1_fp1 = "US32411"
+# BTECH GMRS-V1
+GMRSV1_fp1 = "US32411"
 
 DTMF_CHARS = "0123456789 *#ABCD"
 STEPS = [2.5, 5.0, 6.25, 10.0, 12.5, 20.0, 25.0, 50.0]
@@ -93,14 +93,14 @@
 
 
 @directory.register
-class GMRSUV1(baofeng_common.BaofengCommonHT):
-    """BTech GMRS-UV1"""
+class GMRSV1(baofeng_common.BaofengCommonHT):
+    """BTech GMRS-V1"""
     VENDOR = "BTECH"
-    MODEL = "GMRS-UV1"
+    MODEL = "GMRS-V1"
 
-    _fileid = [GMRSUV1_fp1, ]
+    _fileid = [GMRSV1_fp1, ]
 
-    _magic = [MSTRING_GMRSUV1, ]
+    _magic = [MSTRING_GMRSV1, ]
     _magic_response_length = 8
     _fw_ver_start = 0x1EF0
     _recv_block_size = 0x40
@@ -376,7 +376,7 @@
     def get_prompts(cls):
         rp = chirp_common.RadioPrompts()
         rp.experimental = \
-            ('The BTech GMRS-UV1 driver is a beta version.\n'
+            ('The BTech GMRS-V1 driver is a beta version.\n'
              '\n'
              'Please save an unedited copy of your first successful\n'
              'download to a CHIRP Radio Images(*.img) file.'



More information about the chirp_devel mailing list