64 位系统上 Java 的串行通信 API(调制解调器交互)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10446265/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Serial communication API for Java on 64 bit systems (modem interaction)
提问by sebastian
I'm searching for an serial communication API for Java. Very important is the support of 64 bit systems. I've used rxtx with the 64 bit libs of Cloudhopperbut on some Windows Server 2008 systems I got heavy problems with jvm crashes when accessing (virtual) serial ports.
我正在寻找用于 Java 的串行通信 API。非常重要的是64位系统的支持。我用RXTX与64个库Cloudhopper但在某些Windows Server 2008系统我沉重的问题,JVM访问(虚拟)串行端口时崩溃。
The main purpose is interacting with analogue modems, maybe there is another way of modem communication in Java?
主要目的是与模拟调制解调器交互,也许 Java 中还有另一种调制解调器通信方式?
It would be very nice if the API is free of charge.
如果 API 是免费的,那就太好了。
采纳答案by sebastian
I have moved to the new java-simple-serial-connectorwhich seems to be very stable and comfortable at the current release 0.9.0. For now it works on every system (I need) and has no problem with virtual serial ports.
我已经转向新的java-simple-serial-connector,它在当前版本 0.9.0 中似乎非常稳定和舒适。现在它适用于每个系统(我需要)并且虚拟串口没有问题。
回答by HashimR
You can try Java Communications API.
你可以试试Java Communications API。
You can configure it using help from this link.
您可以使用此链接的帮助进行配置。
EDIT:
编辑:
Download it from here.
从这里下载。