Searching \ for '[EE] Serial Communications using JAVA' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/io/serials.htm?key=serial
Search entire site for: 'Serial Communications using JAVA'.

Exact match. Not showing close matches.
PICList Thread
'[EE] Serial Communications using JAVA'
2006\07\18@093727 by Luis.Moreira

picon face
Hi Guys,
I need to develop a program using java to communicate via the serial
port to communicate with a uC. I had a look at the Javax.comm package
but it as stopped supporting Windows. Are there any other alternatives
for Java? I have found the rxtx package but it seems a bit complicated
what do you think?
Any experiences welcomed.
Best regards
               Luis





2006\07\18@100940 by Wouter van Ooijen

face picon face
> Are there any other alternatives for Java?

If I may interpret that scentence in a way it was probably not intended:
have a look at Python.

Wouter van Ooijen

-- -------------------------------------------
Van Ooijen Technische Informatica: http://www.voti.nl
consultancy, development, PICmicro products
docent Hogeschool van Utrecht: http://www.voti.nl/hvu


2006\07\18@231314 by Mel Chua

picon face
Two serial libraries I've used with success in the past:
C++ : http://www.codeproject.com/system/serial.asp
Python : http://pyserial.sourceforge.net/
Both are very easy to get started with (the example code should cover most
things).

If you must use Java, there's always Jython. ;-)

-Mel

2006\07\18@232810 by D. Jay Newman

flavicon
face
Sun has a new Serial API for Java, but I've always used RXTX from
http://www.rxtx.org/
--
D. Jay Newman           ! Author of:
spam_OUTjayTakeThisOuTspamsprucegrove.com     ! _Linux Robotics: Programming Smarter Robots_
http://enerd.ws/robots/ ! "Heros aren't born, they're cornered."

2006\07\19@175630 by M. Adam Davis

face picon face
Java was never great for serial ports.  rxtx is the package that most
people use.  It's complicated because java and serial ports just don't
mesh.  You're best bet is to make a wrapper for rxtx that modifies it
to be easy for your app.

-Adam

On 7/18/06, Luis Moreira <.....Luis.MoreiraKILLspamspam@spam@jet.uk> wrote:
{Quote hidden}

> -

2006\07\19@182202 by D. Jay Newman

flavicon
face
> Java was never great for serial ports.  rxtx is the package that most
> people use.  It's complicated because java and serial ports just don't
> mesh.  You're best bet is to make a wrapper for rxtx that modifies it
> to be easy for your app.
> -Adam

I'm curious. What do you find confusing about RXTX? Once you setup the
connection, which is a fairly easy copy/paste job, you just use basic
Java streams/readers/writers.
--
D. Jay Newman           ! Author of:
jayspamKILLspamsprucegrove.com     ! _Linux Robotics: Programming Smarter Robots_
http://enerd.ws/robots/ ! "Heros aren't born, they're cornered."

More... (looser matching)
- Last day of these posts
- In 2006 , 2007 only
- Today
- New search...