All of lore.kernel.org
 help / color / mirror / Atom feed
From: Franz Coriand <franz@coriand.com>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] setup pairing?
Date: Tue, 25 Jan 2005 22:53:40 -0500	[thread overview]
Message-ID: <41F71444.4080404@coriand.com> (raw)
In-Reply-To: <1106660253.8242.7.camel@pegasus>

[-- Attachment #1: Type: text/plain, Size: 3102 bytes --]

Marcel Holtmann schrieb:

>Hi Franz,
>
>
>
>>I'm new in this area and I've a problem with setting up a simple key
>>pairing mechanism for bluetooth with BlueZ.
>>
>>I'd like to setup a bluetooth connection with tcp/ip between a
>>Linux-Watch (kernel 2.4.18) and a Windows XP SP2.
>>My problem is, I can access the Windows host only with the help of a key
>>pairing, because with  my current windows bluetooth driver it's not
>>possible to establish a "unsecure connection" without a keypairs.
>>
>>With the Linux-Watch and the Windows computer I can search for devices
>>and they find earch other, but the key pairing doesn't work.
>>
>>
>
>show us the output of "hcidump -x" as root while you are trying to
>connect.
>
>What kind of Windows driver is this. The Windows XP SP2 Bluetooth stack
>allows unpaired connection as long as both devices are not in security
>mode 3. What does "hciconfig -a" show you?
>
>Regards
>
>Marcel
>
>
>

Hi Marcel,

thanks for your response!

#./hciconfig -a
hci0:   Type: UART
        BD Address: 00:60:57:01:10:AE ACL MTU: 384:80  SCO MTU: 128:80
        UP RUNNING PSCAN ISCAN
        RX bytes:172 acl:0 sco:0 events:17 errors:0
        TX bytes:80 acl:0 sco:0 commands:17 errors:0
        Features: 0xff 0xff 0x09 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy:
        Link mode: SLAVE ACCEPT
        Name: 'WatchPad_15'
        Class: 0x000000
        Service Classes: Unspecified
        Device Class: Miscellaneous,
        HCI Ver: 1.1 (0x1) HCI Rev: 0xbc LMP Ver: 1.1 (0x1) LMP Subver: 0xbc
        Manufacturer: Cambridge Silicon Radio (10)
#

Problem is now, that I don't have ./hcidump cause of memory problems on
this watch.
/usr/local/bin only inlcudes the following files.

# ls -la
drwxr-xr-x    1 root     root            0 Nov 10 03:32 .
drwxr-xr-x    1 root     root            0 Nov 10 03:13 ..
-rwxr-xr-x    1 root     root        19064 Nov 10 03:13 dund
-rwx------    1 root     root          321 Nov 10 03:13 end
-rwxr-xr-x    1 root     root        15068 Nov 10 03:13 hciattach
-rwxr-xr-x    1 root     root        22636 Nov 10 03:13 hciconfig
-rwxr-xr-x    1 root     root        33220 Nov 10 03:13 hcid
-rwxr-xr-x    1 root     root        20452 Nov 10 03:13 hcitool
-rwxr-xr-x    1 root     root          507 Nov 10 03:13 keep_bluez
-rwxr-xr-x    1 root     root         7408 Nov 10 03:13 l2ping
-rwxr-xr-x    1 root     root        19008 Nov 10 03:13 pand
-rwxr-xr-x    1 root     root         3300 Nov 10 03:13 pantest
-rwxr-xr-x    1 root     root         6516 Nov 10 03:13 ppporc
-rwxr-xr-x    1 root     root        25440 Nov 10 03:13 rfcomm
-rwxr-xr-x    1 root     root        35036 Nov 10 03:13 sdpd
-rwxr-xr-x    1 root     root       117939 Nov 10 03:13 sdptool
-rwx------    1 root     root          350 Nov 10 03:13 start

I'm able to scan and l2ping to the windows xp computer!
On the windows computer I use a "D-Link DBT-120 B.4" usb bluetooth stick
with a D-Link driver (version 1.4.2.8 from the 1.4.2.10 package), cause
the original one from XP SP2 doesn't work with tihs dongle :-(

Franz

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

  reply	other threads:[~2005-01-26  3:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-25  4:20 [Bluez-users] setup pairing? Franz Coriand
2005-01-25 13:37 ` Marcel Holtmann
2005-01-26  3:53   ` Franz Coriand [this message]
2005-01-26  6:07     ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41F71444.4080404@coriand.com \
    --to=franz@coriand.com \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.