On Fri, Aug 18, 2023 at 01:50 PM, jimahlstrom wrote:
I can alter Quisk's Hamlib code if it makes it more convenient for the Hamlib community, but I need a description of what to change.
In?
/g/n2adr-sdr/message/3043?we get a hint.
You probably should read the whole thread when you get a chance.
Personally I think emulating rigctld was a good idea, and I don't know why some think it was a bad idea.
I've read the code of an emulated TS-2000 and it reads like a hex dump.
Yet it seems the current "best practice" is to emulate a real radio closest to the SDR's capabilities, and use a radio-specific back end to tweak any back-end differences.
It seems to me this would lead to lots of copy/paste code since hamlib isn't object-oriented so their is no core object you can extend as far as I can tell.
It seems there are function pointers to call into other radio objects, but still it seems to take a few thousand lines of code to do a back end regardless.
As usual, these are just my opinions, and I'm willing to be corrected.
Regards,
RDP