public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "jonny Linux" <jonnylinux@gmail.com>
To: "BlueZ users" <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] How do I reset a pairing?
Date: Mon, 28 Aug 2006 17:30:55 +0100	[thread overview]
Message-ID: <e4f1f0110608280930l3475b147ob2f7f3e5e6bf5efe@mail.gmail.com> (raw)
In-Reply-To: <e1effdeb0608280517l13c117fg4f958870027c4595@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2522 bytes --]

On 8/28/06, Claudio Takahasi <cktakahasi@gmail.com> wrote:
>
> Hi Jonny,
>
> You can use the D-Bus services to do remove the link key:
> $dbus-send --system --type=method_call --print-reply --dest=org.bluez/org/bluez/hci0
> org.bluez.Adapter.RemoveBonding
> string:XX:XX:XX:XX:XX:XX
>
>
> or remove the entry in the file:
> /var/lib/bluetooth/local_bt_address/linkkeys



Thanks Claudio, I couldn't get that command to work, I got an error:
Must use org.mydomain.Interface.Method notation, no dot in
"string:00:16:53:03:1D:31"
So I removed the entry in the linkkeys file.

The NXT device asks me for a PIN, but the computer doesn't ask for a pin, I
then get a connection error in the perl script I'm using which says "Invalid
Exchange".

Below is the results of hcidump -X -a -V:

Any ideas?

Thanks,

Jonny

HCI sniffer - Bluetooth packet analyzer ver 1.30
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
    bdaddr 00:16:53:03:1D:31 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
    Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: Link Key Request (0x17) plen 6
    bdaddr 00:16:53:03:1D:31
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
    bdaddr 00:16:53:03:1D:31
> HCI Event: Command Complete (0x0e) plen 10
    Link Key Request Negative Reply (0x01|0x000c) ncmd 1
    status 0x00 bdaddr 00:16:53:03:1D:31
> HCI Event: PIN Code Request (0x16) plen 6
    bdaddr 00:16:53:03:1D:31
< HCI Command: PIN Code Request Negative Reply (0x01|0x000e) plen 6
    bdaddr 00:16:53:03:1D:31
> HCI Event: Command Complete (0x0e) plen 10
    PIN Code Request Negative Reply (0x01|0x000e) ncmd 1
    status 0x00 bdaddr 00:16:53:03:1D:31
> HCI Event: Connect Complete (0x03) plen 11
    status 0x06 handle 11 bdaddr 00:16:53:03:1D:31 type ACL encrypt 0x00
    Error: PIN or Key Missing
< HCI Command: Create Connection (0x01|0x0005) plen 13
    bdaddr 00:16:53:03:1D:31 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
    Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: Link Key Request (0x17) plen 6
    bdaddr 00:16:53:03:1D:31
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
    bdaddr 00:16:53:03:1D:31
> HCI Event: Command Complete (0x0e) plen 10
    Link Key Request Negative Reply (0x01|0x000c) ncmd 1
    status 0x00 bdaddr 00:16:53:03:1D:31

[-- Attachment #1.2: Type: text/html, Size: 3362 bytes --]

[-- Attachment #2: Type: text/plain, Size: 373 bytes --]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2006-08-28 16:30 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-23  8:29 [Bluez-users] How do I reset a pairing? jonny Linux
2006-08-27 12:18 ` jonny Linux
2006-08-28 12:17   ` Claudio Takahasi
2006-08-28 16:30     ` jonny Linux [this message]
2006-08-28 18:14       ` Claudio Takahasi
2006-08-28 18:45         ` Bearcat M. Sandor
2006-08-28 21:15           ` Marcel Holtmann
2006-08-28 19:39             ` Bearcat M. Sandor
2006-08-28 23:54               ` Marcel Holtmann
2006-08-28 22:24                 ` Bearcat M. Sandor
2006-08-29 10:47                   ` Marcel Holtmann
2006-08-29 17:03                     ` jonny Linux
2006-08-29 20:34                     ` Bearcat M. Sandor
2006-08-29 22:35                       ` Marcel Holtmann
2006-08-29 20:52                         ` Bearcat M. Sandor
2006-08-29 23:00                           ` Marcel Holtmann
2006-08-29 21:32                             ` Bearcat M. Sandor
2006-08-29 23:46                               ` Marcel Holtmann
2006-08-29 22:05                                 ` Bearcat M. Sandor
2006-08-30  1:08                                 ` Bearcat M. Sandor
2006-08-30  3:30                                   ` manojt ambe
2006-08-30  9:52                                   ` Marcel Holtmann
2006-08-31  2:48                                     ` Bearcat M. Sandor
2006-08-31 11:04                                       ` Marcel Holtmann
2006-08-31 17:50                                         ` Bearcat M. Sandor
2006-08-31 22:08                                           ` Marcel Holtmann
2006-09-01  0:29                                             ` Bearcat M. Sandor
2006-09-01 11:04                                               ` 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=e4f1f0110608280930l3475b147ob2f7f3e5e6bf5efe@mail.gmail.com \
    --to=jonnylinux@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