Java Serial IO

Does anyone have any simple Java Serial IO code?

I'm trying to open a serial port, and read in data until a carriage return comes in.  When it does, pass the serial buffer up to the carriage return to a function, and keep listening on the serial port to do it all over again.  It's for a GPS / NMEA parser.
Who is Participating?
ecuguruAuthor Commented:
Well I was hoping someone might have a relevant code snippet, rather than just the tutorials. I flipped through sone of those before I posted. But if nobody comes up with anything I'll kick you the points.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.