使用java和usb:哪个api?jsr

编程入门 行业动态 更新时间:2024-10-12 14:18:49
本文介绍了使用java和usb:哪个api?jsr-80,jusb,...?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我希望两个 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 上有一个商业库 JCommUSB

There is a commercial library JCommUSB available at www.icaste

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

更多推荐

[db:关键词]

本文发布于:2023-04-18 15:31:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/942155.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:usb   java   jsr   api

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!