# HG changeset patch # User Daniel Clerc # Date 1460634205 -7200 # Thu Apr 14 13:43:25 2016 +0200 # Node ID 9d480aa8aab28c01d7e9fbeac256273b07d6afff # Parent e7747f518dcd7d9636607ab190d9c27a380e7728 add suppport for a xmit modded FT2900E and improved logging for debug diff -r e7747f518dcd -r 9d480aa8aab2 chirp/drivers/ft2900.py --- a/chirp/drivers/ft2900.py Mon Apr 11 21:02:43 2016 -0400 +++ b/chirp/drivers/ft2900.py Thu Apr 14 13:43:25 2016 +0200 @@ -56,13 +56,15 @@ LOG.debug("len(header) = %s\n" % len(data)) if data == radio.IDBLOCK: + # I think this is information is worth to be logged + LOG.debug("Radio successfully identified!") break if data != radio.IDBLOCK: raise Exception("Failed to read header") _send(radio.pipe, ACK) - + # initialize data, the big var that holds all memory data = "" @@ -1251,3 +1253,15 @@ MODEL = "FT-2900/1900 (Modded)" VARIANT = "Opened Xmit" IDBLOCK = "\x56\x43\x32\x33\x00\x02\xc7\x01\x01\x01" + + +# this is a modded version of the FT2900E. In this version a greater +# transmit range is allowed the ARS fits the european style. To archive +# this mod one need to blank all the jumpers in the control head, but the +# first +@directory.register +class FT2900ModERadio(FT2900Radio): + """Yaesu FT-2900EMod""" + MODEL = "FT-2900/1900 (Modded E)" + VARIANT = "Opened Xmit E Version" + IDBLOCK = "\x56\x43\x32\x33\x00\x02\xc3\x02\x01\x01"