pothosware / SoapyPlutoSDR

Soapy SDR plugin for PlutoSDR
https://github.com/pothosware/SoapyPlutoSDR/wiki
GNU Lesser General Public License v2.1
53 stars 22 forks source link

What is timeoutUS #28

Closed samiemostafavi closed 4 years ago

samiemostafavi commented 4 years ago

Hi,

I am working on a SDR board that has a AD9361 like plutoSDR and uses iio drivers. So I am modifying this soapypluto to connect my SDR to other softwares like SRS Lte and etc.

My problem is that soapypluto doesn't support timestamps and leaves them unused in receive and transmit functions probably because plutoSDR does not have timing support. So I implemented timing functions on my SDR and I modified iio drivers to provide timing functions both on rx and tx.

I tried to figure out what the purpose of timeoutUS parameter is. But I couldnt find anything. Could you explain what the functionality of timeoutUS is? Because it is both in TX and RX functions.

zuckschwerdt commented 4 years ago

See e.g. the SoapySDRDevice_readStream() API for a description. We currently don't support a timeout.