Starting RFCOMM with Bluetooth

Ask questions about Arch Linux ARM. Please search before making a new topic.

Starting RFCOMM with Bluetooth

Postby crankshaft » Tue Aug 20, 2013 4:38 am

Hi all;

I am trying to add a bluetooth serial port, I am able to pair the device and to bind it manually using rfcomm:

$this->bbcode_second_pass_code('', '
rfcomm bind /dev/rfcomm0 00:19:5D:EE:3E:04 1
')

But following the instructions here: https://wiki.archlinux.org/index.php/Bl ... GPRS_Howto - it suggests that I add the following:
$this->bbcode_second_pass_code('', '
/etc/bluetooth/rfcomm.conf
bind yes;
device 00:19:5D:EE:3E:04;
channel 1;
comment "BT Serial Port";
')

and edit the following:
$this->bbcode_second_pass_code('', '
/etc/conf.d/bluetooth.conf
# Activate rfcomm ports (default: false)
RFCOMM_ENABLE="true"
')

however /etc/conf.d/bluetooth.conf does not exist. I do have a /etc/dbus-1/system.d/bluetooth.conf file, however that appears to be in a <xml> type format.

How can I automatically bind using rfcomm and start rfcomm automatically when bluetooth starts up ?

Many thanks
crankshaft
 
Posts: 15
Joined: Sat Feb 16, 2013 8:49 am

Return to User Questions

Who is online

Users browsing this forum: No registered users and 20 guests