From: Grahame J. <gb...@th...> - 2010-09-12 23:38:42
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Hi,<br> <br> I have it working with the following settings using a Cambridge Silicon EDR2.0 Bluetooth dongle on Linux, WinXP SP2+, Win7<br> I have had no luck with dongles that require drivers<br> <br> # REMOTE_BT_MAC can be found via hciconfig on a Linux machine or by digging into the device settings on Windows<br> # You do not need to install a driver on Windows. This method uses the native Bluetooth stack<br> <br> #On the gumstix<br> /etc/default/bluetooth<br> HCIATTACH_ENABLE=true<br> HCIATTACH_TTY=ttyS1<br> HCIATTACH_TYPE=gumstix<br> HCIATTACH_START_SPEED=921600<br> HCIATTACH_SPEED=921600<br> HCIATTACH_HANDSHAKE=flow<br> SDPD_ENABLE=true<br> PAND_ENABLE=true<br> PAND_OPTIONS="--role GN --service PANU --connect REMOTE_BT_MAC --persist"<br> <br> # You can set the name and Class of the Bluetooth device in /etc/bluetooth/main.conf<br> # Name = %h-%d # or anything you like<br> # Class 0x020300 # Not sure if this matters<br> <br> # /var/lib/bluetooth/LOCAL_BLUETOOTH_MAC only appears after /etc/init.d/bluetooth has started<br> # Try hciconfig on Gumstix to show LOCAL_BLUETOOTH_MAC<br> echo "REMOTE_BT_MAC PINCODE" > /var/lib/bluetooth/LOCAL_BLUETOOTH_MAC/pincodes<br> <br> /etc/init.d/bluetooth restart<br> <br> <br> # On Linux host you need to Grant Access and check "Always Grant Access" before you enter the pincode<br> # Windows will prompt for a pincode<br> <br> Hope this helps<br> <br> Grahame Jordan<br> <br> <br> On 10/09/10 19:30, Idruna wrote: <blockquote cite="mid:296...@ta..." type="cite"> <pre wrap=""> So I have WiFi and 3G working, now for Bluetooth :) I did get a PAN working a few weeks ago, but I can't reproduce it on the latest build. This is what I did based on my notes: /etc/bluetooth/main.conf Uncomment the DisablePlugins line hciconfig hci0 piscan pand --master --listen --role GN -n I can connect to the Overo (no pin), but Windows does not see the PAN service, only a serial port and remote control. I also tried leaving main.conf as is and uncommenting the lines in the other bluetooth conf file to enable pand, but no luck either. Any ideas? Thanks in advance.. </pre> </blockquote> <br> <br> <div class="moz-signature">-- <br> <font color="#00559f"><font><font style="font-size: 11pt;" size="2"><b>Glass Expansion</b></font></font></font><br> <font color="#000000"><font style="font-size: 10pt;" size="2">15 Batman Street</font></font><br> <font color="#000000"><font style="font-size: 10pt;" size="2">West Melbourne</font></font><br> <font color="#000000"><font style="font-size: 10pt;" size="2">Victoria 3003</font></font><br> <font color="#000000"><font style="font-size: 10pt;" size="2">AUSTRALIA</font></font><br> <font color="#000000"><font style="font-size: 10pt;" size="2">T: +61 3 9320 1111</font></font><br> <font color="#000000"><font style="font-size: 10pt;" size="2">F: +61 3 9320 1112</font></font><br> <font color="#00559f"><u><a href="http://www.geicp.com/"><font color="#00559f"><font><font style="font-size: 10pt;" size="2">www.geicp.com</font></font></font></a></u></font> <p> <a href="http://www.geicp.com/cgi-bin/site/wrapper.pl?c1=Updates_newproducts_truflo_sample_monitor"><img src="cid:par...@th..." border="0" width="140"></a> <br> <a href="http://www.geicp.com/cgi-bin/site/wrapper.pl?c1=Updates_newproducts_truflo_sample_monitor"><font style="font-size: 11pt;" color="#ff6633" size="2"><b>Click here to check out our new TruFlo Sample Monitor</b></font></a> </p> </div> </body> </html> |