Set default the Bluetooth class of device
The class of device is a string with a list of uint8t values: 90,66,12 The meaning is as follows: {Service Field, Major class, Minor class} Service Field: 0x5A -> 90 Bit 14: LE audio Bit 17: Networking Bit 19: Capturing Bit 20: Object Transfer Bit 22: Telephony MAJOR_CLASS: 0x42 -> 66 (Phone) MINOR_CLASS: 0x0C -> 12 (Smart Phone) Bug: 268583002 Test: Check COD Change-Id: I46b62aa06296f3b565cd35da5d6742ab0b30fab8
This commit is contained in:
parent
700b5287f8
commit
7a061bb7f5
1 changed files with 12 additions and 0 deletions
12
device.mk
12
device.mk
|
@ -143,6 +143,18 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
persist.vendor.ril.enable_set_screen_state=1
|
persist.vendor.ril.enable_set_screen_state=1
|
||||||
|
|
||||||
|
# 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: 0x42 -> 66 (Phone)
|
||||||
|
# MINOR_CLASS: 0x0C -> 12 (Smart Phone)
|
||||||
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
|
bluetooth.device.class_of_device=90,66,12
|
||||||
|
|
||||||
# Set supported Bluetooth profiles to enabled
|
# Set supported Bluetooth profiles to enabled
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
bluetooth.profile.asha.central.enabled=true \
|
bluetooth.profile.asha.central.enabled=true \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue