Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-devel] Using ASCII based files for link key storage
@ 2005-04-16 16:23 Marcel Holtmann
  2005-04-16 17:32 ` Fred Schaettgen
  2005-04-16 23:16 ` Marcel Holtmann
  0 siblings, 2 replies; 11+ messages in thread
From: Marcel Holtmann @ 2005-04-16 16:23 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Folks,

currently the link keys are stored in a binary format and they are
stored under the "/etc/bluetooth/" directory. Both things are not very
handy and we should start doing something to change this.

So first the new place for runtime things like link keys, names etc. I
decided to use "/var/cache/bluetooth/<bdaddr>/" as the base directory
and then use the file "linkkeys" for the actual link keys. And we will
use "names" for the device name cache. The "bdaddr" is the address of
the local adapter.

And second, The format of the link key file will be very simple:

	<bdaddr> <hex-linkkey> <type>

All the framework around these stuff is already committed to the BlueZ
utils CVS and we need only to fill in the functions for writing and
reading the link keys from the files. Both can be found as some kind of
prototypes in hcid/storage.c and I would be very happy if someone fills
these function with actual code, because I am quite busy with some other
stuff.

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2005-04-18 11:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-16 16:23 [Bluez-devel] Using ASCII based files for link key storage Marcel Holtmann
2005-04-16 17:32 ` Fred Schaettgen
2005-04-16 18:01   ` Fred Schaettgen
2005-04-16 18:33     ` Marcel Holtmann
2005-04-18 11:35       ` Marcel Holtmann
2005-04-16 19:04   ` Marcel Holtmann
2005-04-16 21:21     ` Fred Schaettgen
2005-04-16 21:38       ` Marcel Holtmann
2005-04-16 23:16 ` Marcel Holtmann
2005-04-17 18:41   ` Guylhem Aznar
2005-04-17 18:54     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox