Bug #3387 » patch.diff
chirp/drivers/ft2900.py Mon Apr 11 21:02:43 2016 -0400 → chirp/drivers/ft2900.py Thu Apr 14 13:43:25 2016 +0200 | ||
---|---|---|
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 = ""
|
||
... | ... | |
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"
|