|
From: Celia S. M. <cm...@gm...> - 2009-07-27 13:23:12
|
Hello, I've made some progress and the problem was that some telegrams needed to be sent previously in order that the device could be able to send some data to the PC by USB. That was the reason why timeout exception appeared. Apparently it works ok altough I must check some points to see wether it works properly or not. Thank you very much. El 18 de julio de 2009 11:58, Xiaofan Chen <xia...@gm...> escribió: > 2009/7/13 Celia San Martín <cm...@gm...>: > > Hello, > > I´m using libusb in Linux and libusb-win32 in Windows in order to read > > and write telegrams between a KNX network and my PC through a KNX > > device (ABB i.bus EIB/KNX USB/S1.1) with USB connection. > > Firstly I made the changes that are necessary in both OS so that the > > device is considered as a device controlled by libusb or libusb-win32. > > When I execute the java wrapper a timeout error appears: > > ch.ntb.usb.USBTimeoutException: LibusbJava.usb_interrupt_read: No error > > at ch.ntb.usb.Device.readInterrupt(Device.java:521) > > at ReadWrite.main(ReadWrite.java:69) > > More details will be needed. > > Do you know how the device work? Could you can show us > your program? Could you use C and libusb instead of the > Java wrapper to remove the possibility of Java wrapper error? > > > > -- > Xiaofan http://mcuee.blogspot.com > |