Project

General

Profile

Actions

New Model #2435

open

Wouxun KG-UV899

Added by Gary Tourville about 9 years ago. Updated over 3 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
03/16/2015
Due date:
% Done:

0%

Estimated time:
Equipment Loan/Gift Offered:
Yes
I read the instructions above:

Description

Just purchased this unit a few weeks ago and was hoping CHIRP would work, but alas it did not. Manufacturers software doesn't even support this radio as of yet. Help!


Files

Monitoring Session read from radio.spm (60.1 KB) Monitoring Session read from radio.spm log form com port while reading from the radio Piotr Stec, 01/09/2016 06:31 AM
Monitoring Session write to radio.spm (155 KB) Monitoring Session write to radio.spm log form com port while writing to the radio Piotr Stec, 01/09/2016 06:31 AM
read 2 text.txt (166 KB) read 2 text.txt Piotr Stec, 01/10/2016 10:11 AM
Actions #1

Updated by Tim Bonine almost 9 years ago

Any update on this? I have a UV-899 on order.

Actions #2

Updated by Piotr Stec over 8 years ago

Is there any way I can help you to support this radio?

Actions #3

Updated by Piotr Stec over 8 years ago

I attach 2 log files from serial port monitor - while reading from device and while writing to it via Wouxun original software. I wish it could be helpful somehow. If there's anything else I can do, just tell me.

Actions #4

Updated by Piotr Stec over 8 years ago

I add another log of reading from this device. It seems like I should send IiNHRGc” to identify device and then data is sent in packets of length 68. I was working on existing files wouxun.py and wouxun_common.py. I don't understand do_download function from the second one. Especially line cmd = struct.pack(">cHb", "R", i, blocksize) what is that for? I always get exception in this function beacause required data length does not match real length.

Actions #5

Updated by Pavel Milanes over 8 years ago

Hi Piotr,

struct is a python class to interpret strings as packed binary data with a predefined format.

You can have a peek in the python docs here [[[https://docs.python.org/2/library/struct]]]

cmd = struct.pack(">cHb", "R", i, blocksize)

This is packing the data with Big Endian coding(>), "R" as char (1 byte long), i as a unsigned short (two bytes long) and blocksize as signed char (1 byte long)

For example:

i = 256
blocksize = 64
cmd = struct.pack(">cHb", "R", i, blocksize)

Then cmd will have "\x52\x01\x00\x40"

the reverse function is easy also:

CMD, i, blocksize = struct.unpack(">cHb", cmd)

Cheers

Actions #6

Updated by Piotr Stec over 8 years ago

Thank you for your answer, but i still do not know what does >cHb mean. I see now that '>' means Big Endian coding, but what does the other part mean? cHb?

Actions #7

Updated by Pavel Milanes over 8 years ago

Piotr Stec wrote:

Thank you for your answer, but i still do not know what does >cHb mean. I see now that '>' means Big Endian coding, but what does the other part mean? cHb?

In simple terms: it's a handy function to pack/unpack data into a binary form, many radios have a predefined structure on the headers it's send/receive; with this function/procedure you make shorter code to pack/unpack data. As simple as that.

"<cHb" it's just the format the data has to be encoded/decoded, it's like a template to render the binary data you pass as variables, in the last post I put a translation for each term.

Actions #8

Updated by Ernesto Sanchez over 6 years ago

Any update? Can I help in any way?

I ordered this radio last week.

Actions #9

Updated by Alexandre Graczik almost 6 years ago

Hdh

Actions #10

Updated by Bernhard Hailer about 4 years ago

  • Status changed from New to Feedback
  • Priority changed from High to Normal
  • Target version changed from 0.4.1 to chirp-legacy
  • Chirp Version changed from 0.4.0 to daily
Actions #11

Updated by Lisa Lewis over 3 years ago

It's been a few years since this thread was started, but it seems the Wouxun KG-UV899 is not yet supported. It's not an option in the models currently shown in the download-from-radio pulldown, and my attempt to substitute other models failed. Is there any plan to include the KG-UV899? What needs to be done to make it happen? Many thanks...

Actions #12

Updated by Bernhard Hailer over 3 years ago

The addition of a new radio to Chirp requires two things:
1) a volunteer developer who takes the task to work on this driver,
2) availability of test equipment, such as a loaner radio (see Rules For Loaning A Radio).
Unfortunately, you need to wait until both conditions have been met.

Actions

Also available in: Atom PDF