Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 589
  • Last Modified:

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.
0
ecuguru
Asked:
ecuguru
1 Solution
 
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.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now