On Thu, Jan 30, 2014 at 10:31 PM, Tom Hayward <esarfl@gmail.com> wrote:

On Jan 30, 2014 5:36 PM, "Jim Unroe" <rock.unroe@gmail.com> wrote:
>
> I've have been loaned a Baofeng UV-6 radio. I think it should get its own uv6.py file. What is the correct procedure to get it started.

There's not much to it.

cp uv5r.py uv6.py

Then modify uv6.py as needed to support the UV-6.

If you decide there are significant similarities and they should share some code, ask specifically about that code and we'll try to figure out the best way to combine them.

Tom KD7LXL


Tom,

I created the uv6.py file last weekend. It is working and fairly complete.

This radio doesn't have a keypad or display. So in a lot of ways this radio is quite similar to a UV-5R and in a lot of other ways it is quite different.

The memory layout that it uses is largely the same, but a few bytes here and there are used for different purpose in this radio than the others.

I've ripped out 99% of the structure and code from the uv5r.py that isn't used or necessary. I've also borrowed from other radios as well as cleaned up the code from what I've learn by 'hacking' on the uv5r.py file for the last 13 months.

My plans were to submit the uv6.py file without the settings menus. Then follow that up with the Basic Settings after going over them one last time. And then the same of the additional menus. But I can try to combine this up if it is the right thing to do.

Jim KC9HI

Jim