linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Toni Fiz <toni.fiz@gmail.com>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Pair problems with nokia 6230
Date: Sat, 17 Dec 2005 12:11:58 +0100	[thread overview]
Message-ID: <478d26d00512170311g3a4ac3c2g@mail.gmail.com> (raw)
In-Reply-To: <1134462549.10555.54.camel@localhost.localdomain>

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

This seems to work

Here it is the solution (tranlated from spanish)


   - Create a text file with the PIN code in */etc/bluetooth/pin*
   - Create the file /usr/local/bin/bluez-localpin with the content below


 #!/bin/sh
echo "PIN":$(cat /etc/bluetooth/pin)


   - Modify */*etc/bluetooth/hcid.conf in order to set this options

options {

        autoinit yes;
        security auto;
        pairing multi;
        pin_helper /usr/local/bin/bluez-localpin; #este no es el que
trae por defecto, ver arriba
}
device {
        name "%h-%d";
        class 0x3e0100;
        iscan enable; pscan enable;
        lm accept;
        lp rswitch,hold,sniff,park;


   - Restart daemon

# /etc/init.d/bluez-utils restart

[-- Attachment #2: Type: text/html, Size: 1433 bytes --]

      reply	other threads:[~2005-12-17 11:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-10 21:55 [Bluez-users] Pair problems with nokia 6230 Toni Fiz
2005-12-10 23:56 ` Marcel Holtmann
2005-12-13  8:29 ` Fredy P
2005-12-17 11:11   ` Toni Fiz [this message]

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=478d26d00512170311g3a4ac3c2g@mail.gmail.com \
    --to=toni.fiz@gmail.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;
as well as URLs for NNTP newsgroup(s).