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
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel