diff options
author | Sal Savage <salsavage@google.com> | 2022-04-25 16:42:02 -0700 |
---|---|---|
committer | Sal Savage <salsavage@google.com> | 2022-05-02 13:28:57 -0700 |
commit | 9def2de92d603165c6b09efaaeb3193269ca2a23 (patch) | |
tree | f868a0f8846665b8eed5005f407af970f6d4421d | |
parent | 2411804e2ecd7f681eebe470b65f1eef4b8e6deb (diff) | |
download | bonito-9def2de92d603165c6b09efaaeb3193269ca2a23.tar.gz |
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
Merged-In: I70301be5e19f2cbc39b626621a62bc529974ca56
Change-Id: I70301be5e19f2cbc39b626621a62bc529974ca56
-rw-r--r-- | product.prop | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/product.prop b/product.prop index 0139ccbe..1d0970c4 100644 --- a/product.prop +++ b/product.prop @@ -90,6 +90,16 @@ persist.bluetooth.bqr.min_interval_ms=500 # Bluetooth operating voltage in millivolts bluetooth.hardware.power.operating_voltage_mv=3300 +# 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 |