-   Programming (
-   -   Bluez and javax.comm ---> NoSuchPortException (

philipina 06-24-2004 07:48 AM

Bluez and javax.comm ---> NoSuchPortException

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.


philipina 06-24-2004 10:16 AM


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.


All times are GMT -5. The time now is 03:39 AM.