Commit 1ec81619 authored by Sal Savage's avatar Sal Savage Committed by Adam Lawson
Browse files

nicky: 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: default avatarCykeek <Cykeek@proton.me>
parent 8d3a3429
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@ ro.af.client_heap_size_kbyte=7168
# Bluetooth
persist.vendor.btstack.aac_frm_ctl.enabled=true
ro.bluetooth.library_name=libbluetooth_qti.so
bluetooth.device.class_of_device=90,2,12

# Charger
ro.charger.enable_suspend=true