summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSal Savage <salsavage@google.com>2022-04-25 16:39:45 -0700
committerDorin Drimus <dorindrimus@google.com>2022-04-27 16:34:07 +0000
commite7ad20803007f947986cf74fecd17aec22fef326 (patch)
tree9d1413f61df3f9ca6a84872928cdd12845fe6f87
parentb6b116ebae1865eef6ce86fafc487fb774660a81 (diff)
downloadatv-e7ad20803007f947986cf74fecd17aec22fef326.tar.gz
Set default the Bluetooth class of device for TV devices
The class of device is a string with a list of uint8t values: 44,4,32 -> {0x2C,0x04,0X20} Bug: 217452259 Test: make -j; -- check that bluetooth.device.class_of_device is correct Change-Id: I38e3b31b5fdfbbbe164c1c67dcab47d1c0128190
-rw-r--r--products/atv_vendor.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/products/atv_vendor.mk b/products/atv_vendor.mk
index 5a20629..cc046ce 100644
--- a/products/atv_vendor.mk
+++ b/products/atv_vendor.mk
@@ -26,3 +26,11 @@ PRODUCT_PACKAGES += \
# To enable access to /dev/dvb*
BOARD_SEPOLICY_DIRS += device/google/atv/sepolicy/vendor
+
+# Configure Bluetooth
+# Class of Device
+# Service Class: 0x2C -> 44 (Rendering, Capturing, Audio)
+# Major Device Class: 0x04 -> 4 (Audio/Video)
+# Minor Device Class: 0x20 -> 32 (Set-top box) // default value, should be set to 0x3C for a TV
+PRODUCT_VENDOR_PROPERTIES += \
+ bluetooth.device.class_of_device?=44,4,32