LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Bluetooth Serial connection using Rfcomm (http://www.linuxquestions.org/questions/linux-networking-3/bluetooth-serial-connection-using-rfcomm-615139/)

gopi.d 01-21-2008 04: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 07: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 10: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 07: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 10:35 PM.