CSR8811 bluetooth debug summary

本文深入探讨了如何在Linux内核中集成蓝牙设备,并详细解释了蓝牙协议、蓝牙服务配置、错误日志解析及启动属性添加等关键步骤。通过分析蓝牙设备与Linux系统之间的交互过程,为开发者提供了宝贵的指导。
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...
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值