Java Serial Communication on Windows

后端 未结 5 1817
有刺的猬
有刺的猬 2020-12-01 07:46

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,

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-01 08:05

    Without reservation, I recommend Java Serial Port from serialio.com; I had significant stability problems with the Sun, IBM and RxTx serial package. SerialPort has been rock solid in production 24/7 for over 5 years.

    They support the standard Java serial API, as well as their own alternative proprietary one. I would stick with the standard API though, unless you really need something theirs has that the standard one doesn't, just to keep your options open.

提交回复
热议问题