Skip to main content

read write with usb

2 replies [Last post]
cladius
Offline
Joined: 2009-01-02

Hi,
How to send ASCII data to a usb device. I could claim the interface with javax.usb api's but not able to transfer any useful data. I tried the sample programs to given with the reference implementation of javax.usb.
Thanks.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jaywayjohan
Offline
Joined: 2008-06-18

If you are doing this in Java ME, you could do this using a serial connection. This works in Sony Ericsson mobile phones at least.

Best Regards
Johan

sfitzjava
Offline
Joined: 2003-06-15

The JSR80 USB api is not a JavaME api, but a JavaSE api.
Is this on a desktop app, or a mobile phone?

-Shawn