Closed MartinHerren closed 6 years ago
Add an airspy_list_devices() function copied and adapted from airspyhf+
It also contains the PR2 I submitted to airspyhf+ to be able to pass NULL as serials to airpyhf_list_devices() to only get the number of devices.
This PR would close #48 (including the proposed improvement)
As I don't have an AirSpy to test it, this PR should first be tested with real AirSpy devices. I only faked an usb device to test it.
Thanks for the PR I need to check all build fine (and work fine too maybe adding an option in airspy_info) so far the code seems OK
Add an airspy_list_devices() function copied and adapted from airspyhf+
It also contains the PR2 I submitted to airspyhf+ to be able to pass NULL as serials to airpyhf_list_devices() to only get the number of devices.
This PR would close #48 (including the proposed improvement)
As I don't have an AirSpy to test it, this PR should first be tested with real AirSpy devices. I only faked an usb device to test it.