Java RS-232 Communication on Windows

后端 未结 6 1417
梦如初夏
梦如初夏 2020-12-09 21:28

Does anyone know of a good Java API for controlling RS-232 devices in a WIN32 enviroment? I\'ve tried RXTX but they don\'t support RS232, only RS-485.

相关标签:
6条回答
  • 2020-12-09 21:48

    I advise you to try jSSC. This lib support Win32(Win98 - Win7) and Win64. Linux version under construction. Project page on Google code: http://code.google.com/p/java-simple-serial-connector/

    0 讨论(0)
  • 2020-12-09 21:51

    I stumbled upon scm which is another open source library for RS232 serial port communication. Project page is https://github.com/RishiGupta12/serial-communication-manager

    0 讨论(0)
  • 2020-12-09 21:52

    I've just implemented a single-direction interface (device->computer) with Scream3r's jSSC library using Java 1.6 and Windows 7 64 bit quickly and without problems.

    Hint: If you look at his additional code in jSSC-Terminal.zip you get a nice (and essential for using the lib) example how to work with the library!

    Thank you Scream3r for sharing this, you made my day!

    0 讨论(0)
  • 2020-12-09 21:56

    What about JComm ?

    alt text http://sourceforge.net/dbimage.php?id=80836

    0 讨论(0)
  • 2020-12-09 22:02

    Have you tried Javacomm from Sun?

    0 讨论(0)
  • 2020-12-09 22:05

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

    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.

    0 讨论(0)
提交回复
热议问题