Bluez and javax.comm ---> NoSuchPortException
Hi,
I have correctly installed Bluez driver under linux with a serial port emulation "/dev/rfcomm1". I can open this port with minicom but if I try to use it with the java API java javax.comm I receive the error message "NoSuchPortException". I don't know if this error comes from a wrong installation of javax.comm or a problem between the API and bluez driver. Thanks in advance for your help. Alain. |
Hi,
I finally solved my problem by myself. Maybe javax.comm absolutely needs a ttySx string. I have made a symbolic link between ttyS9 and rfcomm1 "ln -s rfcomm1 ttyS9" and if I use ttyS9 as com port parameter it works fine. Alain. |
All times are GMT -5. The time now is 04:11 PM. |