public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] hciconfig delkey question
Date: Fri, 04 May 2007 08:29:35 +0200	[thread overview]
Message-ID: <1178260175.25425.14.camel@violet> (raw)
In-Reply-To: <be976db60705031450u6c22eebfj50ffe8d91d8b6f88@mail.gmail.com>

Hi Mark,

> I am trying to delete a linkkey by way of 'hciconfig delkey <btaddr>'
> where <btaddr> is the bluetooth address linkkey that I want to remove.
> I can see that there is a directory under /var/lib/bluetooth in the
> same name as <btaddr>.   I execute the command and hciconfig returns
> the same lines as if I run it with no argument (returning info about
> my only hci interface, hci0).  And I can still see <btaddr> directory
> under /var/lib/bluetooth. 
> 
> Am I missing something about how this command should behave?  I was
> expecting that after the command, the directory
> under /var/lib/bluetooth/<btaddr> would be removed.

the delkey option deletes a key from the Bluetooth chip and not the host
filesystem. Use the D-Bus API method RemoveBonding() for that.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2007-05-04  6:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-03 21:50 [Bluez-users] hciconfig delkey question Mark S. Townsley
2007-05-04  6:29 ` Marcel Holtmann [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=1178260175.25425.14.camel@violet \
    --to=marcel@holtmann.org \
    --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