[YARDStick] Yardstick & rfcat - no receive functions work on Windows
Cinaed Simson
cinaed.simson at gmail.com
Wed Nov 23 19:23:35 EST 2016
On 11/23/2016 06:33 AM, Dave Wakelee wrote:
> With rfcat, the Yardstick One, and Windows, none of the receive functions
> appear to work. RFlisten(), discover(), etc - all fail. Transmit works ok.
> The error returned is...
I may be wrong but I don't think any of those commands without setting
up the device.
How do you know the device is transmitting?
>
> File "C:\SDR\rfcat\rflib\chipcon_usb.py", line 120, in keystop
> return len(select.select([sys.stdin],[],[],delay)[0])
> error: (10093, 'Either the application has not called WSAStartup, or
> WSAStartup failed')
>
> OK, no problem, searching the net reveals that the select function is
> provided by the socket library on Windows. So, adding 'import socket'
> corrects that error. Then, a new error...
>
> File "C:\SDR\rfcat\rflib\chipcon_usb.py", line 120, in keystop
> return len(select.select([sys.stdin],[],[],delay)[0])
> error: (10038, 'An operation was attempted on something that is not a
> socket')
>
> Again, searching the net says that select can only be used for sockets, not
> sys.stdin.
>
> Any solution to getting the rfcat receive functions to work properly in
> Windows?
Since you seem to be certain there are no driver issues then check out
the code at
https://github.com/AndrewMohawk/RfCatHelpers
>
> _______________________________________________
> YARDStick mailing list
> YARDStick at greatscottgadgets.com
> https://pairlist10.pair.net/mailman/listinfo/yardstick
>
More information about the YARDStick
mailing list