Hi Marcel,
On Thu, Aug 6, 2009 at 1:09 PM, Marcel Holtmann [off-list ref] wrote:
Hi Jaikumar,
quoted
Fix to pass PTS case TC_SDAS_BV_03_I(since PTS3.2 update2).
The code tried to append the UINT type value to the supported
respositories. However, the wrong function sdp_seq_alloc()
was used. This function adds 2 redundant bytes (SDP_SEQ8 as
0x35, seq) ahead of 0x08, so that latest PTS IOPT will fail.
According to spec, PBAP attributes should report 0x08 0x01
or 0x08 0x03 right after 0x0314. The correct function to use
is sdp_data_alloc(), with clean 0x08 0x01 appended as
SDP_ATTR_SUPPORTED_REPOSITORIES.
---
tools/sdptool.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
can I get a version of this patch that applies cleanly when using git am
please.
Attached.
Thanks
Regards
Marcel