LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 06: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, 09: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



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 10:12 AM
javax.media.jai.RenderedOp to byte[] csfalcon Programming 0 04-13-2005 11:34 AM
getting javax.swing.* to appear student04 Programming 8 10-05-2004 10:06 AM
javax.swing doesn't work israel Programming 4 02-19-2004 11:59 PM
javax comm for suse linux kingshrimp Linux - Newbie 4 11-26-2003 09:19 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:27 PM.

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
Open Source Consulting | Domain Registration