使用Java和USB:哪个API? JSR-80,用jUSB,...? [英] using java and usb: Which api? jsr-80, jusb, ...?

查看:685
本文介绍了使用Java和USB:哪个API? JSR-80,用jUSB,...?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想两个Java程序,而无需通过设备或电缆要通过USB直接通信。不要问我为什么,我不知道这个决定背后的细节和推理。

I would like two java programs to communicate directly over the USB without going through a device or cable. Don't ask me why, I don't know the details or reasoning behind this decision.

我已经发现了用jUSB和JSR-80是两个Java / USB API来做到这一点。它们在Linux和Windows的工作 - 我需要在这两种能力

I have found jusb and jsr-80 to be two java/usb APIs to do this. They work on linux AND windows - I will need capabilities on both.

问:

这是更标准和接受?哪个更稳定?这是我的任务更容易?是否有其他标准或普通的java / USB的API了吗?

Which is more standard and accepted? Which is more stable? Which is easier for my task? Are there other standard or common java/usb APIs out there?

我想这些或其他Java / USB API来听你的球员的经验。

I'd like to hear your guys' experiences with these or other java/usb APIs.

谢谢,
JBU

Thanks, Jbu

推荐答案

那么这两种实现都有专门的窗口上的局限性。他们都缺乏在Windows批量传输的支持。

Well both of these implementations have their limitations specially on windows. They both lack support for Bulk Transfer on windows.

有是商业文库JCommUSB提供www.icaste.com

There is a commercial library JCommUSB available at www.icaste.com

这篇关于使用Java和USB:哪个API? JSR-80,用jUSB,...?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆