* [Bluez-devel] sdptool get <service record> output incomplete?
@ 2005-03-02 8:40 Victor Shcherbatyuk
2005-03-02 14:11 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Victor Shcherbatyuk @ 2005-03-02 8:40 UTC (permalink / raw)
To: bluez-devel
[-- Attachment #1: Type: text/plain, Size: 2135 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 12040 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [Bluez-devel] sdptool get <service record> output incomplete?
2005-03-02 8:40 [Bluez-devel] sdptool get <service record> output incomplete? Victor Shcherbatyuk
@ 2005-03-02 14:11 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-03-02 14:11 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Victor,
> 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 =B4spdtool get <HF service record>=A1, attribute
> 0x311 is missing from sdptool output (marked unknown, but in reality
> it is SUPPORTED_FEATURES )?
maybe this is simply unknown at the moment. Do you use the latest utils
version? What about using the --tree option?
If it is missing, send in a patch for it.
> hcidump gives:
>=20
> =20
>=20
> HCI sniffer - Bluetooth packet analyzer ver 1.18
>=20
> device: hci0 snap_len: 1028 filter: 0xffffffff
>=20
> > ACL data: handle 41 flags 0x02 dlen 17
Please stop posting HTML emails to the mailing list. The newlines got
messed up and it makes everything hard to read. Good old plain ASCII is
just enough.
Regards
Marcel
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-02 14:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-02 8:40 [Bluez-devel] sdptool get <service record> output incomplete? Victor Shcherbatyuk
2005-03-02 14:11 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox