From 9657fed2288bda021307833c230c87d39883e8f7 Mon Sep 17 00:00:00 2001 From: Sal Savage Date: Mon, 25 Apr 2022 16:42:15 -0700 Subject: [PATCH] sdm660-common: Set default the Bluetooth class of device The class of device is a string with a list of uint8t values: 90,2,12 The meaning is as follows: {Service Field, Major class, Minor class} 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) Bug: 217452259 Test: make -j; -- check that bluetooth.device.class_of_device is correct Change-Id: I07e83ca352ff969be0e53a0f63b6c940b6c34dfb Signed-off-by: pix106 --- properties/system_ext.prop | 3 +++ 1 file changed, 3 insertions(+) diff --git a/properties/system_ext.prop b/properties/system_ext.prop index 959989ab..750d527f 100644 --- a/properties/system_ext.prop +++ b/properties/system_ext.prop @@ -1,3 +1,6 @@ +# Bluetooth +bluetooth.device.class_of_device=90,2,12 + # QCOM persist.vendor.dpm.feature=11 persist.vendor.dpm.nsrm.bkg.evt=3955