File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes I/O and Streams and the fly likes Serial Port I/O RS-232 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Serial Port I/O RS-232" Watch "Serial Port I/O RS-232" New topic

Serial Port I/O RS-232

Mike Southgate
Ranch Hand

Joined: Jul 18, 2003
Posts: 183
I need to get data from a device connected to my serial port. I have a listing of the protocols the device uses but have never done any io on the serial ports before. Where would I go to get a good tutorial on the subject?


ms<br />SCJP, SCJD
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

First you have to install the Java Comm API. The User's Guide has some simple examples.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Serial Port I/O RS-232
It's not a secret anymore!