summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2022-10-03 18:22:43 +0530
committerAmit Pundir <amit.pundir@linaro.org>2022-10-07 13:49:38 +0530
commitf707942776d45d238e7fc143afa4a531c1cbdde3 (patch)
tree3c17f58c9fad50e363164c15558aad953b0af561
parent9441a3a525365f21bb687f77922236e62fa6a559 (diff)
downloadhikey-f707942776d45d238e7fc143afa4a531c1cbdde3.tar.gz
product.prop: Update bluetooth properties
Set default Bluetooth class of device and update LE Audio profile properties to match spec and implementation. Copied from Cuttlefish. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: Ic8a85d55888ecf7eeb24cd0c9d604d0d43a58ebc
-rw-r--r--product.prop18
1 files changed, 14 insertions, 4 deletions
diff --git a/product.prop b/product.prop
index 2499291e..29b74bba 100644
--- a/product.prop
+++ b/product.prop
@@ -1,11 +1,22 @@
# System props to enable aac vbr feature
persist.bluetooth.a2dp_aac.vbr_supported=true
+
+# Set the Bluetooth Class of Device
+# Service Field: 0x5A -> 90
+# Bit 17: Networking
+# Bit 19: Capturing
+# Bit 20: Object Transfer
+# Bit 22: Telephony
+# MAJOR_CLASS: 0x02 -> 2 (Phone)
+# MINOR_CLASS: 0x0C -> 12 (Smart Phone)
+bluetooth.device.class_of_device=90,2,12
+
# Set supported Bluetooth profiles to enabled
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.server.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
@@ -19,6 +30,5 @@ 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.tbs.server.enabled=true
-bluetooth.profile.vc.server.enabled=true
+bluetooth.profile.ccp.server.enabled=true
+bluetooth.profile.vcp.controller.enabled=true