linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] doc: Add definition of a new addresses file
@ 2016-10-30 15:45 Johan Hedberg
  0 siblings, 0 replies; only message in thread
From: Johan Hedberg @ 2016-10-30 15:45 UTC (permalink / raw)
  To: linux-bluetooth

From: Johan Hedberg <johan.hedberg@intel.com>

Currently bluetoothd doesn't support single-mode adapters without a
public address. This patch defines a new 'addresses' file that will be
used for managing generated static random addresses.
---
 doc/settings-storage.txt | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/doc/settings-storage.txt b/doc/settings-storage.txt
index 6a708b45fee8..160bbb2460a1 100644
--- a/doc/settings-storage.txt
+++ b/doc/settings-storage.txt
@@ -24,8 +24,16 @@ All files are in ini-file format.
 Storage directory structure
 ===========================
 
-There is one directory per adapter, named by its Bluetooth address, which
-contains:
+The storage root directory contains an optional addresses file that's
+used for managing adapters that come without a pre-allocated address.
+The format of the addresses file is:
+
+	[Static]
+	<manufacturer id> = <array of addresses>
+
+Each adapter with an assigned address has its own subdirectory under the
+root, named based on the address, which contains:
+
  - a settings file for the local adapter
  - an attributes file containing attributes of supported LE services
  - a cache directory containing:
-- 
2.7.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-30 15:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-30 15:45 [PATCH] doc: Add definition of a new addresses file Johan Hedberg

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