Hi Rick,
You are doing far too much work here. The IC-7300 is not a clone mode radio, it's a live mode radio. As Dan mentioned, you should be extending the same base class as other Icom live mode radios, in icomciv.py. Looking at the IC-7300 Full Manual, I see that the IC-7300 behaves in exactly the same way as the Icom live mode radios that are already supported. Thus you'll only need to add a few definitions to icomciv.py in order to have IC-7300 support.
Looking through the existing IC-7200 code should help you to understand what needs to be done. Since I'm the one most recently in that module, adding IC-910H, I'd be happy to help if you have questions about how the icomciv.py code works. It took me a while to figure it out, but it's actually quite straightforward.
Martin. KD6YAM
On Fri, Oct 16, 2020 at 7:20 AM Rick (AA0RD) DeWitt via chirp_devel < chirp_devel@intrepid.danplanet.com> wrote:
The CLONE MODE version of the ic7300 driver. The IC-7300 does not respond to the icf clone mode code. I removed my debug test code and changed the BAUD parameter to a radio property. This driver uses CAT commands to build an equivalent clone mode img file. The operators I know HATE using live mode when their radios have more than 10 memory channels. The special encode and decode methods are required because this radio sends frequency data as strings of reverse HEX values, not lbcd, but lhcd, if such a thing exists.
-- Rick DeWitt AA0RD Sequim, Washington, USA 98382 (360) 681-3494
chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers