[chirp_devel] [PATCH 2 of 5] [vx7] Add instructions for clone mode
Marco Filippi IZ3GME
Wed Oct 9 02:22:43 PDT 2013
# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1381310189 -7200
# Node ID 89e710ef0a315ceaea585640f0277c9078a7d593
# Parent fbb1c3a7be93999436a7c56b19221cbe78c0a58c
[vx7] Add instructions for clone mode
part of feature #1163
diff --git a/chirp/vx7.py b/chirp/vx7.py
--- a/chirp/vx7.py
+++ b/chirp/vx7.py
@@ -15,6 +15,7 @@
from chirp import chirp_common, yaesu_clone, directory
from chirp import bitwise
+from textwrap import dedent
MEM_FORMAT = """
#seekto 0x0611;
@@ -183,6 +184,23 @@
_block_lengths = [ 10, 8, 16193 ]
_block_size = 8
+ @classmethod
+ def get_prompts(cls):
+ rp = chirp_common.RadioPrompts()
+ rp.pre_download = _(dedent("""\
+ 1. Turn radio off.
+ 2. Connect cable to MIC/SP jack.
+ 3. Press and hold in the [MON-F] key while turning the radio on
+ ("CLONE" will appear on the display).
+ 4. <b>After clicking OK</b>, press the [BAND] key to send image."""))
+ rp.pre_upload = _(dedent("""\
+ 1. Turn radio off.
+ 2. Connect cable to MIC/SP jack.
+ 3. Press and hold in the [MON-F] key while turning the radio on
+ ("CLONE" will appear on the display).
+ 4. Press the [V/M] key ("CLONE WAIT" will appear on the LCD)."""))
+ return rp
+
def _checksums(self):
return [ yaesu_clone.YaesuChecksum(0x0592, 0x0610),
yaesu_clone.YaesuChecksum(0x0612, 0x0690),
More information about the chirp_devel
mailing list