dmitryelj / SoapyICR8600

Icom ICR8600 SoapySDR driver
MIT License
4 stars 3 forks source link

Antenna Get & Some logging cleanup #3

Closed robojay closed 3 years ago

robojay commented 3 years ago

I've added the Antenna Get call to read the current antenna status. Interesting... the Antenna Get/Set calls will fail if the radio is not tuned to the HF band (as documented by Icom). Not sure the best way to handle this in the code. For now, the failure will be passed up out of WinUSBDevice.

Went through WinUSBDevice to eliminate stray printf() calls and convert them to appropriate level SoapySDR log messages.

Added the _WIN32 conditional compiles to the functions that didn't have them (i.e. the ones I created in the last pull request).

Tweaking py_test.py along the way.

Still work in progress all over...