[SailfishDevel] SyncML Plugin Server question

deloptes deloptes at gmail.com
Tue Aug 6 14:34:36 UTC 2019


deloptes wrote:

> To dig into it is out of scope for this project, but I wanted to have
> honest opinion. I agree with Sateesh, but then not sure why ref is added
> only on sync session, which makes server die each time you disable
> bluetooth. There is not much one could do from the plugin to prevent this.
> The logic is in buteo-syncfw. It should be applying to all plugins.

Hi Chris, all reading this,

the "digging" has become unnecessary as it came to light what was going on
behind the scene.

I did a move after testing different scenarios on the test device to put the
software on my "production" daily/business phone yesterday.

It took a while to settle all differences mostly in the contacts, which
accumulated over the past two years, but finally the work was done. 

After a successful sync, as we already know from the previous post, the
reference is not removed and the server keeps running.

The next time the schedule runs to check/retrieve/sync the profiles, it sees
the bluetooth profile and the server running and that the profile is
enabled. Consequently it tries to start the sync from the phone as a
client - here comes BTConnection from clientplugins/syncmlclient in the
game, but of course on the other side no syncml server is running and it
fails - after which the server is stopped. 

What was the purpose of this? Possible use case is Device A get close to
Device B and Device B asks for a sync.
I can hardly test this, because I would need a second buteo device - AFAIK
Syncevolution does not support this or at least I have never used this
feature.








More information about the Devel mailing list