diff options
author | Chris Kühl <chrisk@openismus.com> | 2011-07-26 03:12:58 +0200 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2011-08-26 14:23:41 +0200 |
commit | cc3f1b6663d3eda5afcfc1013f465d6a1f96c4b4 (patch) | |
tree | 889182d689e3b132e006159307e448b36c4d347f /README.rst | |
parent | 5a6a88b09693e760c7968182e25145d898f9c69f (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.rst | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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`. |