From ff866f4b90e1a99d10ab9ccc0d87d064839c440c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Gapi=C5=84ski?= Date: Tue, 11 Apr 2023 16:53:40 +0200 Subject: [PATCH] Add Bluetooth profile properties --- .../devices-community/gd_rpi4/device.mk | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/aosptree/vendor/devices-community/gd_rpi4/device.mk b/aosptree/vendor/devices-community/gd_rpi4/device.mk index 9c59603..39a8261 100644 --- a/aosptree/vendor/devices-community/gd_rpi4/device.mk +++ b/aosptree/vendor/devices-community/gd_rpi4/device.mk @@ -66,3 +66,29 @@ PRODUCT_VENDOR_PROPERTIES += \ # It is the only way to set ro.hwui.use_vulkan=true #TARGET_USES_VULKAN = true + +# Bluetooth +PRODUCT_VENDOR_PROPERTIES += \ + bluetooth.device.class_of_device=90,2,12 \ + bluetooth.profile.asha.central.enabled=true \ + bluetooth.profile.a2dp.source.enabled=true \ + bluetooth.profile.avrcp.target.enabled=true \ + bluetooth.profile.bap.broadcast.assist.enabled=true \ + bluetooth.profile.bap.unicast.client.enabled=true \ + bluetooth.profile.bas.client.enabled=true \ + bluetooth.profile.csip.set_coordinator.enabled=true \ + bluetooth.profile.gatt.enabled=true \ + bluetooth.profile.hap.client.enabled=true \ + bluetooth.profile.hfp.ag.enabled=true \ + bluetooth.profile.hid.device.enabled=true \ + bluetooth.profile.hid.host.enabled=true \ + bluetooth.profile.map.server.enabled=true \ + bluetooth.profile.mcp.server.enabled=true \ + bluetooth.profile.opp.enabled=true \ + bluetooth.profile.pan.nap.enabled=true \ + bluetooth.profile.pan.panu.enabled=true \ + bluetooth.profile.pbap.server.enabled=true \ + bluetooth.profile.sap.server.enabled=true \ + bluetooth.profile.ccp.server.enabled=true \ + bluetooth.profile.vcp.controller.enabled=true \ + persist.bluetooth.a2dp_aac.vbr_supported=true \ No newline at end of file