mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-02-01 06:05:20 +00:00
c7bf0ce67e3547cec41a6cdced74e428460e3cac
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: I24fd57bacbf6786a26f7079e7a6e9857dbe170d1
Copyright (C) 2020 The LineageOS Project Copyright (C) 2020-2021 Paranoid Android.
Common device tree for Xiaomi SM6150 based devices
Description
Languages
C++
82.9%
C
13.4%
Makefile
1.7%
Shell
1%
M4
0.6%
Other
0.4%