Skip to contentSkip to conversation

btaddr <-> name bug ?

Bluez-devel Sjoerd Simons 2 participants 3 messages Jun 30, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,

Doing hcitool scan a few times gives some weird output:

$ hcitool scan
Scanning ...
        00:0D:93:08:60:89       familiar (0)
        00:02:C7:0B:97:F9       spring-0
$ hcitool scan
Scanning ...
        00:0D:93:08:60:89       spring-0
        00:02:C7:0B:97:F9       familiar (0)
$ hcitool scan
Scanning ...
        00:0D:93:08:60:89       spring-0
        00:02:C7:0B:97:F9       familiar (0)
$ hcitool scan
Scanning ...
        00:0D:93:08:60:89       familiar (0)
        00:02:C7:0B:97:F9       spring-0

The second and third run provide the right information, the first and last = are=20
wrong.

I see this behaviour on both my powerbook and my destop machine. Both are= =20
running debian unstable (bluez-libs and bluez-utils 2.7) with kernel 2.6.7.

Desktop dongle information:
hci0: Type: USB

       BD Address: 00:02:72:00:FD:64 ACL MTU: 192:8  SCO MTU: 64:8
       HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver: 0x2=

0d
Manufacturer: Cambridge Silicon Radio (10)

Powerbook builtin bluetooth information:
hci0: Type: USB

        BD Address: 00:0D:93:08:60:89 ACL MTU: 192:8  SCO MTU: 64:8
        HCI Ver: 1.1 (0x1) HCI Rev: 0x20e LMP Ver: 1.1 (0x1) LMP Subver: 0x=

20e
Manufacturer: Cambridge Silicon Radio (10)

Sjoerd
--=20
Logic is a little bird, sitting in a tree; that smells *_____=08=08=08=08= =08awful*.

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Sjoerd,

Quoted 19 lines

Doing hcitool scan a few times gives some weird output:

$ hcitool scan
Scanning ...
        00:0D:93:08:60:89       familiar (0)
        00:02:C7:0B:97:F9       spring-0
$ hcitool scan
Scanning ...
        00:0D:93:08:60:89       spring-0
        00:02:C7:0B:97:F9       familiar (0)
$ hcitool scan
Scanning ...
        00:0D:93:08:60:89       spring-0
        00:02:C7:0B:97:F9       familiar (0)
$ hcitool scan
Scanning ...
        00:0D:93:08:60:89       familiar (0)
        00:02:C7:0B:97:F9       spring-0
Quoted 2 lines

The second and third run provide the right information, the first and last are wrong.

provide us with the output of "hcidump -x" while you are running "hcitool scan".

Regards

Marcel

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw
Quoted 21 lines · Marcel Holtmann

Hi Sjoerd,

Quoted 19 lines

Doing hcitool scan a few times gives some weird output:

$ hcitool scan
Scanning ...
        00:0D:93:08:60:89       familiar (0)
        00:02:C7:0B:97:F9       spring-0
$ hcitool scan
Scanning ...
        00:0D:93:08:60:89       spring-0
        00:02:C7:0B:97:F9       familiar (0)
$ hcitool scan
Scanning ...
        00:0D:93:08:60:89       spring-0
        00:02:C7:0B:97:F9       familiar (0)
$ hcitool scan
Scanning ...
        00:0D:93:08:60:89       familiar (0)
        00:02:C7:0B:97:F9       spring-0
Quoted 5 lines
Quoted 2 lines

The second and third run provide the right information, the first and last are wrong.

provide us with the output of "hcidump -x" while you are running "hcitool scan".

Attached is the hcidump -x output, while doing a hcitool scan which provided the wrong information.

Sjoerd

Signature · 2 lines
Let us not look back in anger or forward in fear, but around us in awareness.
		-- James Thurber

HCIDump - HCI packet analyzer ver 1.5
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Inquiry(0x01|0x0001) plen 5
33 8B 9E 08 64

Quoted 1 line

HCI Event: Command Status(0x0f) plen 4

00 01 01 04

Quoted 1 line

HCI Event: Inquiry Result(0x02) plen 15

01 89 60 08 93 0D 00 01 00 00 00 01 00 55 09

Quoted 1 line

HCI Event: Inquiry Result(0x02) plen 15

01 F9 97 0B C7 02 00 01 00 00 12 01 12 33 6C

Quoted 1 line

HCI Event: Inquiry Complete(0x01) plen 1

00
< HCI Command: Remote Name Request(0x01|0x0019) plen 10
89 60 08 93 0D 00 01 00 00 00

Quoted 1 line

HCI Event: Command Status(0x0f) plen 4

00 01 19 04
< HCI Command: Remote Name Request(0x01|0x0019) plen 10
F9 97 0B C7 02 00 02 00 00 00

Quoted 1 line

HCI Event: Command Status(0x0f) plen 4

00 00 19 04

Quoted 1 line

HCI Event: Remote Name Req Complete(0x07) plen 255

00 89 60 08 93 0D 00 73 70 72 69 6E 67 2D 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Quoted 1 line

HCI Event: Command Status(0x0f) plen 4

00 01 00 00
< HCI Command: Remote Name Request(0x01|0x0019) plen 10
89 60 08 93 0D 00 02 00 00 00

Quoted 1 line

HCI Event: Command Status(0x0f) plen 4

00 00 19 04

Quoted 1 line

HCI Event: Remote Name Req Complete(0x07) plen 255

00 F9 97 0B C7 02 00 66 61 6D 69 6C 69 61 72 20 28 30 29 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Quoted 1 line

HCI Event: Command Status(0x0f) plen 4

00 01 00 00
< HCI Command: Remote Name Request(0x01|0x0019) plen 10
F9 97 0B C7 02 00 01 00 00 00

Quoted 1 line

HCI Event: Command Status(0x0f) plen 4

00 00 19 04

Quoted 1 line

HCI Event: Remote Name Req Complete(0x07) plen 255

00 89 60 08 93 0D 00 73 70 72 69 6E 67 2D 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Quoted 1 line

HCI Event: Command Status(0x0f) plen 4

00 01 00 00

Quoted 1 line

HCI Event: Remote Name Req Complete(0x07) plen 255

00 F9 97 0B C7 02 00 66 61 6D 69 6C 69 61 72 20 28 30 29 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00