Bluetooth rfcomm connect on boot

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Bluetooth rfcomm connect on boot

Postby Domentarion » Thu Dec 25, 2014 11:12 am

Hi guys,

I have a raspberry pi b+ to communicate to several arduinos. So I paired the devices and trust them of course. So I created a serial connection to communicate to the devices. I need to run $this->bbcode_second_pass_code('', 'rfcomm connect rfcomm0 30:14:09:19:16:55 > /dev/null & ')

So I created a rfcomm.conf :

$this->bbcode_second_pass_code('', '
rfcomm0 {

# Automatically bind the device at startup
bind yes;
#bind no;

# Bluetooth address of the device
device 30:14:09:19:16:55;

# RFCOMM channel for the connection
channel 1;

# Description of the connection
comment "HC-06";
}
')

But the device /dev/rfcomm0 does not exists! So my question is how can I create automatically the connection when the raspberry boots?
Domentarion
 
Posts: 1
Joined: Thu Dec 25, 2014 10:56 am

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 8 guests