From 55154a023d46c30d4a7badbddafdb387f37c0d29 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 19 Sep 2023 14:45:21 +0200 Subject: [PATCH] samsung tv: match supported features --- src/classic/avrcp.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/classic/avrcp.c b/src/classic/avrcp.c index f9533a58e..0ff932d72 100644 --- a/src/classic/avrcp.c +++ b/src/classic/avrcp.c @@ -255,6 +255,13 @@ void avrcp_create_sdp_record(uint8_t controller, uint8_t * service, uint32_t ser uint8_t* attribute; de_create_sequence(service); + // samsung tv testing + if (controller){ + supported_features = 0x004f; + } else { + supported_features = 0x005f; + } + // 0x0000 "Service Record Handle" de_add_number(service, DE_UINT, DE_SIZE_16, BLUETOOTH_ATTRIBUTE_SERVICE_RECORD_HANDLE); de_add_number(service, DE_UINT, DE_SIZE_32, service_record_handle);