summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorChris Kühl <chrisk@openismus.com>2011-07-26 03:12:58 +0200
committerPatrick Ohly <patrick.ohly@intel.com>2011-08-26 14:23:41 +0200
commitcc3f1b6663d3eda5afcfc1013f465d6a1f96c4b4 (patch)
tree889182d689e3b132e006159307e448b36c4d347f /README.rst
parent5a6a88b09693e760c7968182e25145d898f9c69f (diff)
server: Get bluetooth phone vendor and model from Device ID profile (BMC #736)
In the past we have relied on the user-modifiable device name to be the fingerprint for matching a phone to a template which is unreliable. This commit changes this in the cases where the phone supports the Device ID profile (DIP). If support DIP is detected then we extract the vendor and product id's from the PnPInformation service record. Then, we attempt to associate the ids with a product and vendor name by using a newly added lookup table. The preference for which value to use as the fingerprint is as follows: 1) If the product is found in the lookup table we use that. (The product lookup table is manually updated and currently only has a few entries.) 2) Otherwise, we use the vendor name. (All vendors should be in the lookup table, so this should always be used if the DIP is supported. 3) If the DIP is not supported by this device we fall back to using the user-modifiable device name as before. Additionaly, because the user-modifiable device name is still desirable to expose through the dbus interface, it is now made avaiable through the peerName property. This is intended to be used in GUIs, for example.
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index aedeb041..e1935b74 100644
--- a/README.rst
+++ b/README.rst
@@ -884,6 +884,10 @@ SYNCEVOLUTION_DEBUG
SYNCEVOLUTION_GNUTLS_DEBUG
Enables additional debugging output when using the libsoup HTTP transport library.
+SYNCEVOLUTION_DATA_DIR
+ Overrides the default path to the bluetooth device lookup table,
+ normally `/usr/lib/syncevolution/`.
+
SYNCEVOLUTION_BACKEND_DIR
Overrides the default path to plugins, normally `/usr/lib/syncevolution/backends`.