From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] bug in sdp_gen_pd
Date: Mon, 19 Jun 2006 13:07:17 +0200 [thread overview]
Message-ID: <1150715237.4277.17.camel@localhost> (raw)
In-Reply-To: <564d96fb0606120452m4e4ced33x66ca63fd675ad3@mail.gmail.com>
Hi Rafael,
> > please use the latest bluez-utils-3.0 release and call this three
> > commands:
> >
> > sdptool add sp
> > sdptool browse local
> > sdptool browse --raw local
> >
> > You will see that the string values are wrong for the third commands.
> > Can you please check what happens here.
> I am unable to reproduce. I have just compiled bluez-libs-3.0 and
> bluz-utils-3.0 (using the just compiled lib) and the output is equal
> to the installed 2.25.
please use bluez-libs-3.1 and bluez-utils-3.1 and make sure that the
sdpd from this release is running and you use its sdptool. After that
issues the following commands:
# sdptool add sp
Serial Port service registered
# sdptool browse local
Browsing FF:FF:FF:00:00:00 ...
Service Name: Serial Po
Service Description: COM Po
Service RecHandle: 0x10000
Service Class ID List:
"Serial Port" (0x1101)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Serial Port" (0x1101)
Version: 0x0100
# sdptool browse --tree local
Browsing FF:FF:FF:00:00:00 ...
Attribute Identifier : 0x0 - ServiceRecordHandle
Integer : 0x10000
Attribute Identifier : 0x1 - ServiceClassIDList
Data Sequence
UUID16 : 0x1101 - SerialPort
Attribute Identifier : 0x4 - ProtocolDescriptorList
Data Sequence
Data Sequence
UUID16 : 0x0100 - L2CAP
Data Sequence
UUID16 : 0x0003 - RFCOMM
Channel/Port (Integer) : 0x1
Attribute Identifier : 0x5 - BrowseGroupList
Data Sequence
UUID16 : 0x1002 - PublicBrowseGroup
Attribute Identifier : 0x6 - LanguageBaseAttributeIDList
Data Sequence
Code ISO639 (Integer) : 0x656e
Encoding (Integer) : 0x6a
Base Offset (Integer) : 0x100
Attribute Identifier : 0x9 - BluetoothProfileDescriptorList
Data Sequence
Data Sequence
UUID16 : 0x1101 - SerialPort
Version (Integer) : 0x100
Attribute Identifier : 0x100
Text : "Serial Po"
Attribute Identifier : 0x101
Text : "COM Po"
# sdptool browse --raw local
Sequence
Attribute 0x0000 - ServiceRecordHandle
UINT32 0x00010000
Attribute 0x0001 - ServiceClassIDList
Sequence
UUID16 0x1101 - SerialPort
Attribute 0x0004 - ProtocolDescriptorList
Sequence
Sequence
UUID16 0x0100 - L2CAP
Sequence
UUID16 0x0003 - RFCOMM
UINT8 0x01
Attribute 0x0005 - BrowseGroupList
Sequence
UUID16 0x1002 - PublicBrowseGroup
Attribute 0x0006 - LanguageBaseAttributeIDList
Sequence
UINT16 0x656e
UINT16 0x006a
UINT16 0x0100
Attribute 0x0009 - BluetoothProfileDescriptorList
Sequence
Sequence
UUID16 0x1101 - SerialPort
UINT16 0x0100
Attribute 0x0100
String Serial Po
Attribute 0x0101
String COM Po
You will see that attributes 0x100 and 0x101 are not matching.
Regards
Marcel
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2006-06-19 11:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-06 10:25 [Bluez-devel] bug in sdp_gen_pd Rafael Espíndola
2006-06-07 21:10 ` Marcel Holtmann
2006-06-07 21:59 ` Rafael Espíndola
2006-06-07 22:11 ` Marcel Holtmann
2006-06-08 17:07 ` Rafael Espíndola
2006-06-09 20:14 ` Marcel Holtmann
2006-06-12 8:01 ` Marcel Holtmann
2006-06-12 11:52 ` Rafael Espíndola
2006-06-19 11:07 ` Marcel Holtmann [this message]
2006-06-19 12:13 ` Rafael Espíndola
2006-06-19 12:17 ` Rafael Espíndola
2006-06-19 17:38 ` Rafael Espíndola
2006-06-19 18:07 ` Marcel Holtmann
2006-06-19 20:21 ` Rafael Espíndola
2006-06-20 7:17 ` Marcel Holtmann
2006-06-26 12:49 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2006-06-06 14:14 Rafael Espíndola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1150715237.4277.17.camel@localhost \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).