world leader in high performance signal processing
Trace:

Differences

This shows you the differences between two versions of the page.

bluetooth_over_uart [2012/08/21 10:18]
sonicz [Hardware settings]
bluetooth_over_uart [2012/08/21 10:23] (current)
sonicz [Attaching a UART based Bluetooth HCI]
Line 84: Line 84:
   * Start hcid daemon   * Start hcid daemon
  
 +Bluez Utility 2.x:
 <code>  <code> 
 root:~> hcid -n & root:~> hcid -n &
Line 91: Line 91:
 </code> </code>
  
-  * Initialize attach Bluetooth HCI+Bluez Utility 4.x: 
 +<code>  
 +root:/> dbus-daemon --system --nofork & 
 +[1] 205 dbus-daemon --system --nofork
  
 +root:/> bluetoothd -n &
 +[2] 207 bluetoothd -n
 +root:/> bluetoothd[207]: Bluetooth deamon 4.87
 +bluetoothd[207]: Starting SDP server
 +bluetoothd[207]: Parsing /etc/bluetooth/input.conf failed: No such file or directory
 +bluetoothd[207]: Parsing /etc/bluetooth/audio.conf failed: No such file or directory
 +bluetoothd[207]: Failed to open RFKILL control device
 +</code>
 +
 +  * Initialize / attach Bluetooth HCI
  
 <code> <code>
Line 101: Line 114:
 </code> </code>
  
 +Bluez Utility 2.x:
 <code> <code>
 root:~> hciattach -n -s 115200 /dev/ttyBF1 any 115200 noflow & root:~> hciattach -n -s 115200 /dev/ttyBF1 any 115200 noflow &
Line 108: Line 122:
 hcid[114]: Starting security manager 0 hcid[114]: Starting security manager 0
 root:~>  root:~> 
 +</code>
 +
 +Bluez Utility 4.x:
 +<code>
 +root:/> Device setup complete
 +bluetoothd[207]: HCI dev 0 registered
 +bluetoothd[207]: Listening for HCI events on hcB0
 +luetooth: Out-of-order packet arrived, got 1 expected 0
 +
 +root:/> 
 +root:/> bluetoothd[207]: HCI dev 0 up
 +bluetoothd[207]: Parsing /etc/bluetooth/serial.conf failed: No such file or directory
 +bluetoothd[207]: Could not get the contents of DMI chassis type
 +bluetoothd[207]: Adapter /org/bluez/207/hci0 has been enabled
 </code> </code>