![]() |
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.
|
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.
|
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.
|
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:20 PM. |