> 文章列表 > sdx12使能bluetooth

sdx12使能bluetooth

sdx12使能bluetooth

最后的效果:
sdx12使能bluetooth

1.驱动使能

apps_proc/kernel/msm-5.4/arch/arm/configs/vendor/sdxnightjar.config
#add bt driver
CONFIG_BT=y
CONFIG_MSM_BT_POWER=y

使用的芯片是sdx12 +QCA6174A-1
管脚配置如下(如果管脚不同,需要修改对应的dts):
bt_en pdm9655 gpio8 Bluetooth enable. Active high
tx-sdx12 gpio4
tx-sdx12 gpio5
cts-sdx12 gpio6
rts-sdx12 gpio7
./vendor/qcom/proprietary/devicetree/qcom/sdxnightjar-bluetooth.dtsi

2.开启app(默认是开启的)
bt-property
bt-app
bt-services