rockchip 蓝牙

1、在dts中

 

2、在rk3568\device\rockchip\common\init.connectivity.rc中加入

chmod 0660 /dev/ttyS3

3、在rk3568\device\rockchip\common\ueventd.rockchip.rc中加入

/dev/ttyS3 0660 bluetooth net_bt

4、在rk3568\device\rockchip\rk356x_box\rk356x_box\bt_vendor.conf中加入蓝牙对应的串口

UartPort = /dev/ttyS3

UartPort对应的蓝牙实际使用的串口ttySx,至于这个x是几,需要看dtsi文件,如下,一般是一一对应的。

 UartPort这个值可以在hardware中查到,rk3568\hardware\broadcom\libbt\src\conf.c

 hciconfig暂未尝试

bluealsa暂未尝试

bluetoothd -n & bluez协议栈 暂未尝试

posted @ 2022-06-01 21:30  xahsxd1056  阅读(410)  评论(0)    收藏  举报