[chirp_devel] Leixen VV-898
Jim Unroe
Sun Dec 7 16:58:58 PST 2014
Tom,
I got a good deal on a Leixen VV-898 mobile transceiver so I purchased
one. I thought I would map out the memory and either forward to you
what I determined or take on the project of adding some of the
settings to the driver myself (whichever is OK with you).
Anyway I have some initial problems that I thought you and I should
discuss and attempt to resolve before going any further.
The first issue is with the CTCSS tones. My radio shipped with 2
channels that have CTCSS tones that are in the WTFTONES list (63.0
Hz). I get this exception:
Exception running RadioJob: `63.0' is not in valid list: [67.0, 69.3, 71.9, 74.4
, 77.0, 79.7, 82.5, 85.4, 88.5, 91.5, 94.8, 97.4, 100.0, 103.5, 107.2, 110.9, 11
4.8, 118.8, 123.0, 127.3, 131.8, 136.5, 141.3, 146.2, 151.4, 156.7, 159.8, 162.2
, 165.5, 167.9, 171.3, 173.8, 177.3, 179.9, 183.5, 186.2, 189.9, 192.8, 196.6, 1
99.5, 203.5, 206.5, 210.7, 218.1, 225.7, 229.1, 233.6, 241.8, 250.3, 254.1, 62.5
]
Obviously "63.0" must be in some list or how else would CHIRP know
that 0x08 equaly 63.0? I'm going to ponder this a little longer,
hoping I can figure this out on my own, but currently I am stumped.
The second issue is with detection of the data file when it is loaded.
My "factory" data file has lots of \xff bytes in it so, unfortunately,
it is detected as a Wouxun KG-816.
@classmethod
def match_model(cls, filedata, filename):
if len(filedata) == 8192 and \
filedata[0x60:0x64] != "2009" and \
filedata[0x1f77:0x1f7d] == "\xff\xff\xff\xff\xff\xff" and \
filedata[0x0d70:0x0d80] != "\xff\xff\xff\xff\xff\xff\xff\xff" \
"\xff\xff\xff\xff\xff\xff\xff\xff":
return True
return False
I think the solution here is to add another area that can't possibly
be the same as on the Leixen VV-898 or Jetstream JT270M.
The third issue is that the the bytes that are to detect the model
(see below) are the Custom Display message.
@classmethod
def match_model(cls, filedata, filename):
model = filedata[0x900:0x906]
return model == cls.MODEL
If the user edits this message to something other than "VV-898" or
"JT270M", then the data file won't be detected when it is loaded into
CHIRP.
My thought here is to write "VV-898" or "JT270M" to some other unused
area when the data is first downloaded from the radio and then use it
to detect the data file.
The fourth issue appears to be a bug in the OEM software that misleads
us into thinking that there are 3 default channels and 199 memory
channels. This isn't the case according to the data file output by the
OEM software. It provides 3 default channels (1-3) and 196 memory
channels (4-199) for a total of 199 memory channels.
I am going to look into this further but my fifth issue is I can't
upload to my radio using CHIRP. I get "Radio refused program mode". My
radio is a new v1.03 and it requires the new v1.03 OEM software. The
v1.02 OEM software won't work with it. I will monitor the port and see
what is different.
Jim KC9HI
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VV-898 V1.03(factory).img
Type: application/octet-stream
Size: 8192 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20141207/c8cd065e/attachment-0001.img
More information about the chirp_devel
mailing list