[chirp_devel] New Model #6421 TYT TH-350

Dan Smith
Thu Jan 31 11:02:06 PST 2019


> Hi Zhaofeng,
> 
>> Just wrote a driver for TYT TH-350, based on the code for Baofeng
>> UV-B5. Attached is the patch.
> 
> How similar is this driver to the UV-B5 itself? In general it's much better to subclass a driver if you have just a few changes. I haven't tried applying this and diff'ing them myself, but wanted to ask you first.

Heh, right after I sent, I re-read your comment that there are more details in the issue. It sounds like there are some differences, but are they just around tone encoding and the clone protocol? If so, those are also easy to subclass and override. If many things are different, then it might make the most sense to just add a whole new driver. I just want to avoid senseless duplication _when_possible_.

Thanks!

--Dan


More information about the chirp_devel mailing list