Using this command to do a rate-test of my Afedri-SDR LAN receiver:
SoapySDRUtil.exe --args=driver=netsdr --rate=2E6 --direction=RX
gives:
######################################################
## Soapy SDR -- the SDR abstraction library ##
######################################################
Found hostAddr 10.0.0.50, port 50000.
Using Afedri AFEDRI-SDR SN 31351F39 BOOT 1 FW 106 HW 5
getNativeStreamFormat
Stream format: CF32
Num channels: 1
Element size: 8 bytes
Begin RX rate test at 2 Msps
getStreamMTU
Starting stream loop, press Ctrl+C to exit...
activateStream + start 00000002 0 0 0
0 Msps 0 MBps
-deactivateStream
closeStream
The report on the transfer rate is always 0 MBps and no report on dropped packets or anything.
Looking at the code in NetSDR_Streaming.cpp, the call to ::select() looks funny:
int ret = ::select((int)(_udp+1), NULL, &fds, NULL, &tv);
Should it not test for a readable socket?
Tracing the rate-test, I off-course see a huge amount of calls to the above ::select().
But the ::recvfrom() never gets called!?
I'm on Win-10 using a x86 version of Soapy.
Using this command to do a rate-test of my Afedri-SDR LAN receiver:
gives:
The report on the transfer rate is always
0 MBpsand no report on dropped packets or anything.Looking at the code in
NetSDR_Streaming.cpp, the call to::select()looks funny:Should it not test for a readable socket?
Tracing the rate-test, I off-course see a huge amount of calls to the above
::select().But the
::recvfrom()never gets called!?I'm on Win-10 using a x86 version of Soapy.