Help...

Hi, I am trying to write a Java program that allows the communicate with Computer's Communication ports (Serial/Parallel or USB) or the Infa-red communication port. At this moment, i still cannot find any ways to communicate with any of the ports. Any one have any ideas what packages i should use ? Please help

Signed

Wilson

[346 byte] By [spacerevo] at [2007-9-30 21:00:15]
# 1

Hi

,

For serial/parallel there is the standard java communications API (javax.comm):

http://java.sun.com/products/javacomm/index.jsp

There is a chapter about this API in O'Reilys Java I/O.

I googled for JAVA USB API and there is JSR80 that comes up.

There are also some open source API's around. All on the first google page.

I don't know if there is such a thing for an infrared port.

I have to mention that I have so far never used any of these.

Cheers,

Michael

crazy_scientist7375 at 2007-7-7 2:32:25 > top of Java-index,Administration Tools,Sun Connection...