https://bugs.meego.com/show_bug.cgi?id=736
blixtra <blixtra(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |blixtra(a)gmail.com
--- Comment #3 from blixtra <blixtra(a)gmail.com> 2011-08-15 11:06:21 UTC ---
I've now got this working pretty well using the Bluetooth Device ID Profile
(DIP).
We detect if the bluetooth device supports the PnPInformation defined in the
Device ID Profile similar to the way SyncML functionality is detected; we check
that the UUID matches a well-defined value. Unlike SyncML, with PnPInformation
we also need to extract additional information from the record: vendor and
product id. I've added a very simple parser function to extract these values.
Once they are retrieved we look-up first the vendor and then the product. If
both are in the lookup table, then the product will be used as the fingerprint
for matching templates. If only the vendor is found, which will often be the
case until the product table gets better populated, we use that for the
fingerprint. Before, the user-modifiable device name was used for the
fingerprint. This is still used when there is no PnPInformation support. Even
when PnPInformation is supported the user-modifiable device name still needs to
be made available to the dbus interface consumer for use in a GUI, for
instance. For that reason, we now make this user-modifiable device name
available through the peerName field when calling GetConfig.
The new look-up table file is located in the src/dbus/server directory and is
installed to ${datadir}/syncevolution. I've added a new DATA_DIR cppflag that
can be overridden by setting a SYNCEVOLUTION_DATA_DIR environment variable.
Code changes were mostly confined to the Server, BluezManager and SyncConfig
classes.
To see the work pull my bluetooth-device-id branch or view it here:
https://meego.gitorious.org/meego-middleware/syncevolution/commits/blueto...
--------
Product: SyncEvolution
Component: SyncEvolution
MeeGo Release: unspecified
Severity: enhancement
Priority: Undecided
Keywords:
Status: ASSIGNED
Who: blixtra(a)gmail.com
Assigned To: syncevolution-bugs(a)meego.bugs
Target Build: ---
Flags:
Changed: CC
--------
https://bugs.meego.com/show_bug.cgi?id=736
--
Configure bugmail:
https://bugs.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.