diff options
author | Sal Savage <salsavage@google.com> | 2022-04-25 16:43:16 -0700 |
---|---|---|
committer | sinanmohd <pcmsinan@gmail.com> | 2023-01-05 21:27:38 +0530 |
commit | 77bf171d4ddee25d8526f4e7009383747a9cda55 (patch) | |
tree | eeeefd5212f2ff47fcd469bc696447fac2110e40 /gps/utils/loc_misc_utils.cpp | |
parent | 69997081fa353a5ce1a8368e5191654c9b7d41a8 (diff) |
veux: 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: I24fd57bacbf6786a26f7079e7a6e9857dbe170d1
Diffstat (limited to 'gps/utils/loc_misc_utils.cpp')
0 files changed, 0 insertions, 0 deletions