Fazecast / jSerialComm

Platform-independent serial port access for Java
GNU Lesser General Public License v3.0
1.35k stars 287 forks source link

Linux (Raspberry PI3 Ubuntu Mate) #40

Closed ptlh1969 closed 7 years ago

ptlh1969 commented 8 years ago

I have been cracking my head on getting my java jframe (not android) connect to /dev/rfcomm0. Able to see data flowing thru /dev/rfcomm0. using 3rd party linux hyperterminal apps cutecom. By the way only able to list /dev/ttyS0 and /dev/ttyAMA0 but NOT /dev/rfcomm0

Is the jserialcomm support on rfcomm (Linux) ? Maybe I am not sure how to do it or use it wrongly.

It works perfectly with windows. Please help me.

mrtnster commented 8 years ago

It actually works if you open it by path: SerialPort myPort = SerialPort.getCommPort("/dev/rfcomm0"); But it is not listed in the array of available ports which may be considered as a bug.

hedgecrw commented 7 years ago

This has been corrected and will be present in the 1.4.0 library release.