mondrianwifi: 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)
This commit is contained in:
nyyu 2022-10-09 12:02:26 +02:00
parent 2c49f89653
commit 28fecc7ce6

View file

@ -22,6 +22,7 @@ ro.kernel.ebpf.supported=false
# Bluetooth # Bluetooth
bluetooth.device.default_name=Samsung Galaxy Tab Pro 8.4 bluetooth.device.default_name=Samsung Galaxy Tab Pro 8.4
bluetooth.device.class_of_device=90,2,12
vendor.qcom.bluetooth.soc=smd vendor.qcom.bluetooth.soc=smd
ro.bluetooth.a2dp_offload.supported=false ro.bluetooth.a2dp_offload.supported=false
ro.bt.bdaddr_path=/efs/bluetooth/bt_addr ro.bt.bdaddr_path=/efs/bluetooth/bt_addr