-   Linux - Networking (
-   -   Bluetooth Serial connection using Rfcomm (

gopi.d 01-21-2008 05:59 AM

Bluetooth Serial connection using Rfcomm
i want to connect to my mobile through bluetooth serial port service i tried with rfcomm but unable to connect. can anybody explain how to connect a mobile to bluetooth serial port using Rfcomm.

Hangdog42 01-21-2008 08:28 AM

I found this wiki entry to be very helpful in setting up rfcomm. As long as rfcomm support is enabled in your kernel, this should work.

gopi.d 02-05-2008 11:33 PM

i had done the setup as said in the wiki entry and got the rfcomm connection created but when trying to communicate over rfcomm i get the error "unable to connect through rfcomm0 connection refused" it seems there is some problem in permissions to rfcomm. how to enable permissions for rfcomm for root account as i'm not using any user accounts.

Hangdog42 02-06-2008 08:42 AM

I set the permissions with a custom udev rule:

KERNEL=="rfcomm[0-9]*", NAME="%k", GROUP="users"

Then you would just change the GROUP to whatever group you need to give access to rfcomm.

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