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?