Windows 上的 Java 串行通信

2022-01-18 00:00:00 windows serial-port java

我一直在寻找可以与 Windows/Win32 上的串行设备通信的 Java API,但我检查过的许多 API 要么适用于 Linux,要么过于过时,要么受到了不好的批评.

I've been looking around for a Java API that can communicate with serial devices on Windows/Win32 but many of the APIs I've checked out are either for Linux, too outdated, or just had bad critics.

有人可以向我推荐一个他们已经尝试过或知道在 Windows XP 上易于实现的软件吗?

Can someone recommend one to me that they've tried or knows about that is easy to implement on Windows XP?

推荐答案

几周前我开始寻找同样的东西,我对多平台非常满意 RXTX 库到目前为止.适用于任何 Windows、Linux 和 OS X.具有非常干净、易于理解的 API.

I started looking for the same thing couple weeks ago, and I've been very happy with the multi-platform RXTX library so far. Works with any Windows, Linux and OS X. Has a very clean, easy to understand API.

RXTX 也是开源的.

edit: RXTX is also open source.

相关文章