Fixing and improving SDR support (SoapySDR and UHD)

- Soapy SDR now works.
- Channels can be selected.
- Antennas can be listed and selected.
- Device args, tune args, stream args can be specified.
This commit is contained in:
Andreas Eversberg
2017-07-11 20:26:40 +02:00
parent 538b4a42ec
commit fda224c27f
10 changed files with 395 additions and 114 deletions

View File

@@ -1,5 +1,5 @@
int soapy_open(size_t channel, const char *device_args, double tx_frequency, double rx_frequency, double rate, double rx_gain, double tx_gain, double bandwidth);
int soapy_open(size_t channel, const char *_device_args, const char *_stream_args, const char *_tune_args, const char *tx_antenna, const char *rx_antenna, double tx_frequency, double rx_frequency, double rate, double tx_gain, double rx_gain, double bandwidth);
int soapy_start(void);
void soapy_close(void);
int soapy_send(float *buff, int num);