Return-Path: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C51F03.7C6E62D5" Message-ID: From: "Victor Shcherbatyuk" To: Subject: [Bluez-devel] sdptool get output incomplete? Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 2 Mar 2005 09:40:27 +0100 This is a multi-part message in MIME format. ------_=_NextPart_001_01C51F03.7C6E62D5 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Marcel =20 Is it the case that not all the attribute records are reported by sdptool? Below are the outputs: first of hcidump for the request from the phone for services supported (cut version showing only HF part) and the second one of "spdtool get ", attribute 0x311 is missing from sdptool output (marked unknown, but in reality it is SUPPORTED_FEATURES )? =20 Regards, Victor Shcherbatyuk. =20 =20 hcidump gives: =20 HCI sniffer - Bluetooth packet analyzer ver 1.18 device: hci0 snap_len: 1028 filter: 0xffffffff > ACL data: handle 41 flags 0x02 dlen 17 > ACL data: handle 41 flags 0x01 dlen 17 L2CAP(d): cid 0x0040 len 30 [psm 1] SDP SSA Req: tid 0x0 len 0x19 pat uuid-16 0x111e (Handsfree) max 65535 aid(s) 0x0001 (SrvClassIDList) 0x0004 (ProtocolDescList) 0x0009 (BTProfileDescList) 0x0100 (SrvName) 0x0311 (unknown) cont 00 < ACL data: handle 41 flags 0x02 dlen 77 L2CAP(d): cid 0x0043 len 73 [psm 1] SDP SSA Rsp: tid 0x0 len 0x44 count 65 record #0 aid 0x0001 (SrvClassIDList) < uuid-16 0x111e (Handsfree) uuid-16 0x1203 (Audio) > aid 0x0004 (ProtocolDescList) < < uuid-16 0x0100 (L2CAP) > < uuid-16 0x0003 (RFCOMM) uint 0x3 > > aid 0x0009 (BTProfileDescList) < < uuid-16 0x111e (Handsfree) uint 0x101 > > aid 0x0100 (SrvName) str "Handsfree" =20 here -> aid 0x0311 (unknown) uint 0x31 =20 =20 cont 00 > HCI Event: Number of Completed Packets (0x13) plen 5 handle 41=20 =20 sdptool gives: =20 Service Name: Handsfree Service RecHandle: 0x10001 Service Class ID List: "Handsfree" (0x111e) "Generic Audio" (0x1203) Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 3 Profile Descriptor List: "Handsfree" (0x111e) Version: 0x0101 =20 ------_=_NextPart_001_01C51F03.7C6E62D5 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Marcel

 

Is it the case that not all the attribute records are reported by sdptool? Below are the outputs: first of hcidump for the = request from the phone for services supported (cut version showing only HF part) = and the second one of “spdtool get <HF service record>”, = attribute 0x311 is missing from sdptool output (marked unknown, but in reality it = is SUPPORTED_FEATURES )?

 

Regards,

      Victor = Shcherbatyuk.

 

 

hcidump gives:

 

HCI sniffer - Bluetooth packet analyzer ver = 1.18

device: hci0 snap_len: 1028 filter: = 0xffffffff

> ACL data: handle 41 flags 0x02 dlen = 17

> ACL data: handle 41 flags 0x01 dlen = 17

    L2CAP(d): cid 0x0040 len 30 [psm = 1]

        SDP SSA = Req: tid 0x0 len 0x19

         = pat uuid-16 0x111e (Handsfree)

         = max 65535

         = aid(s) 0x0001 (SrvClassIDList) 0x0004 (ProtocolDescList) 0x0009 = (BTProfileDescList) 0x0100 (SrvName) 0x0311 (unknown)

         = cont 00

< ACL data: handle 41 flags 0x02 dlen = 77

    L2CAP(d): cid 0x0043 len 73 [psm = 1]

        SDP SSA = Rsp: tid 0x0 len 0x44

      =     count 65

         = record #0

         =      aid 0x0001 (SrvClassIDList)

         =         < uuid-16 0x111e (Handsfree) uuid-16 0x1203 (Audio) = >

         =      aid 0x0004 (ProtocolDescList)

         =         < < uuid-16 0x0100 (L2CAP) > <

         =         uuid-16 0x0003 (RFCOMM) uint 0x3 > >

         =      aid 0x0009 (BTProfileDescList)

         =         < < uuid-16 0x111e (Handsfree) uint 0x101 > = >

         =      aid 0x0100 (SrvName)

         =         str "Handsfree"

 

here ->

         =      aid 0x0311 (unknown)

         =         uint 0x31

 

 

         = cont 00

> HCI Event: Number of Completed Packets (0x13) = plen 5

    handle = 41

 

sdptool gives:

 

Service Name: Handsfree

Service RecHandle: = 0x10001

Service Class ID List:

  "Handsfree" = (0x111e)

  "Generic Audio" = (0x1203)

Protocol Descriptor = List:

  "L2CAP" = (0x0100)

  "RFCOMM" = (0x0003)

    Channel: = 3

Profile Descriptor List:

  "Handsfree" = (0x111e)

    Version: = 0x0101

 

------_=_NextPart_001_01C51F03.7C6E62D5-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel