linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] hciconfig delkey question
@ 2007-05-03 21:50 Mark S. Townsley
  2007-05-04  6:29 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Mark S. Townsley @ 2007-05-03 21:50 UTC (permalink / raw)
  To: BlueZ users


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

Hi:

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.

Thanks for any tip/pointer.


Mark

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

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

-------------------------------------------------------------------------
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/

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-users] hciconfig delkey question
  2007-05-03 21:50 [Bluez-users] hciconfig delkey question Mark S. Townsley
@ 2007-05-04  6:29 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2007-05-04  6:29 UTC (permalink / raw)
  To: BlueZ users

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-04  6:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-03 21:50 [Bluez-users] hciconfig delkey question Mark S. Townsley
2007-05-04  6:29 ` Marcel Holtmann

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).