-----BEGIN PGP SIGNED MESSAGE-----
Samant Maharaj wrote:
> I'm trying to write a plugin for conduit (http://www.conduit-project.org/),
> a Gnome synchronisation application. The idea is that the plugin would
> expose the data in a cell phone such as vcards, calendar entries, tasks and
> notes (depending on what the phone supports). Conduit natively knows about
> many of these data types and can handle the synchronisation in much the same
> way as OpenSync.
> In light of this, I've been looking at libsyncml as a way to implement this
> plugin. Conduit plugins are implemented in Python, so I'm thinking of
> writing sort of an API layer in C to call libsyncml and then link to this
> from the Python code.
Did you contact John Carr? He works on some Python or Vala stuff and
libsyncml. I started to reduce an re-write the interface because of his
> My main problem is that it's not really clear to me how best to use
> libsyncml. Unfortunately I haven't found a huge amount of documentation on
> how best to use the library. I'm hoping to avoid having to learn the
> internals of the SyncML protocol.
> My question is simply, is my plan feasible? If so, where can I find
> documentation to help me out?
The main recommendation is to only use the high level DS API. The source
code includes a tool called syncml-ds-tool which was designed as test
tool for phones and as example for the DS API. So the best way to start
learning is to look at this example.
The high level API reduces the required SyncML knowledge to a minimum
but some stuff is still required. You have to understand the difference
between slow/full and normal/incremental sync. Additionally you have to
understand a concept like sync anchors.
I hope this helps you for the first steps.
Michael Bell Humboldt-Universitaet zu Berlin
Tel.: +49 (0)30-2093 2482 ZE Computer- und Medienservice
Fax: +49 (0)30-2093 2704 Unter den Linden 6
michael.bell@... D-10099 Berlin
PGP Fingerprint: 09E4 3D29 4156 2774 0F2C C643 D8BD 1918 2030 5AAB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----