CSR8811 bluetooth debug summary

1.Q:add bluetooth power
A:add bluetooth power need depend on android interface,the path of android interface:system/Bluetooth/bluedroid/bluetooth.c.Because of the bluetooth.c use rfkill,we use rfkill mechanism to provide bluetooth power.
2.Q:linux protocol
A:check hci_bcsp.o/hci_ldisc.o/hci_uart.o in path of drivers/bluetooth,if not, we need check the kconfig in the path of drivers/kconfig,because we need hci_bcsp.o/hci_ldisc.c/hci_uart.o for csr chip.
3.Q:linux net part
A:We need excute the command of make menuconfig”
networking --- Bluetooth subsystem support :
L2CAP protocol support
SCO links support
RFCOMM protocol support
RFCOMM TTY support
BNEP protocol support
HIDP protocol support
We use csr chip need choose the HCI UART /driver BCSP protocol
4.Q:error log :I/bluedroid( 1152): bt_enable: ret: -1, errno: 19
A:Because adroid don’t create the sco_socket to provide the hci0 interface for communicating bluez and chip.
5.Q:add service to start property for bluet...

你可能感兴趣的:(android,bluetooth)