From 94b6030c5ad08ab2d691bd9d26b2f88b97edbdd4 Mon Sep 17 00:00:00 2001 From: Alice Kuo Date: Thu, 12 May 2022 17:26:44 +0800 Subject: [PATCH] For BR/EDR/LE device, set CoD bit 14 as LE audio feature is supported 1. Fix PTS BAP/BA/DEBD/BV-01-C 2. Follow BAP specification Bug: 230340013 Test: Pair with the other phone, check the CoD bit in EIR Change-Id: Icc4466ab8d52e2ed373b8c40488497f673d89936 --- device.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/device.mk b/device.mk index 69ad142a..26f804d5 100644 --- a/device.mk +++ b/device.mk @@ -122,14 +122,15 @@ PRODUCT_PRODUCT_PROPERTIES += \ # Set the Bluetooth Class of Device # Service Field: 0x5A -> 90 +# Bit 14: LE audio # Bit 17: Networking # Bit 19: Capturing # Bit 20: Object Transfer # Bit 22: Telephony -# MAJOR_CLASS: 0x02 -> 2 (Phone) +# MAJOR_CLASS: 0x42 -> 66 (Phone) # MINOR_CLASS: 0x0C -> 12 (Smart Phone) PRODUCT_PRODUCT_PROPERTIES += \ - bluetooth.device.class_of_device=90,2,12 + bluetooth.device.class_of_device=90,66,12 # Set supported Bluetooth profiles to enabled PRODUCT_PRODUCT_PROPERTIES += \