Ler porta serial

Bom dia Pessoal !



Preciso ler os dados vindos de uma porta serial pelo java. Alguem pode me dizer como devo fazer isto.



[ ]´s



Rômulo

Daí

Conseguiu resolver o problema ?

Tenta usar o java.io .

Podes postar a solução pra gente poder ter aqui no fórum ?

[]s

Bom Dia Romulo,

tenta a API JavaComm:

The Java Communications API contains support for RS232 serial ports and IEEE 1284 parallel ports. With updated functionality, developers can:
Enumerate ports available on the system
Open and claim ownership of ports
Resolve port ownership contention between multiple applications
Perform asynchronous and synchronous I/O on ports
Receive Beans-style events describing communication port state changes

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