http://bugzilla.moblin.org/show_bug.cgi?id=7089
--- Comment #18 from Chen Congwu <[email protected]> 2010-01-04 20:48:44 PST --- (In reply to comment #14) > > Jussi, as this becomes more UI specific, could you take this? > > Can you be more specific about what you expect from Jussi? Help with the > bluetooth-panel GUI and/or sync-ui modifications? That would be okay as far as > I am concerned, but for the panel<->syncevo-dbus-server interaction I suggest > that you work on that together with Yongsheng. Yes, that's what I was meant. (In reply to comment #17) > (In reply to comment #16) > > Now that I think about it, it is possible to do either way (keep an > > up-to-date > > list or query when needed), but I still don't think bluetooth applet should > > do > > it... This is the quick and easy way I think (querying when client asks for > > templates): > > > > org.Bluez.Manager->DefaultAdapter() > > org.Bluez.Adapter->ListDevices() > > for all devices: > > org.Bluez.Device->GetProperties() > > # if UUIDs property includes the sync uuid, create this template > > This sounds really simple. I agree, we should do this instead of forcing the > plugin to update the syncevo-dbus-server. I thought it would be harder. > > Note that we cannot rely on a UUID. We can only use the MAC address for > matching at this level. I think we just use UUID to filter against the paired devices to list only SyncML capable ones. What do you mean here by matching against macaddress? For templates matching, we can only use "device name" as a first guess and let user later provide input if the match did not work well. Shall we query against syncevo-dbus-server for templates for all paired SyncML devices every time even if user never cares about that device? I think this is what we can do without api changes. A better solutions looks like: getConfigs (true) --Got a list of device peers (via Bluez) and a list of templates for SyncEvolution clients (Scheduleworld, Funambol, .. SynceEvolution). getTemplate (HashTable keys) -- Got a list of templates matching against the specified keys (possible values are: Device Model/Name, Device Manufacture), return a list of templates sorted by score. Another "select templates" page would be added in sync-ui. This page is also where bluetooth-panel will lead user to after the pairing process. getConfig (true) --Got the contents for the specified template. Do I understand correctly? -- Configure bugmail: http://bugzilla.moblin.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching someone on the CC list of the bug. _______________________________________________ Syncevolution-issues mailing list [email protected] http://lists.syncevolution.org/listinfo/syncevolution-issues
