2002-09-24 02:38:12

by Takashi Sasai

[permalink] [raw]
Subject: Re: [Bluez-devel] Bluetooth device name database

Hi Max and David,

> >libbluetooth ? Do you mean that libbluetooth should provide a way to read
> >from the name database ? In that case, it should also provide methods to
> >access the link_key database (to remove a subscription), doesn't it ?
> Something like that.
>
> >An other question : if an application (link key managment software) wants to
> >modify the link_key file, and hcid receives a connection at the same time...
> >Is there some kind of lock so that the link key file is always consistent ?
> Currently no. But writes to a file are almost guarantied to be atomic.

I wrote such a code before. How about this pache?

Regards,
Takashi


Attachments:
bluez-libs-2.0-rmkey.patch (3.83 kB)
bluez-utils-2.0-rmkey.patch (2.89 kB)
Download all attachments