LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 06-24-2004, 07:48 AM   #1
philipina
Member
 
Registered: May 2003
Posts: 77

Rep: Reputation: 15
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.
 
Old 06-24-2004, 10:16 AM   #2
philipina
Member
 
Registered: May 2003
Posts: 77

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is import javax.swing.*; Dutchman Programming 4 06-16-2005 11:12 AM
javax.media.jai.RenderedOp to byte[] csfalcon Programming 0 04-13-2005 12:34 PM
getting javax.swing.* to appear student04 Programming 8 10-05-2004 11:06 AM
javax.swing doesn't work israel Programming 4 02-20-2004 12:59 AM
javax comm for suse linux kingshrimp Linux - Newbie 4 11-26-2003 10:19 AM


All times are GMT -5. The time now is 08:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration