On Sunday 31 August 2008, Valerio Valerio wrote: > This not help :). I need the all service record, The --xml switch works > fine in all my computers (ubuntu 7.10 and 8.04). > Can you send me the hcidump output during a keyboard paring process ? (the > records are exchanged in the process)
On gentoo it's provided by bluez-utils-2.25-r1 and I get: $ sdptool records --xml macaddr records: unrecognized option `--xml' Usage: records [--tree] [--raw] bdaddr It looks like these give more data: $ sdptool records --tree macaddr Attribute Identifier : 0x0 - ServiceRecordHandle Integer : 0x10000 Attribute Identifier : 0x1 - ServiceClassIDList Data Sequence UUID16 : 0x1124 - HumanInterfaceDeviceService (HID) Attribute Identifier : 0x4 - ProtocolDescriptorList Data Sequence Data Sequence UUID16 : 0x0100 - L2CAP Channel/Port (Integer) : 0x11 Data Sequence UUID16 : 0x0011 - HIDP 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 : 0x1124 - HumanInterfaceDeviceService (HID) Version (Integer) : 0x100 Attribute Identifier : 0xd - AdditionalProtocolDescriptorLists Data Sequence Data Sequence Data Sequence UUID16 : 0x0100 - L2CAP Integer : 0x13 Data Sequence UUID16 : 0x0011 - HIDP Attribute Identifier : 0x100 Text : "Broadcom Bluetooth Demo Keyboard" Attribute Identifier : 0x101 Text : "Keyboard" Attribute Identifier : 0x102 Text : "Broadcom Corp." Attribute Identifier : 0x200 - DeviceReleaseNum Integer : 0x100 Attribute Identifier : 0x201 - ParserVersion Integer : 0x111 Attribute Identifier : 0x202 - DeviceSubclass Integer : 0x40 Attribute Identifier : 0x203 - CountryCode Integer : 0x33 Attribute Identifier : 0x204 - VirtualCable Integer : 0x1 Attribute Identifier : 0x205 - ReconnectInitiate Integer : 0x1 Attribute Identifier : 0x206 - DescriptorList Data Sequence Data Sequence Integer : 0x22 Data : 05 01 09 06 a1 01 85 01 05 07 19 e0 29 e7 15 00 25 01 75 01 95 08 81 02 95 01 75 08 81 01 95 05 75 01 05 08 19 01 29 05 91 02 95 01 75 03 91 01 95 06 75 08 15 00 25 65 05 07 19 00 29 65 81 00 c0 05 0c 09 01 a1 01 85 02 19 00 29 ff 15 00 25 ff 75 08 95 01 81 00 c0 05 0c 09 01 a1 01 85 05 05 01 09 06 a1 02 05 06 09 20 15 00 25 ff 75 08 95 08 81 00 09 20 15 00 25 ff 75 08 95 08 b1 00 c0 05 0c 09 01 a1 01 85 06 19 00 29 fe 15 00 25 ff 75 08 95 02 81 00 c0 c0 Attribute Identifier : 0x207 - LangIDBaseList Data Sequence Data Sequence Integer : 0x309 Integer : 0x100 Attribute Identifier : 0x20b - ProfileVersion Integer : 0x100 Attribute Identifier : 0x20d - NormallyConnectable Integer : 0x0 Attribute Identifier : 0x20e - BootDevice Integer : 0x1 Attribute Identifier : 0x0 - ServiceRecordHandle Integer : 0x10001 Attribute Identifier : 0x1 - ServiceClassIDList Data Sequence UUID16 : 0x1200 - PnPInformation Attribute Identifier : 0x4 - ProtocolDescriptorList Data Sequence Data Sequence UUID16 : 0x0100 - L2CAP Channel/Port (Integer) : 0x1 Data Sequence UUID16 : 0x0001 - SDP Attribute Identifier : 0x9 - BluetoothProfileDescriptorList Data Sequence Data Sequence UUID16 : 0x1200 - PnPInformation Version (Integer) : 0x100 Attribute Identifier : 0x200 - SpecificationID Integer : 0x100 Attribute Identifier : 0x201 - VendorID Integer : 0xa5c Attribute Identifier : 0x202 - ProductID Integer : 0x2001 Attribute Identifier : 0x203 - Version Integer : 0x107 Attribute Identifier : 0x204 - PrimaryRecord Integer : 0x1 Attribute Identifier : 0x205 - VendorIDSource Integer : 0x2 $ sdptool records --raw macaddr Sequence Attribute 0x0000 - ServiceRecordHandle UINT32 0x00010000 Attribute 0x0001 - ServiceClassIDList Sequence UUID16 0x1124 - HumanInterfaceDeviceService (HID) Attribute 0x0004 - ProtocolDescriptorList Sequence Sequence UUID16 0x0100 - L2CAP UINT16 0x0011 Sequence UUID16 0x0011 - HIDP Attribute 0x0005 - BrowseGroupList Sequence UUID16 0x1002 - PublicBrowseGroup Attribute 0x0006 - LanguageBaseAttributeIDList Sequence UINT16 0x656e UINT16 0x006a UINT16 0x0100 Attribute 0x0009 - BluetoothProfileDescriptorList Sequence Sequence UUID16 0x1124 - HumanInterfaceDeviceService (HID) UINT16 0x0100 Attribute 0x000d - AdditionalProtocolDescriptorLists Sequence Sequence Sequence UUID16 0x0100 - L2CAP UINT16 0x0013 Sequence UUID16 0x0011 - HIDP Attribute 0x0100 String Broadcom Bluetooth Demo Keyboard Attribute 0x0101 String Keyboard Attribute 0x0102 String Broadcom Corp. Attribute 0x0200 UINT16 0x0100 Attribute 0x0201 UINT16 0x0111 Attribute 0x0202 UINT8 0x40 Attribute 0x0203 UINT8 0x33 Attribute 0x0204 Bool True Attribute 0x0205 Bool True Attribute 0x0206 Sequence Sequence UINT8 0x22 Data 05 01 09 06 a1 01 85 01 05 07 19 e0 29 e7 15 00 25 01 75 01 95 08 81 02 95 01 75 08 81 01 95 05 75 01 05 08 19 01 29 05 91 02 95 01 75 03 91 01 95 06 75 08 15 00 25 65 05 07 19 00 29 65 81 00 c0 05 0c 09 01 a1 01 85 02 19 00 29 ff 15 00 25 ff 75 08 95 01 81 00 c0 05 0c 09 01 a1 01 85 05 05 01 09 06 a1 02 05 06 09 20 15 00 25 ff 75 08 95 08 81 00 09 20 15 00 25 ff 75 08 95 08 b1 00 c0 05 0c 09 01 a1 01 85 06 19 00 29 fe 15 00 25 ff 75 08 95 02 81 00 c0 c0 Attribute 0x0207 Sequence Sequence UINT16 0x0309 UINT16 0x0100 Attribute 0x020b UINT16 0x0100 Attribute 0x020d Bool False Attribute 0x020e Bool True Sequence Attribute 0x0000 - ServiceRecordHandle UINT32 0x00010001 Attribute 0x0001 - ServiceClassIDList Sequence UUID16 0x1200 - PnPInformation Attribute 0x0004 - ProtocolDescriptorList Sequence Sequence UUID16 0x0100 - L2CAP UINT16 0x0001 Sequence UUID16 0x0001 - SDP Attribute 0x0009 - BluetoothProfileDescriptorList Sequence Sequence UUID16 0x1200 - PnPInformation UINT16 0x0100 Attribute 0x0200 UINT16 0x0100 Attribute 0x0201 UINT16 0x0a5c Attribute 0x0202 UINT16 0x2001 Attribute 0x0203 UINT16 0x0107 Attribute 0x0204 Bool True Attribute 0x0205 UINT16 0x0002 If this still isn't enough I'll have a go at the hcidump _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community