Java Serial IO

Posted on 2010-01-04
Last Modified: 2013-12-22
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.
Question by:ecuguru
    LVL 40

    Accepted Solution


    Author Comment

    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.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
    Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
    Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now