Quantcast
Channel: Intel Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 41305

Pairing Intel Galileo w/Device via Bluetooth

$
0
0

Hi all,

 

I want to connect my cell phone via bluetooth with my Galileo. I am using the suggested wireless card N135. I am using the SD linux image. I would like to pair my device to control galileo. This is what i have right now.

 

 

 

 
void setup() {
// put your setup code here, to run once:
delay(1000);
system("hciconfig hci0 up > /dev/ttyGS0");
system("hciconfig > /dev/ttyGS0");
system("hcitool scan > /dev/ttyGS0");
system("bluetooth-agent 0000 & > /dev/ttyGS0");
system("rfcomm connect rfcomm0");
}
void loop() {
// put your main code here, to run repeatedly:
}

I also edit the rfcomm.conf

 

 

rfcomm0{      ind yes;
 device 11:22:33:44:55:66;
 channel 1;
 comment "example bluetooth device";
 }

Viewing all articles
Browse latest Browse all 41305

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>