On Wed, Sep 18, 2013 at 5:21 AM, Ron Wellsted ron@wellsted.org.uk wrote:
This patch modifies the chirp/anytone.py file to add support for the Intek HR-2040 radio. This radio seems to be the same hardware as the Anytone 5888UV with just a firmware difference. The same radio also seems to be sold as the CRT 270M.
Hi Ron,
Thanks for the patch. I see one issue:
+valid_model = {'QX588UV', 'HR-2040'}
This set syntax wasn't added until 2.7. I think this will break 2.6 support (still required for RHEL6 and CentOS). Keep it simple; just use a list.
It would be nice to see the ident string stored within the class rather than maintaining this separate list, but that's not going to work if the files all identify as "QX588UV" :-( The way you've done it is the best option I see for now (saved imgs will open as Anytones, but upload fine to either radio).
Tom KD7LXL