sdp_client: query attributes 0x0000..0xffff instead of 0x0001..0xffff to match other stacks / improve compatibility with bad sdp server implementations

This commit is contained in:
Matthias Ringwald 2020-03-18 11:30:29 +01:00
parent 0af1bfd99d
commit 0d6cebf8ee
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;