Linux bluetooth development
 help / color / mirror / Atom feed
From: Franz Coriand <franz@coriand.com>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] setup pairing?
Date: Mon, 24 Jan 2005 23:20:29 -0500	[thread overview]
Message-ID: <41F5C90D.90401@coriand.com> (raw)

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

Hi!

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.

I wrote a /etc/bluetooth/hcid.conf-file:

##########begin
# HCI daemon configuration file.
#
#
options {
        autoinit yes;
        security auto;
        pairing multi;
        pin_helper /etc/bluetooth/givepin;
}
###########end

and loaded this file with "/usr/local/bin/hcid -f /etc/bluetooth/hcid.conf"!
"/etc/bluetooth/givepin" rights are 710 and looks like:

#####givepin######
#!/bin/sh
echo "PIN:0000"
################

But it still doesn't work - any idea?

Software:
bluez-libs-2.4.
bluez-pan-1.1
bluez-sdp-1.2
bluez-utils-2.3

Bye,
Franz

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

             reply	other threads:[~2005-01-25  4:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-25  4:20 Franz Coriand [this message]
2005-01-25 13:37 ` [Bluez-users] setup pairing? Marcel Holtmann
2005-01-26  3:53   ` Franz Coriand
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=41F5C90D.90401@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox