Re: [SailfishDevel] SyncML profile Nokia Services what is the difference
Errata : that'd be to thr main UI ofc :) On Wednesday, July 17, 2019, Tone Kastlunger wrote: > Yes so, it appears that the buteo-sync-plugin relies on bluez4 heavily too. > About the ui, it is possible, although it remains to be seen how, as the contribution flow to the main uk is a bit unclear (and silica is not fully open). > > > > On Tuesday, July 16, 2019, deloptes wrote: >> Tone Kastlunger wrote: >> >>> PS found this one : >>> >>> https://wiki.merproject.org/wiki/Sync_plugins >>> >> >> Yes I read this. It is history and it is outdated as of "Sync with >> libsyncml". Libsyncml does not exist anymore (it died may be 6-7y ago), but >> it has good information. This is why I use syncevolution, which uses >> libsynthesis. >> >> You can also read and follow the links here: >> https://wiki.merproject.org/wiki/Buteo >> >>> On Tue, Jul 16, 2019 at 9:42 PM Tone Kastlunger >>> wrote: >>> About the syncmlserver; which command line options have you used? >> >> syncmlserver is started from msyncd as the server is a plugin. >> As mentioned before there is branch with calendar, but the server/client are >> written for bluez4. >> >> In Nokia N9 there is "Sync & Backup". If you select "Sync", you can set up >> profile synchronization over BT to another device. Have you seen this? >> Unfortunately in Sailfish it is only "Backup". The synchronization >> interface (two-way conflict resolution etc.) in the accounts, I am >> wondering where one would put the interface for bluetooth based sync >> initiated from the phone. Are you interested in looking into that? >> It is in clientplugins/syncmlclient/xml/ I think. The thing is that for my >> use case I need the server side, but if you want to do a sync from the >> phone you would use the client plugin - at least this is my understanding >> for now. So there would be a second part in this project to start a sync >> from this phone to another acting as client. This would be interesting. >> >> regards >> >> >> >> ___ >> SailfishOS.org Devel mailing list >> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] SyncML profile Nokia Services what is the difference
Yes so, it appears that the buteo-sync-plugin relies on bluez4 heavily too. About the ui, it is possible, although it remains to be seen how, as the contribution flow to the main uk is a bit unclear (and silica is not fully open). On Tuesday, July 16, 2019, deloptes wrote: > Tone Kastlunger wrote: > >> PS found this one : >> >> https://wiki.merproject.org/wiki/Sync_plugins >> > > Yes I read this. It is history and it is outdated as of "Sync with > libsyncml". Libsyncml does not exist anymore (it died may be 6-7y ago), but > it has good information. This is why I use syncevolution, which uses > libsynthesis. > > You can also read and follow the links here: > https://wiki.merproject.org/wiki/Buteo > >> On Tue, Jul 16, 2019 at 9:42 PM Tone Kastlunger >> wrote: >> >>> About the syncmlserver; >>> which command line options have you used? > > syncmlserver is started from msyncd as the server is a plugin. > As mentioned before there is branch with calendar, but the server/client are > written for bluez4. > > In Nokia N9 there is "Sync & Backup". If you select "Sync", you can set up > profile synchronization over BT to another device. Have you seen this? > Unfortunately in Sailfish it is only "Backup". The synchronization > interface (two-way conflict resolution etc.) in the accounts, I am > wondering where one would put the interface for bluetooth based sync > initiated from the phone. Are you interested in looking into that? > It is in clientplugins/syncmlclient/xml/ I think. The thing is that for my > use case I need the server side, but if you want to do a sync from the > phone you would use the client plugin - at least this is my understanding > for now. So there would be a second part in this project to start a sync > from this phone to another acting as client. This would be interesting. > > regards > > > > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] SyncML profile Nokia Services what is the difference
Tone Kastlunger wrote: > PS found this one : > > https://wiki.merproject.org/wiki/Sync_plugins > Yes I read this. It is history and it is outdated as of "Sync with libsyncml". Libsyncml does not exist anymore (it died may be 6-7y ago), but it has good information. This is why I use syncevolution, which uses libsynthesis. You can also read and follow the links here: https://wiki.merproject.org/wiki/Buteo > On Tue, Jul 16, 2019 at 9:42 PM Tone Kastlunger > wrote: > >> About the syncmlserver; >> which command line options have you used? syncmlserver is started from msyncd as the server is a plugin. As mentioned before there is branch with calendar, but the server/client are written for bluez4. In Nokia N9 there is "Sync & Backup". If you select "Sync", you can set up profile synchronization over BT to another device. Have you seen this? Unfortunately in Sailfish it is only "Backup". The synchronization interface (two-way conflict resolution etc.) in the accounts, I am wondering where one would put the interface for bluetooth based sync initiated from the phone. Are you interested in looking into that? It is in clientplugins/syncmlclient/xml/ I think. The thing is that for my use case I need the server side, but if you want to do a sync from the phone you would use the client plugin - at least this is my understanding for now. So there would be a second part in this project to start a sync from this phone to another acting as client. This would be interesting. regards ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] SyncML profile Nokia Services what is the difference
PS found this one : https://wiki.merproject.org/wiki/Sync_plugins On Tue, Jul 16, 2019 at 9:42 PM Tone Kastlunger wrote: > About the syncmlserver; > which command line options have you used? > > On Tue, Jul 16, 2019 at 8:24 PM deloptes wrote: > >> Tone Kastlunger wrote: >> >> > So so far I have a patch for buteo-syncfw; >> > and you mentioned you had to change something in buteo-sync-plugins too; >> > is there a patch available for that too? >> >> Not yet, I'll need more time. It is still very rough and not working at >> all. >> >> But w.r.t buteo-syncfw, you see in the journal logs that it now reacts on >> BT >> interaction :). The SyncML funcitonality comes from buteo-syncml and >> buteo-sync-plugins contains the actual plugin implementation. The plugins >> seem to have been written to provide connectivity based on bluez4 and it >> looks like only the skeleton or perhaps parts of it will remain at the >> end. >> It needs a total rework, from what I see. I added two classes for sdp >> profiles (syncml client and server) and as shown I can connect to the >> server profile. Next step is to (find a way how to) handle the >> communication between the two (pc and phone) via buteo-syncml. >> This server/client is very confusing BTW :) >> >> regards >> >> ___ >> SailfishOS.org Devel mailing list >> To unsubscribe, please send a mail to >> devel-unsubscr...@lists.sailfishos.org > > ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] SyncML profile Nokia Services what is the difference
About the syncmlserver; which command line options have you used? On Tue, Jul 16, 2019 at 8:24 PM deloptes wrote: > Tone Kastlunger wrote: > > > So so far I have a patch for buteo-syncfw; > > and you mentioned you had to change something in buteo-sync-plugins too; > > is there a patch available for that too? > > Not yet, I'll need more time. It is still very rough and not working at > all. > > But w.r.t buteo-syncfw, you see in the journal logs that it now reacts on > BT > interaction :). The SyncML funcitonality comes from buteo-syncml and > buteo-sync-plugins contains the actual plugin implementation. The plugins > seem to have been written to provide connectivity based on bluez4 and it > looks like only the skeleton or perhaps parts of it will remain at the end. > It needs a total rework, from what I see. I added two classes for sdp > profiles (syncml client and server) and as shown I can connect to the > server profile. Next step is to (find a way how to) handle the > communication between the two (pc and phone) via buteo-syncml. > This server/client is very confusing BTW :) > > regards > > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to > devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] SyncML profile Nokia Services what is the difference
Tone Kastlunger wrote: > So so far I have a patch for buteo-syncfw; > and you mentioned you had to change something in buteo-sync-plugins too; > is there a patch available for that too? Not yet, I'll need more time. It is still very rough and not working at all. But w.r.t buteo-syncfw, you see in the journal logs that it now reacts on BT interaction :). The SyncML funcitonality comes from buteo-syncml and buteo-sync-plugins contains the actual plugin implementation. The plugins seem to have been written to provide connectivity based on bluez4 and it looks like only the skeleton or perhaps parts of it will remain at the end. It needs a total rework, from what I see. I added two classes for sdp profiles (syncml client and server) and as shown I can connect to the server profile. Next step is to (find a way how to) handle the communication between the two (pc and phone) via buteo-syncml. This server/client is very confusing BTW :) regards ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] SyncML profile Nokia Services what is the difference
>I do not have the time to work much on this (unfortunately, because of >priorities). I have 1-2h a day and my goal for now is to understand the >system and what exactly needs to be corrected. That's totally ok :) and I think what has been done so far is great! So so far I have a patch for buteo-syncfw; and you mentioned you had to change something in buteo-sync-plugins too; is there a patch available for that too? Best tk On Tue, Jul 16, 2019 at 10:20 AM deloptes wrote: > Tone Kastlunger wrote: > > > Yes, so to clarify: > > I have rebuilt openobex, buteo-syncfw and buteo-syncml (against bluez5) > > and installed all the rpm's on my xperia; > > I have then reloaded the systemd config, and started msyncd ; > > > > at this point, sdptool browse from my laptop over to the paired xperia > > still seems > > to not see any SYNCML profiles. > > > > I guess im missing something? > > I do not have the time to work much on this (unfortunately, because of > priorities). I have 1-2h a day and my goal for now is to understand the > system and what exactly needs to be corrected. > > I found out that the old way of establishing connection does not work. The > changes I did as a PoC are in buteo-sync-plugins. So I did some progress > and I was able to initiate a successful connection from the PC to the > syncml profile (see below) and I will look forward to understand how things > need to be done right for bluez5 (I think I have an idea already). > Part of the problem is the client-server concept and what is to be seen as > a > client and as a server depending on which side you are. > > If you can help somehow there would be great but the access to > git.sailfish.org is still not working and I have no idea how we can > cooperate. Perhaps patience is the way forward. > > regards > > > Jul 16 01:07:58 Sailfish bluetoothd[4540]: src/service.c:change_state() > 0x7c04f0: device 00:11:22:33:44:55 profile SyncML Client state changed: > connecting -> connected (0) > Jul 16 01:07:58 Sailfish bluetoothd[4540]: > src/device.c:device_profile_connected() SyncML Client Success (0) > Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: > src/profile.c:ext_confirm() incoming connect from 00:11:22:33:44:55 > Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: > src/device.c:btd_device_add_uuid() device fujitsu, uuid > 0002--1000-8000-0002ee02 > Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: > src/service.c:btd_service_ref() 0x7c04f0: ref=2 > Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: > src/profile.c:ext_confirm() SyncML Client authorizing connection from > 00:11:22:33:44:55 > Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: > src/profile.c:ext_auth() 00:11:22:33:44:55 authorized to connect to SyncML > Client > Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: > src/profile.c:ext_connect() SyncML Client connected to 00:11:22:33:44:55 > Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: > src/service.c:change_state() 0x7c04f0: device 00:11:22:33:44:55 profile > SyncML Client state changed: disconnected -> connecting (0) > Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: > src/service.c:change_state() 0x7c04f0: device 00:11:22:33:44:55 profile > SyncML Client state changed: connecting -> connected (0) > Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: > src/device.c:device_profile_connected() SyncML Client Success (0) > Jul 16 01:07:58 Sailfish syncml-server[9715]: [D] unknown:0 - Read: > 14 "\x80\x00\x15\x10\x00\x7F\xFF""F\x00\x0ESYNCML-SYNC" > Jul 16 01:07:59 Sailfish syncml-server[9715]: [D] unknown:0 - Writing 14 > > > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to > devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] SyncML profile Nokia Services what is the difference
Tone Kastlunger wrote: > Yes, so to clarify: > I have rebuilt openobex, buteo-syncfw and buteo-syncml (against bluez5) > and installed all the rpm's on my xperia; > I have then reloaded the systemd config, and started msyncd ; > > at this point, sdptool browse from my laptop over to the paired xperia > still seems > to not see any SYNCML profiles. > > I guess im missing something? I do not have the time to work much on this (unfortunately, because of priorities). I have 1-2h a day and my goal for now is to understand the system and what exactly needs to be corrected. I found out that the old way of establishing connection does not work. The changes I did as a PoC are in buteo-sync-plugins. So I did some progress and I was able to initiate a successful connection from the PC to the syncml profile (see below) and I will look forward to understand how things need to be done right for bluez5 (I think I have an idea already). Part of the problem is the client-server concept and what is to be seen as a client and as a server depending on which side you are. If you can help somehow there would be great but the access to git.sailfish.org is still not working and I have no idea how we can cooperate. Perhaps patience is the way forward. regards Jul 16 01:07:58 Sailfish bluetoothd[4540]: src/service.c:change_state() 0x7c04f0: device 00:11:22:33:44:55 profile SyncML Client state changed: connecting -> connected (0) Jul 16 01:07:58 Sailfish bluetoothd[4540]: src/device.c:device_profile_connected() SyncML Client Success (0) Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: src/profile.c:ext_confirm() incoming connect from 00:11:22:33:44:55 Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: src/device.c:btd_device_add_uuid() device fujitsu, uuid 0002--1000-8000-0002ee02 Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: src/service.c:btd_service_ref() 0x7c04f0: ref=2 Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: src/profile.c:ext_confirm() SyncML Client authorizing connection from 00:11:22:33:44:55 Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: src/profile.c:ext_auth() 00:11:22:33:44:55 authorized to connect to SyncML Client Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: src/profile.c:ext_connect() SyncML Client connected to 00:11:22:33:44:55 Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: src/service.c:change_state() 0x7c04f0: device 00:11:22:33:44:55 profile SyncML Client state changed: disconnected -> connecting (0) Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: src/service.c:change_state() 0x7c04f0: device 00:11:22:33:44:55 profile SyncML Client state changed: connecting -> connected (0) Jul 16 01:07:58 Sailfish bluetoothd[4540]: bluetoothd[4540]: src/device.c:device_profile_connected() SyncML Client Success (0) Jul 16 01:07:58 Sailfish syncml-server[9715]: [D] unknown:0 - Read: 14 "\x80\x00\x15\x10\x00\x7F\xFF""F\x00\x0ESYNCML-SYNC" Jul 16 01:07:59 Sailfish syncml-server[9715]: [D] unknown:0 - Writing 14 ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org