Tool/software: Linux
Hi All,
I am using AM57xx EVM for Bluetooth interface with WL18xx, for that I am following TI Bluetooth Stack WL18xx guide,
Using Bluetopia stack, i am able scan and pair with deices but unable to do data transfer with another device(non WL18xx such as PC/Android device).
I am also unable to find hci0 interface in my root file system when i give hciconfig -a. I know bluetooth device is attached to /dev/ttyS7 - using which able to make hci0 attach (hciattach /dev/ttyS7 any 3000000 noflow) gives the bluetooth adapter in hciconfig -a list but unable to make it up.
Why am i unable to get hci0 interface as Bluetopia only meant for the same devices on both ends, my application is to communicate with different bluetooth device.
Note: I am using ti-processor-sdk-linux-am57xx-evm-04.03.00.05
Following kernel modules are already enable,
#
# Bluetooth device drivers
#
CONFIG_BT_INTEL=m
CONFIG_BT_BCM=m
CONFIG_BT_RTL=m
CONFIG_BT_HCIBTUSB=m
CONFIG_BT_HCIBTUSB_BCM=y
CONFIG_BT_HCIBTUSB_RTL=y
CONFIG_BT_HCIBTSDIO=y
CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
# CONFIG_BT_HCIUART_ATH3K is not set
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_HCIUART_3WIRE=y
# CONFIG_BT_HCIUART_INTEL is not set
# CONFIG_BT_HCIUART_BCM is not set
# CONFIG_BT_HCIUART_QCA is not set
# CONFIG_BT_HCIUART_AG6XX is not set
# CONFIG_BT_HCIUART_MRVL is not set
CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBPA10X=m
CONFIG_BT_HCIBFUSB=m
CONFIG_BT_HCIVHCI=y
CONFIG_BT_MRVL=m
CONFIG_BT_MRVL_SDIO=m
# CONFIG_BT_ATH3K is not set
# CONFIG_AF_RXRPC is not set
# CONFIG_AF_KCM is not set
# CONFIG_STREAM_PARSER is not set
CONFIG_FIB_RULES=y
CONFIG_WIRELESS=y
Logs:
root@Linux:~#
root@Linux:~# hciconfig -a
hci0: Type: BR/EDR Bus: UART
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:24 acl:0 sco:0 commands:6 errors:0
Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DH1 HV1
Link policy:
Link mode: SLAVE ACCEPT
root@Linux:~# hciconfig hci0 up
[ 1379.685197] Bluetooth: hci0 command 0x1003 tx timeout
[ 1391.845239] Bluetooth: hci0 command 0x1001 tx timeout
[ 1404.005282] Bluetooth: hci0 command 0x1009 tx timeout
Can't init device hci0: Connection timed out (110)
root@Linux:~#
So, please provide few pointers regarding the same ASAP.
Thanks and Regards,
Snehal Patel