Re: [beagleboard] Bluetooth over UART

877 views
Skip to first unread message

Jacek Radzikowski

unread,
Mar 17, 2013, 3:00:42 PM3/17/13
to beagl...@googlegroups.com
It doesn't look like a BT adapter but like a BT to serial bridge. Just use it as any other device connected to a serial port. I don't know this module, but I'd assume that once configured it is completely transparent. Everything what you send to it is transmitted to the rfcomm on the other end, everything what the other rfcomm transmits is send to your beaglebone.
Linux's bluetooth stack will not work with it and there is no need to use it. Just configure the module (name, serial speed, etc), pair with the other device and forget that you have it.

j.


On Sun, Mar 17, 2013 at 1:36 PM, <iceon...@gmail.com> wrote:
Hi

I had a hard time configuring Bluetooth module to work on the BeagleBoard. I have StMicroelectronics SPBT2632C1A connected at UART 5.
I had load hci_uart module, and then configuring RXD and TXD with:

root@beaglebone:~# echo 4 > /sys/kernel/debug/omap_mux/lcd_data8
root@beaglebone:~# echo 24 > /sys/kernel/debug/omap_mux/lcd_data9

and the I called the hciattach /dev/ttyO5 st 115200 noflow

Then, the dmesg output:
[  403.407623] Bluetooth: HCI UART driver ver 2.2
[  403.407623] Bluetooth: HCI H4 protocol initialized
[  403.407653] Bluetooth: HCI BCSP protocol initialized
[  403.407653] Bluetooth: HCILL protocol initialized
[  403.407653] Bluetooth: HCIATH3K protocol initialized
[  803.012237] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  803.012237] Bluetooth: BNEP filters: protocol multicast
[  803.914031] Bluetooth: hci0 command tx timeout
[  804.914093] Bluetooth: hci0 command tx timeout
[  805.914031] Bluetooth: hci0 command tx timeout
[  806.914031] Bluetooth: hci0 command tx timeout
[  807.914031] Bluetooth: hci0 command tx timeout
[  808.914031] Bluetooth: hci0 command tx timeout
[  809.914031] Bluetooth: hci0 command tx timeout/var/lib/connman/settings

[  810.914031] Bluetooth: hci0 command tx timeout
[  811.914031] Bluetooth: hci0 command tx timeout
[  812.914031] Bluetooth: hci0 command tx timeout
[  813.914001] Bluetooth: hci0 command tx timeout
[  814.914062] Bluetooth: hci0 command tx timeout

Here is also the lsmod output:
Module                  Size  Used by
bnep                    7907  2
hci_uart               11970  2
spidev                  3912  0
ip_tables               7854  0
x_tables               14548  1 ip_tables
g_mass_storage         24058  0
rfcomm                 24371  0
ircomm_tty             14101  0
ircomm                  8435  1 ircomm_tty
irda                   85617  2 ircomm_tty,ircomm
hidp                   10240  0
bluetooth             110070  14 bnep,hci_uart,rfcomm,hidp
rfkill                 14637  3 bluetooth
ipv6                  210864  16


The module had been testes BusPirate and It has reponded with it is BD address. I even checked /var/lib/conman/settings
and the Bluetooth is enbaled. I also issued rfkill unblock all, but in vain.

By the way, I am using the Beaglebone REV.A6a with kernel 3.2.28 and bluez 4.99-r1.

Any suggestion is welcomed
Thanks in advance

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Given a choice between two theories, take the one which is funnier
Reply all
Reply to author
Forward
0 new messages