I am trying to control two arduino robots through raspberry pi using Bluetooth, I have already created the rfcomm file to control one robot, should i include the address of the second one in same rfcomm file? if yes, could someone please tell me how?I've done this is it correct?please ignore the 'enter code here' part everywhere
RFCOMM configuration file.
enter code here
rfcomm0 { enter code here
# Automatically bind the device at startup enter code here
bind yes;
`enter code here` # Bluetooth address of the device
`enter code here`device 30:14:10:15:20:90;
`enter code here` # RFCOMM channel for the connection
`enter code here` channel 0;
`enter code here`# Description of the connection
`enter code here`comment "Example Bluetooth device";
enter code here
}
enter code here
rfcomm1 { enter code here
# Automatically bind the device at startup enter code here
bind yes;
`enter code here`# Bluetooth address of the device
`enter code here` device 10:14:06:16:00:09;
`enter code here` # RFCOMM channel for the connection
`enter code here` channel 0;
`enter code here` # Description of the connection
`enter code here` comment "Example Bluetooth device";
enter code here
}`
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire