my dog learned polymorphism
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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: 9169

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!