From 0d6cebf8ee59e5b421d706dc7ae0b442d880a493 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 18 Mar 2020 11:30:29 +0100 Subject: [PATCH] sdp_client: query attributes 0x0000..0xffff instead of 0x0001..0xffff to match other stacks / improve compatibility with bad sdp server implementations --- CHANGELOG.md | 2 +- src/classic/sdp_client.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f528cdff5..d2f507d19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,7 +25,7 @@ hci_cmd: added hci_read_inquiry_scan_activity and hci_write_inquiry_scan_activit ### Changed - AVRCP Target: volume in avrcp_target_volume_changed is reported as current value in interim response to register for volume change notifications - +- SDP Client: query attributes 0x0000..0xffff instead of 0x0001..0xffff to match other stacks / improve compatibility with bad sdp server implementations ## Changes Februar 2020 diff --git a/src/classic/sdp_client.c b/src/classic/sdp_client.c index 32ccf06d4..680d81a04 100644 --- a/src/classic/sdp_client.c +++ b/src/classic/sdp_client.c @@ -88,7 +88,7 @@ static void sdp_client_parse_service_search_response(uint8_t* packet, uint16 static void sdp_client_parse_service_attribute_response(uint8_t* packet, uint16_t size); #endif -static uint8_t des_attributeIDList[] = { 0x35, 0x05, 0x0A, 0x00, 0x01, 0xff, 0xff}; // Attribute: 0x0001 - 0x0100 +static uint8_t des_attributeIDList[] = { 0x35, 0x05, 0x0A, 0x00, 0x00, 0xff, 0xff}; // Attribute: 0x0000 - 0xffff // State DES Parser static de_state_t de_header_state;