This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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: 9154

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!