From 4d3066fbc1a088dee403f5c32fe89a629b22d46e Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Thu, 26 Oct 2023 22:10:27 +0100 Subject: [PATCH] deadpool: 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 --- bluetooth/include/bdroid_buildcfg.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bluetooth/include/bdroid_buildcfg.h b/bluetooth/include/bdroid_buildcfg.h index 96a1e5d..af6cdb8 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 -- 2.20.1