From: Bruno Martins Date: Thu, 26 Oct 2023 21:10:27 +0000 (+0100) Subject: sabrina: bluetooth: Remove BTA_DM_COD X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4319d053796cc7fa1664f4afb6167a7348655845;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_google_sabrina.git sabrina: bluetooth: Remove BTA_DM_COD BTA_DM_COD can no longer be defined. Instead, the class of the device is now set via bluetooth.device.class_of_device sysprop, which Google configures for ATV devices (in device/google/atv project) as follows: Class of Device Service Class: 0x2C -> 44 (Rendering, Capturing, Audio) Major Device Class: 0x04 -> 4 (Audio/Video) Minor Device Class: 0x20 -> 32 (Set-top box) // default value, should be set to 0x3C for a TV Change-Id: Ie54d6528d4e8a31a1f7a4e06ab577488e337c184 --- diff --git a/bluetooth/include/bdroid_buildcfg.h b/bluetooth/include/bdroid_buildcfg.h index 91e2501..eca5a93 100644 --- a/bluetooth/include/bdroid_buildcfg.h +++ b/bluetooth/include/bdroid_buildcfg.h @@ -1,5 +1,5 @@ /* -* Copyright (C) 2021 The LineageOS Project +* Copyright (C) 2021-2023 The LineageOS Project * * SPDX-License-Identifier: Apache-2.0 */ @@ -11,8 +11,6 @@ #define BLE_VND_INCLUDED TRUE -#define BTA_DM_COD {0x20, BTM_COD_MAJOR_AUDIO, BTM_COD_MINOR_SET_TOP_BOX} - #define BTM_BLE_CONN_INT_MIN_DEF 0x18 #define BTM_BLE_CONN_INT_MAX_DEF 0x28 #define BTM_BLE_CONN_TIMEOUT_DEF 200