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

查看:25
本文介绍了使用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

推荐答案

这两种实现方式都有其局限性,特别是在 Windows 上.它们都缺乏对 Windows 批量传输的支持.

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

在 www.icaste.com 上有一个商业库 JCommUSB

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

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

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