All of lore.kernel.org
 help / color / mirror / Atom feed
From: Burkhard Fischer <b.fi2@web.de>
To: bluez-users@lists.sourceforge.net
Cc: Marcel Holtmann <marcel@holtmann.org>
Subject: Re: [Bluez-users] bluepin bash script with immediate pin response
Date: Wed, 21 Jan 2004 12:12:20 +0100	[thread overview]
Message-ID: <400E5E94.6030104@web.de> (raw)
In-Reply-To: <1074648240.7088.30.camel@pegasus>

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

Hi

here some more informations and the attached hci dump

/bin/bluepin:

#!/bin/bash
#sleep 1
echo "PIN:6bkgLuRqDpSIYZgP"

command:

magito:/etc/bluetooth# ciptool connect 00:04:0E:84:06:CA
Can't connect L2CAP socket: Connection refused

syslog:

Jan 21 12:01:30 magito hcid[4019]: HCI daemon ver 2.4 started
Jan 21 12:01:30 magito sdpd[4022]: sdpd v1.5 started
Jan 21 12:01:30 magito hcid[4019]: HCI dev 0 up
Jan 21 12:01:30 magito hcid[4019]: Starting security manager 0
Jan 21 12:01:42 magito hcid[4019]: pin_code_request 
(sba=00:04:0E:82:F9:74, dba=00:04:0E:84:06:CA)
Jan 21 12:01:42 magito hcid[4031]: hci_send_cmd 6bkgLuRqDpSIYZgP
Jan 21 12:01:42 magito hcid[4019]: pin_code_request 
(sba=00:04:0E:82:F9:74, dba=00:04:0E:84:06:CA)
Jan 21 12:01:42 magito hcid[4033]: hci_send_cmd 6bkgLuRqDpSIYZgP

best regards
Burkhard


Marcel Holtmann wrote:
> Hi Burkhard,
> 
> 
>>I am using BlueFRITZ! USB Bluetooth dongle, the BlueFRITZ
>>AP-ISDN and ciptool for establishing a connection.
>>
>>I want to replace the python script bluepin with a simple shell script 
>>to avoid interactive authentication. A simple echo should do this, 
>>however I found out that a connection is only established when the 
>>bluepin bash script doesn't answer immediately.
>>
>>Is there a reason for this behavior
> 
> 
> show us the dump (hcidump -w <file>) for a connection setup.
> 
> Regards
> 
> Marcel
> 
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
> 

[-- Attachment #2: bluepin_immediate_response.dmp --]
[-- Type: application/octet-stream, Size: 4411 bytes --]

  reply	other threads:[~2004-01-21 11:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-20 16:38 [Bluez-users] bluepin bash script with immediate pin response Burkhard Fischer
2004-01-21  1:24 ` Marcel Holtmann
2004-01-21 11:12   ` Burkhard Fischer [this message]
2004-01-21 13:57     ` 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=400E5E94.6030104@web.de \
    --to=b.fi2@web.de \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=marcel@holtmann.org \
    /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.