jan van katwijk | 28 Jul 2012 10:27
Picon

windows vs linux behaviour: question

Hello

I have an sdr application, developed under Linux, that uses the rtl2832 stick as radio.
Control data is regularly sent to the device (i.e. to change tuning frequency), while a stream
of data is read using bulk transfer.

The application works fine under Linux. I cross compile using Mingw64 for windows (W7). When starting the application under windows
the initial frequency setting is working well, data is coming from the device, however when
I want to change the selected frequency while receiving data (i.e. sending control info), either nothing happens or the application breaks down.

Is it possible (for Windows)  to do simultaneous reading using bulk transfer from the device, sending control data (i.e. is the problem
caused by a program error on my side), or should I stop the bulk transfer, send some command to the device and restart
the bulk transfer again (which seems to be doable)

any help/suggestion is appreciated

--
Jan van Katwijk


+31 (0)15 3698980
+31 (0) 628260355

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusb-devel mailing list
libusb-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-devel
Xiaofan Chen | 28 Jul 2012 11:24
Picon

Re: windows vs linux behaviour: question

On Sat, Jul 28, 2012 at 4:27 PM, jan van katwijk <j.vankatwijk <at> gmail.com> wrote:
> Hello
>
> I have an sdr application, developed under Linux, that uses the rtl2832
> stick as radio.
> Control data is regularly sent to the device (i.e. to change tuning
> frequency), while a stream of data is read using bulk transfer.
>
> The application works fine under Linux. I cross compile using Mingw64 for
> windows (W7). When starting the application under windows
> the initial frequency setting is working well, data is coming from the
> device, however when
> I want to change the selected frequency while receiving data (i.e. sending
> control info), either nothing happens or the application breaks down.
>
> Is it possible (for Windows)  to do simultaneous reading using bulk transfer
> from the device, sending control data (i.e. is the problem
> caused by a program error on my side), or should I stop the bulk transfer,
> send some command to the device and restart
> the bulk transfer again (which seems to be doable)
>
> any help/suggestion is appreciated

Your report is rather vague. What version of libusb are you
using? What is the error message? Could you post the
code snippets which cause the problem?

--

-- 
Xiaofan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane