Hi all,
I'm working on BT+BLE functionality on my custom board with Linux running on it. The kernel version is 3.0.35 (compiling the source using LTIB). I've take the uim utility from the http://gitorious.org/uim/uim, and compiled it using our toolchain. The firmware file I'm using is TIInit_7.2.31.bts. The UART is working fine, I've verified the Tx and CTS toggling with echo command using CRO.
But still I'm getting issues with the firmware. The logs are:
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCILL protocol initialized
Bluetooth: Generic Bluetooth USB driver ver 0.6
usbcore: registered new interface driver btusb
Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0
(stc): st_register(2)
(stc): chnl_id list empty :2
(stk) : st_kim_start
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
(stk) :ldisc_install = 1
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
(stk) :line disc installation timed out
(stk) :ldisc_install = 0
(stk) :ldisc_install = 1
(stk) :line disc installation timed out
(stk) :ldisc_install = 0
(stk) :ldisc_install = 1
(stk) :line disc installation timed out
(stk) :ldisc_install = 0
(stk) :ldisc_install = 1
(stk) :line disc installation timed out
(stk) :ldisc_install = 0
(stk) :ldisc_install = 1
(stk) :line disc installation timed out
(stk) :ldisc_install = 0
ti_st_open: st_register failed -22
I've the ti-st driver files st_core, st_kim, st_ll and st_drv. Also I have the btwilink driver and the hci driver files.
The configs are as follows:
CONFIG_BT=y
CONFIG_BT_L2CAP=y
CONFIG_BT_SCO=y
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=y
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=y
#
# Bluetooth device drivers
#
CONFIG_BT_HCIBTUSB=y
# CONFIG_BT_HCIBTSDIO is not set
CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_H4=y
# CONFIG_BT_HCIUART_BCSP is not set
# CONFIG_BT_HCIUART_ATH3K is not set
CONFIG_BT_HCIUART_LL=y
# CONFIG_BT_HCIBCM203X is not set
# CONFIG_BT_HCIBPA10X is not set
# CONFIG_BT_HCIBFUSB is not set
# CONFIG_BT_HCIVHCI is not set
# CONFIG_BT_MRVL is not set
# CONFIG_BT_ATH3K is not set
CONFIG_BT_WILINK=y
CONFIG_RFKILL=y
1. Please suggest me for the error logs. Also let me know the files and their version that i'm using will be compatible or not.
2. For BT and BLE, the BlueZ stack is needed. With the ltib i'm using, I have the bluez-hcidump, bluez-libs and bluez-utils packages
bluez-hcidump-1.29.tar.gz
bluez-libs-2.25-limits_h.patch
bluez-libs-2.25.tar.gz
bluez-utils-2.25-gcc-4.3.patch
bluez-utils-2.25.tar.gz
Will these be enough for BLE working (with this I don't get the bluetoothd)? Or I need to cross-compile the latest blueZ package and integrate?
Please help me to proceed further.
Thanks