From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marcel Holtmann To: BlueZ development In-Reply-To: <564d96fb0606120452m4e4ced33x66ca63fd675ad3@mail.gmail.com> References: <564d96fb0606060325q834360bqe4e9d41cbb28a16f@mail.gmail.com> <1149714650.22472.62.camel@localhost> <564d96fb0606071459i7367f84fkb7ee645941f84279@mail.gmail.com> <1149718288.22472.71.camel@localhost> <564d96fb0606081007p3fb8ea42v5926c80eb1cc9657@mail.gmail.com> <1149884042.3985.6.camel@aeonflux.holtmann.net> <1150099297.2589.15.camel@aeonflux.holtmann.net> <564d96fb0606120452m4e4ced33x66ca63fd675ad3@mail.gmail.com> Date: Mon, 19 Jun 2006 13:07:17 +0200 Message-Id: <1150715237.4277.17.camel@localhost> Mime-Version: 1.0 Subject: Re: [Bluez-devel] bug in sdp_gen_pd Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net 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