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
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users