Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-16 Thread Tone Kastlunger
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

2019-07-16 Thread Tone Kastlunger
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

2019-07-16 Thread deloptes
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

2019-07-16 Thread Tone Kastlunger
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

2019-07-16 Thread Tone Kastlunger
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

2019-07-16 Thread deloptes
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

2019-07-16 Thread Tone Kastlunger
>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

2019-07-16 Thread deloptes
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

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-15 Thread deloptes
Tone Kastlunger wrote:

> I guess im missing something?

buteo-sync-plugins

___
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

2019-07-15 Thread Tone Kastlunger
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?



On Mon, Jul 15, 2019 at 9:28 PM deloptes  wrote:

> Tone Kastlunger wrote:
>
> > Correction; found it.
> > Apologies for the spamming.
>
> OK, but this is exactly the part of the exercise. Much of this is still
> written to work with bluez4. Since Xperia X is using bluez5 this does not
> work out of the box.
>
> So this patch makes the syncfw work with bluez5. However most of the work
> is
> done by buteo-sync-plugins which uses the buteo-syncml framework.
> It looks like  buteo-syncml does not need changing.
> In the buteo-sync-plugins repository there is a branch with calendar
> extention that is not merged. I created a new branch based on this and
> cleaned up all bluez4.
> For some reason for example (after compiling the experimental part in
> bluez5) OBEX FTP plugin is not loading.
> So now I'm stuck at connecting with some specific profiles from PC to phone
> and it does not work. From phone to PC it works. This is very strange. It
> needs more investigation.
>
> 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

2019-07-15 Thread deloptes
Tone Kastlunger wrote:

> Correction; found it.
> Apologies for the spamming.

OK, but this is exactly the part of the exercise. Much of this is still
written to work with bluez4. Since Xperia X is using bluez5 this does not
work out of the box.

So this patch makes the syncfw work with bluez5. However most of the work is
done by buteo-sync-plugins which uses the buteo-syncml framework. 
It looks like  buteo-syncml does not need changing.
In the buteo-sync-plugins repository there is a branch with calendar
extention that is not merged. I created a new branch based on this and
cleaned up all bluez4. 
For some reason for example (after compiling the experimental part in
bluez5) OBEX FTP plugin is not loading.
So now I'm stuck at connecting with some specific profiles from PC to phone
and it does not work. From phone to PC it works. This is very strange. It
needs more investigation. 

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

2019-07-15 Thread Tone Kastlunger
Correction; found it.
Apologies for the spamming.

On Mon, Jul 15, 2019 at 8:22 PM Tone Kastlunger 
wrote:

> So after building openobex from the mer repo (10 years old :) ),
> it seems syncml client is also not available (and not present on the mer
> repos).
> deloptes, where did you get the sources from?
>
> Best,
> tk
>
> On Mon, Jul 15, 2019 at 7:37 PM Tone Kastlunger 
> wrote:
>
>> Hello;
>> so some progress; I installed the built rpm (with the patch deloptes
>> provided) succesfully;
>> however, sdptool didnt find anything related to SYNCML.
>>
>> Upon further checks, it appears the syncml client wasnt installed on my
>> xperia, so I attempted to install it, however:
>>
>> [root@Sailfish nemo]# zypper search buteo
>> Building repository 'store' cache
>> ...[done]
>> Loading repository data...
>> Reading installed packages...
>>
>> S | Name  | Summary
>>   | Type
>>
>> --+---+-+---
>> i | buteo-mtp-qt5 | MTP library
>>   | package
>>   | buteo-mtp-qt5 | MTP library
>>   | srcpackage
>>   | buteo-mtp-qt5-debuginfo   | Debug information for
>> package buteo-mtp-qt5 | package
>>   | buteo-mtp-qt5-debugsource | Debug sources for package
>> buteo-mtp-qt5 | package
>>   | buteo-mtp-qt5-devel   | Development files for
>> buteo-mtp-qt5 | package
>>   | buteo-mtp-qt5-sample-vendor-configuration | Vendor configuration
>> example for MTP| package
>>   | buteo-mtp-qt5-sync-plugin | MTP plugin for buteo-sync
>>   | package
>>   | buteo-mtp-qt5-tests   | Tests for buteo-mtp-qt5
>>   | package
>>   | buteo-service-memotoo | Memotoo service
>> description for Buteo SyncML| package
>> i | buteo-sync-plugin-caldav  | Syncs calendar data from
>> CalDAV services| package
>>   | buteo-sync-plugin-caldav  | Syncs calendar data from
>> CalDAV services| srcpackage
>>   | buteo-sync-plugin-caldav-debuginfo| Debug information for
>> package buteo-sync-plugin-caldav  | package
>>   | buteo-sync-plugin-caldav-debugsource  | Debug sources for package
>> buteo-sync-plugin-caldav  | package
>>   | buteo-sync-plugin-caldav-tests| Unit tests for
>> buteo-sync-plugin-caldav | package
>> i | buteo-sync-plugin-carddav | Syncs contact data from
>> CardDAV services| package
>>   | buteo-sync-plugin-carddav | Syncs contact data from
>> CardDAV services| srcpackage
>>   | buteo-sync-plugin-carddav-debuginfo   | Debug information for
>> package buteo-sync-plugin-carddav | package
>>   | buteo-sync-plugin-carddav-debugsource | Debug sources for package
>> buteo-sync-plugin-carddav | package
>>   | buteo-sync-plugin-carddav-tests   | Unit tests for
>> buteo-sync-plugin-carddav| package
>> i | buteo-sync-plugins-email  | Syncs email accounts
>>| package
>>   | buteo-sync-plugins-email  | Syncs email accounts
>>| srcpackage
>>   | buteo-sync-plugins-email-debuginfo| Debug information for
>> package buteo-sync-plugins-email  | package
>>   | buteo-sync-plugins-email-debugsource  | Debug sources for package
>> buteo-sync-plugins-email  | package
>>   | buteo-sync-plugins-qt5| Synchronization plugins
>>   | package
>>   | buteo-sync-plugins-qt5| Synchronization plugins
>>   | srcpackage
>>   | buteo-sync-plugins-qt5-debuginfo  | Debug information for
>> package buteo-sync-plugins-qt5| package
>>   | buteo-sync-plugins-qt5-debugsource| Debug sources for package
>> buteo-sync-plugins-qt5| package
>>   | buteo-sync-plugins-qt5-devel  | Development files for
>> buteo-sync-plugins-qt5| package
>>   | buteo-sync-plugins-qt5-doc| Documentation for
>> buteo-sync-plugins-qt5| package
>>   | buteo-sync-plugins-qt5-tests  | Tests for
>> buteo-sync-plugins-qt5| package
>> i | buteo-sync-plugins-sailfisheas| Buteo plugins for
>> Exchange ActiveSync   | package
>> i | buteo-syncfw-qt5  | Synchronization backend
>>   | package
>>   | buteo-syncfw-qt5 

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-15 Thread Tone Kastlunger
So after building openobex from the mer repo (10 years old :) ),
it seems syncml client is also not available (and not present on the mer
repos).
deloptes, where did you get the sources from?

Best,
tk

On Mon, Jul 15, 2019 at 7:37 PM Tone Kastlunger 
wrote:

> Hello;
> so some progress; I installed the built rpm (with the patch deloptes
> provided) succesfully;
> however, sdptool didnt find anything related to SYNCML.
>
> Upon further checks, it appears the syncml client wasnt installed on my
> xperia, so I attempted to install it, however:
>
> [root@Sailfish nemo]# zypper search buteo
> Building repository 'store' cache
> ...[done]
> Loading repository data...
> Reading installed packages...
>
> S | Name  | Summary
>   | Type
>
> --+---+-+---
> i | buteo-mtp-qt5 | MTP library
>   | package
>   | buteo-mtp-qt5 | MTP library
>   | srcpackage
>   | buteo-mtp-qt5-debuginfo   | Debug information for
> package buteo-mtp-qt5 | package
>   | buteo-mtp-qt5-debugsource | Debug sources for package
> buteo-mtp-qt5 | package
>   | buteo-mtp-qt5-devel   | Development files for
> buteo-mtp-qt5 | package
>   | buteo-mtp-qt5-sample-vendor-configuration | Vendor configuration
> example for MTP| package
>   | buteo-mtp-qt5-sync-plugin | MTP plugin for buteo-sync
>   | package
>   | buteo-mtp-qt5-tests   | Tests for buteo-mtp-qt5
>   | package
>   | buteo-service-memotoo | Memotoo service
> description for Buteo SyncML| package
> i | buteo-sync-plugin-caldav  | Syncs calendar data from
> CalDAV services| package
>   | buteo-sync-plugin-caldav  | Syncs calendar data from
> CalDAV services| srcpackage
>   | buteo-sync-plugin-caldav-debuginfo| Debug information for
> package buteo-sync-plugin-caldav  | package
>   | buteo-sync-plugin-caldav-debugsource  | Debug sources for package
> buteo-sync-plugin-caldav  | package
>   | buteo-sync-plugin-caldav-tests| Unit tests for
> buteo-sync-plugin-caldav | package
> i | buteo-sync-plugin-carddav | Syncs contact data from
> CardDAV services| package
>   | buteo-sync-plugin-carddav | Syncs contact data from
> CardDAV services| srcpackage
>   | buteo-sync-plugin-carddav-debuginfo   | Debug information for
> package buteo-sync-plugin-carddav | package
>   | buteo-sync-plugin-carddav-debugsource | Debug sources for package
> buteo-sync-plugin-carddav | package
>   | buteo-sync-plugin-carddav-tests   | Unit tests for
> buteo-sync-plugin-carddav| package
> i | buteo-sync-plugins-email  | Syncs email accounts
>  | package
>   | buteo-sync-plugins-email  | Syncs email accounts
>  | srcpackage
>   | buteo-sync-plugins-email-debuginfo| Debug information for
> package buteo-sync-plugins-email  | package
>   | buteo-sync-plugins-email-debugsource  | Debug sources for package
> buteo-sync-plugins-email  | package
>   | buteo-sync-plugins-qt5| Synchronization plugins
>   | package
>   | buteo-sync-plugins-qt5| Synchronization plugins
>   | srcpackage
>   | buteo-sync-plugins-qt5-debuginfo  | Debug information for
> package buteo-sync-plugins-qt5| package
>   | buteo-sync-plugins-qt5-debugsource| Debug sources for package
> buteo-sync-plugins-qt5| package
>   | buteo-sync-plugins-qt5-devel  | Development files for
> buteo-sync-plugins-qt5| package
>   | buteo-sync-plugins-qt5-doc| Documentation for
> buteo-sync-plugins-qt5| package
>   | buteo-sync-plugins-qt5-tests  | Tests for
> buteo-sync-plugins-qt5| package
> i | buteo-sync-plugins-sailfisheas| Buteo plugins for Exchange
> ActiveSync   | package
> i | buteo-syncfw-qt5  | Synchronization backend
>   | package
>   | buteo-syncfw-qt5  | Synchronization backend
>   | srcpackage
>   | buteo-syncfw-qt5-debuginfo| Debug information for
> package buteo-syncfw-qt5  | package
>   

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-15 Thread Tone Kastlunger
Hello;
so some progress; I installed the built rpm (with the patch deloptes
provided) succesfully;
however, sdptool didnt find anything related to SYNCML.

Upon further checks, it appears the syncml client wasnt installed on my
xperia, so I attempted to install it, however:

[root@Sailfish nemo]# zypper search buteo
Building repository 'store' cache
...[done]
Loading repository data...
Reading installed packages...

S | Name  | Summary
| Type
--+---+-+---
i | buteo-mtp-qt5 | MTP library
| package
  | buteo-mtp-qt5 | MTP library
| srcpackage
  | buteo-mtp-qt5-debuginfo   | Debug information for
package buteo-mtp-qt5 | package
  | buteo-mtp-qt5-debugsource | Debug sources for package
buteo-mtp-qt5 | package
  | buteo-mtp-qt5-devel   | Development files for
buteo-mtp-qt5 | package
  | buteo-mtp-qt5-sample-vendor-configuration | Vendor configuration
example for MTP| package
  | buteo-mtp-qt5-sync-plugin | MTP plugin for buteo-sync
| package
  | buteo-mtp-qt5-tests   | Tests for buteo-mtp-qt5
| package
  | buteo-service-memotoo | Memotoo service description
for Buteo SyncML| package
i | buteo-sync-plugin-caldav  | Syncs calendar data from
CalDAV services| package
  | buteo-sync-plugin-caldav  | Syncs calendar data from
CalDAV services| srcpackage
  | buteo-sync-plugin-caldav-debuginfo| Debug information for
package buteo-sync-plugin-caldav  | package
  | buteo-sync-plugin-caldav-debugsource  | Debug sources for package
buteo-sync-plugin-caldav  | package
  | buteo-sync-plugin-caldav-tests| Unit tests for
buteo-sync-plugin-caldav | package
i | buteo-sync-plugin-carddav | Syncs contact data from
CardDAV services| package
  | buteo-sync-plugin-carddav | Syncs contact data from
CardDAV services| srcpackage
  | buteo-sync-plugin-carddav-debuginfo   | Debug information for
package buteo-sync-plugin-carddav | package
  | buteo-sync-plugin-carddav-debugsource | Debug sources for package
buteo-sync-plugin-carddav | package
  | buteo-sync-plugin-carddav-tests   | Unit tests for
buteo-sync-plugin-carddav| package
i | buteo-sync-plugins-email  | Syncs email accounts
 | package
  | buteo-sync-plugins-email  | Syncs email accounts
 | srcpackage
  | buteo-sync-plugins-email-debuginfo| Debug information for
package buteo-sync-plugins-email  | package
  | buteo-sync-plugins-email-debugsource  | Debug sources for package
buteo-sync-plugins-email  | package
  | buteo-sync-plugins-qt5| Synchronization plugins
| package
  | buteo-sync-plugins-qt5| Synchronization plugins
| srcpackage
  | buteo-sync-plugins-qt5-debuginfo  | Debug information for
package buteo-sync-plugins-qt5| package
  | buteo-sync-plugins-qt5-debugsource| Debug sources for package
buteo-sync-plugins-qt5| package
  | buteo-sync-plugins-qt5-devel  | Development files for
buteo-sync-plugins-qt5| package
  | buteo-sync-plugins-qt5-doc| Documentation for
buteo-sync-plugins-qt5| package
  | buteo-sync-plugins-qt5-tests  | Tests for
buteo-sync-plugins-qt5| package
i | buteo-sync-plugins-sailfisheas| Buteo plugins for Exchange
ActiveSync   | package
i | buteo-syncfw-qt5  | Synchronization backend
| package
  | buteo-syncfw-qt5  | Synchronization backend
| srcpackage
  | buteo-syncfw-qt5-debuginfo| Debug information for
package buteo-syncfw-qt5  | package
  | buteo-syncfw-qt5-debugsource  | Debug sources for package
buteo-syncfw-qt5  | package
  | buteo-syncfw-qt5-devel| Development files for
buteo-syncfw-qt5  | package
  | buteo-syncfw-qt5-doc  | Documentation for
buteo-syncfw-qt5  | package
i | buteo-syncfw-qt5-msyncd   | Buteo sync daemon
| package
  | b

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-15 Thread Tone Kastlunger
Yep;
missed that one thanks!
Noticed spec file doesnt mention this; can I get the rpmbuilder to choose
the "replace" option by default?

On Mon, Jul 15, 2019 at 2:20 PM deloptes  wrote:

> Tone Kastlunger wrote:
>
> > [mersdk@SailfishSDK build]$ mb2  -t SailfishOS-3.0.3.9-armv7hl -s
> > ../rpm/buteo-syncfw-qt5.spec build
>
>
> when you try to build from within a build directory, you have to specify
> the
> root directory with -d flag
>
> I use following
>
> mb2 -t SailfishOS-3.0.2.8-armv7hl -s ../rpm/buteo-syncfw-qt5.spec \
>  build -j4 -d ../
> HERE ->^^
>
> regards
>
> PS: also you do not need the bluez4, but bluez5
>
> ___
> 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

2019-07-15 Thread deloptes
Martin Kampas wrote:

> It is not the '-d' flag that fixes it - this is a shortcut for
> '--enable-debug' :) Just the path to the source directory '..' is enough.

:) yes indeed you are right :) sorry for that confusion

___
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

2019-07-15 Thread Martin Kampas
Hi,

It is not the '-d' flag that fixes it - this is a shortcut for '--enable-debug' 
:) Just the path to the 
source directory '..' is enough.

BR,
Martin

On pondělí 15. července 2019 13:20:40 CEST deloptes wrote:
> Tone Kastlunger wrote:
> > [mersdk@SailfishSDK build]$ mb2  -t SailfishOS-3.0.3.9-armv7hl -s
> > ../rpm/buteo-syncfw-qt5.spec build
> 
> when you try to build from within a build directory, you have to specify the
> root directory with -d flag
> 
> I use following
> 
> mb2 -t SailfishOS-3.0.2.8-armv7hl -s ../rpm/buteo-syncfw-qt5.spec \
>  build -j4 -d ../
> HERE ->^^
> 
> regards
> 
> PS: also you do not need the bluez4, but bluez5
> 
> ___
> 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

2019-07-15 Thread deloptes
Tone Kastlunger wrote:

> [mersdk@SailfishSDK build]$ mb2  -t SailfishOS-3.0.3.9-armv7hl -s
> ../rpm/buteo-syncfw-qt5.spec build


when you try to build from within a build directory, you have to specify the
root directory with -d flag

I use following

mb2 -t SailfishOS-3.0.2.8-armv7hl -s ../rpm/buteo-syncfw-qt5.spec \
 build -j4 -d ../
HERE ->^^

regards

PS: also you do not need the bluez4, but bluez5

___
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

2019-07-15 Thread Martin Kampas
Hi,

> updated the sdk to the latest & greates and I cant build :
> 
> [mersdk@SailfishSDK build]$ mb2  -t SailfishOS-3.0.3.9-armv7hl -s
> ../rpm/buteo-syncfw-qt5.spec build
> 
> [...]
> Usage: /usr/lib/qt5/bin/qmake [mode] [options] [files]
> 
> [...]

This may be because there are multiple .pro files in the top level directory - 
check 
https://together.jolla.com/question/208008. If this is the case, try the 
workaround 
mentioned on TJC. Passing the desired .pro file to qmake from .spec might help 
as well.

BR,
Martin
___
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

2019-07-15 Thread Tone Kastlunger
So even more fun;
updated the sdk to the latest & greates and I cant build :

[mersdk@SailfishSDK build]$ mb2  -t SailfishOS-3.0.3.9-armv7hl -s
../rpm/buteo-syncfw-qt5.spec build

The following 17 NEW packages are going to be installed:
  bluez bluez-configs-mer bluez-libs doxygen fdupes glib2-devel hwdata
kf5bluezqt-bluez4 kf5bluezqt-bluez4-devel kmod libiphb-devel
  libkeepalive-devel obex-capability obexd pcre-devel
qt5-qtsysteminfo-devel qt5-qttest-devel

17 new packages to install.
Overall download size: 4.2 MiB. Already cached: 0 B. After the operation,
additional 17.5 MiB will be used.
Continue? [y/n/...? shows all options] (y): y
Synchronising target to host
cannot delete non-empty directory: usr/bin
Sync completed
qemu: Unsupported syscall: 384
qemu: Unsupported syscall: 384
qemu: Unsupported syscall: 384
qemu: Unsupported syscall: 384
Building target platforms: armv7hl-meego-linux
Building for target armv7hl-meego-linux
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.l1AJwn
+ umask 022
+ cd /home/mersdk/share/checkouts/git/buteo-syncfw/build
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
-fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb
-Wno-psabi'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
-fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb
-Wno-psabi'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
-fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb
-Wno-psabi -I/usr/lib/gfortran/modules'
+ export FFLAGS
+ LD_AS_NEEDED=1
+ export LD_AS_NEEDED
+ export QT_SELECT=5
+ QT_SELECT=5
+ qmake -qt=5 -makefile 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0
-march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
'QMAKE_CFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
-fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb
-Wno-psabi' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0
-march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
'QMAKE_CXXFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard
-mfpu=neon -mthumb -Wno-psabi' QMAKE_STRIP=: PREFIX=/usr -recursive
VERSION=0.8.16 CONFIG+=usb-moded DEFINES+=USE_KEEPALIVE
Usage: /usr/lib/qt5/bin/qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
  -project   Put qmake into project file generation mode
 In this mode qmake interprets files as files to
 be built,
 defaults to *; *; *; *.ts; *.xlf; *.qrc
 Note: The created .pro file probably will
 need to be edited. For example add the QT variable to
 specify what modules are required.
  -makefile  Put qmake into makefile generation mode (default)
 In this mode qmake interprets files as project files to
 be processed, if skipped qmake will try to find a project
 file in your current working directory

Warnings Options:
  -Wnone Turn off all warnings; specific ones may be re-enabled by
 later -W options
  -Wall  Turn on all warnings
  -Wparser   Turn on parser warnings
  -WlogicTurn on logic warnings (on by default)
  -Wdeprecated   Turn on deprecation warnings (on by default)

Options:
   * You can place any variable assignment in options and it will be *
   * processed as if it was in [files]. These assignments will be parsed *
   * before [files]. *
  -o fileWrite output to file
  -d Increase debug level
  -t templ   Overrides TEMPLATE as templ
  -tp prefix Overrides TEMPLATE so that prefix is prefixed into the
value
  -help  This help
  -v Version information
  -after All variable assignments after this will be
 parsed after [files]
  -norecursive   Don't do a recursive search
  -recursive Do a recursive search
  -set   Set persistent p

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-12 Thread deloptes
Tone Kastlunger wrote:

> qmcebatterystatus.h

/srv/mer/targets/SailfishOS-3.0.2.8-armv7hl/usr/include/mce-qt5/qmcebatterystatus.h

is in libmce-qt5-devel

Strange because I did not install it manually

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

2019-07-12 Thread Slava Monich

https://git.sailfishos.org/mer-core/libmce-qt/blob/master/lib/include/qmcebatterystatus.h

On 13/07/2019 00:30, Tone Kastlunger wrote:

Btw, your patch is not building on my sdk:
Where does the #include  come from?
As you can see, I should have everything installed in the target for 
it to build;

but the file in question does not show up (see find command below).

...

___
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

2019-07-12 Thread Tone Kastlunger
PS : oh and this is against the latest buteo repo version :)

On Sat, Jul 13, 2019 at 12:30 AM Tone Kastlunger 
wrote:

> Btw, your patch is not building on my sdk:
> Where does the #include  come from?
> As you can see, I should have everything installed in the target for it to
> build;
> but the file in question does not show up (see find command below).
>
> Logs:
> --
>
> [SB2 sdk-build SailfishOS-3.0.0.8-armv7hl] I have no name!@SailfishSDK
> buteo-syncfw $ zypper search libmce
> Loading repository data...
> Reading installed packages...
>
> S  | Name| Summary   |
> Type
>
> ---+-+---+---
> i  | libmce-glib | MCE client library|
> package
>| libmce-glib | MCE client library|
> srcpackage
>| libmce-glib-debuginfo   | Debug information for package libmce-glib |
> package
>| libmce-glib-debugsource | Debug sources for package libmce-glib |
> package
> i+ | libmce-glib-devel   | Development library for libmce-glib   |
> package
> i+ | libmce-qt5  | A library of Qt bindings for mce  |
> package
>| libmce-qt5  | A library of Qt bindings for mce  |
> srcpackage
>| libmce-qt5-debuginfo| Debug information for package libmce-qt5  |
> package
>| libmce-qt5-debugsource  | Debug sources for package libmce-qt5  |
> package
> i+ | libmce-qt5-declarative  | Declarative plugin for libmce-qt5 |
> package
> i+ | libmce-qt5-devel| Development files for libmce-qt5  |
> package
> [SB2 sdk-build SailfishOS-3.0.0.8-armv7hl] I have no name!@SailfishSDK
> buteo-syncfw $ fakeroot zypper install libmce-glib
> Loading repository data...
> Reading installed packages...
> 'libmce-glib' is already installed.
> No update candidate for 'libmce-glib-1.0.5-1.1.7.jolla.armv7hl'. The
> highest available version is already installed.
> Resolving package dependencies...
>
> Nothing to do.
> [SB2 sdk-build SailfishOS-3.0.0.8-armv7hl] I have no name!@SailfishSDK
> buteo-syncfw $ find /usr -iname qmce*
> /usr/include/mce-qt5/qmcedisplay.h
> /usr/include/mce-qt5/qmcetypes.h
> /usr/include/mce-qt5/qmcetklock.h
> [SB2 sdk-build SailfishOS-3.0.0.8-armv7hl] I have no name!@SailfishSDK
> buteo-syncfw $ exit
> exit
> [mersdk@SailfishSDK buteo-syncfw]$ mb2 -t SailfishOS-3.0.0.8-armv7hl -s
> rpm/buteo-syncfw-qt5.spec -p $PWD build
>
> Building target platforms: armv7hl-meego-linux
> Building for target armv7hl-meego-linux
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QuzSFJ
> + umask 022
> + cd /home/mersdk/share/checkouts/git/buteo-syncfw
> + LANG=C
> + export LANG
> + unset DISPLAY
> + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
> -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb
> -Wno-psabi'
> + export CFLAGS
> + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
> -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb
> -Wno-psabi'
> + export CXXFLAGS
> + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
> -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb
> -Wno-psabi -I/usr/lib/gfortran/modules'
> + export FFLAGS
> + LD_AS_NEEDED=1
> + export LD_AS_NEEDED
> + export QT_SELECT=5
> + QT_SELECT=5
> + qmake -qt=5 -makefile 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0
> -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
> 'QMAKE_CFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
> -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb
> -Wno-psabi' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0
> -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
> 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat
> -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard
> -mfpu=neon -mthumb -Wno-psabi' QMAKE_STRIP=: PREFIX=/usr -recursive
> VERSION=0.8.16 CONFIG+=usb-moded DEFINES+=USE_KEEPALIVE
> Reading /home/mersdk/share/checkouts/git/buteo-syncfw/libbuteosyncfw/
> libbuteosyncfw.pro
> Project MESSAGE: Building with usb-moded
> Reading /home/mersdk/share/checkouts/git/buteo-syncfw/msyncd/msyncd.pro
>  Reading /home/mersdk/share/c

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-12 Thread Tone Kastlunger
Btw, your patch is not building on my sdk:
Where does the #include  come from?
As you can see, I should have everything installed in the target for it to
build;
but the file in question does not show up (see find command below).

Logs:
--

[SB2 sdk-build SailfishOS-3.0.0.8-armv7hl] I have no name!@SailfishSDK
buteo-syncfw $ zypper search libmce
Loading repository data...
Reading installed packages...

S  | Name| Summary   |
Type
---+-+---+---
i  | libmce-glib | MCE client library|
package
   | libmce-glib | MCE client library|
srcpackage
   | libmce-glib-debuginfo   | Debug information for package libmce-glib |
package
   | libmce-glib-debugsource | Debug sources for package libmce-glib |
package
i+ | libmce-glib-devel   | Development library for libmce-glib   |
package
i+ | libmce-qt5  | A library of Qt bindings for mce  |
package
   | libmce-qt5  | A library of Qt bindings for mce  |
srcpackage
   | libmce-qt5-debuginfo| Debug information for package libmce-qt5  |
package
   | libmce-qt5-debugsource  | Debug sources for package libmce-qt5  |
package
i+ | libmce-qt5-declarative  | Declarative plugin for libmce-qt5 |
package
i+ | libmce-qt5-devel| Development files for libmce-qt5  |
package
[SB2 sdk-build SailfishOS-3.0.0.8-armv7hl] I have no name!@SailfishSDK
buteo-syncfw $ fakeroot zypper install libmce-glib
Loading repository data...
Reading installed packages...
'libmce-glib' is already installed.
No update candidate for 'libmce-glib-1.0.5-1.1.7.jolla.armv7hl'. The
highest available version is already installed.
Resolving package dependencies...

Nothing to do.
[SB2 sdk-build SailfishOS-3.0.0.8-armv7hl] I have no name!@SailfishSDK
buteo-syncfw $ find /usr -iname qmce*
/usr/include/mce-qt5/qmcedisplay.h
/usr/include/mce-qt5/qmcetypes.h
/usr/include/mce-qt5/qmcetklock.h
[SB2 sdk-build SailfishOS-3.0.0.8-armv7hl] I have no name!@SailfishSDK
buteo-syncfw $ exit
exit
[mersdk@SailfishSDK buteo-syncfw]$ mb2 -t SailfishOS-3.0.0.8-armv7hl -s
rpm/buteo-syncfw-qt5.spec -p $PWD build

Building target platforms: armv7hl-meego-linux
Building for target armv7hl-meego-linux
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QuzSFJ
+ umask 022
+ cd /home/mersdk/share/checkouts/git/buteo-syncfw
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
-fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb
-Wno-psabi'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
-fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb
-Wno-psabi'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
-fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb
-Wno-psabi -I/usr/lib/gfortran/modules'
+ export FFLAGS
+ LD_AS_NEEDED=1
+ export LD_AS_NEEDED
+ export QT_SELECT=5
+ QT_SELECT=5
+ qmake -qt=5 -makefile 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0
-march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
'QMAKE_CFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
-fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb
-Wno-psabi' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0
-march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi'
'QMAKE_CXXFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard
-mfpu=neon -mthumb -Wno-psabi' QMAKE_STRIP=: PREFIX=/usr -recursive
VERSION=0.8.16 CONFIG+=usb-moded DEFINES+=USE_KEEPALIVE
Reading /home/mersdk/share/checkouts/git/buteo-syncfw/libbuteosyncfw/
libbuteosyncfw.pro
Project MESSAGE: Building with usb-moded
Reading /home/mersdk/share/checkouts/git/buteo-syncfw/msyncd/msyncd.pro
 Reading /home/mersdk/share/checkouts/git/buteo-syncfw/msyncd/msyncd-lib.pro
 Reading /home/mersdk/share/checkouts/git/buteo-syncfw/msyncd/msyncd-app.pro
Reading /home/mersdk/share/checkouts/git/buteo-syncfw/unittests/
unittests.pro
 Reading
/home/mersdk/share/checkouts/git/buteo-syncfw/unittests/dummyplugins/
dummyplugins.pro
  Reading
/home/mersdk/share/chec

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-12 Thread Tone Kastlunger
Yes,
for an example, the pcsuite (as mentioned in the previous mail) is not
included in the (original) build configuration
of bluez5, as the configure is missing the --enable-experimental.
Now before we go all heroish and open pandora's box, i'd say we could try
to track down the source pack of the
bluez on n9, and see the configure scripts from there. Is that possible? I
don't know.

Best,
tk

On Fri, Jul 12, 2019 at 10:06 PM deloptes  wrote:

> Tone Kastlunger wrote:
>
> >> IMO it is missing OBEX File Transfer Profile.
> > Is this profile supposed to be used for non-file data (i.e. contacts)  as
> > well?
> > There seems to be some file-related test cases in the repo of bluez5
> >
> > https://git.sailfishos.org/mer-core/bluez5/blob/master/test/list-folders
>
> Looks like there are all pieces around and someone has to put them
> together.
>
> For example in
> https://git.sailfishos.org/mer-core/bluez5/blob/master/obexd/client/sync.c
>
> #define OBEX_SYNC_UUID "IRMC-SYNC" < this here means OBEX SYNC
> #define OBEX_SYNC_UUID_LEN 9
>
> #define SYNC_INTERFACE "org.bluez.obex.Synchronization1"
> #define ERROR_INF SYNC_INTERFACE ".Error"
> #define SYNC_UUID "1104--1000-8000-00805f9b34fb"
>
> Also in
> https://git.sailfishos.org/mer-core/bluez5/blob/master/lib/uuid.h
> #define
> 
> OBEX_SYNC_UUID  "1104--1000-8000-00805f9b34fb"
>
> and here
>
>
> https://git.sailfishos.org/mer-core/bluez5/blob/master/obexd/plugins/bluetooth.c
>
> case OBEX_PCSUITE:
> return "5005--1000-8000-0002ee01";
> case OBEX_SYNCEVOLUTION:
> return "0002--1000-8000-0002ee02";
>
> and in
>
> https://git.sailfishos.org/mer-core/bluez5/blob/master/obexd/plugins/syncevolution.c
>
> is the SYNCML-SYNC (Server). From what we learned this is if you want to
> initiate sync from the device - at least how I understood the document.
>
> It looks like a good starting point. Thanks for pointing to the bluez5 mer
> link.
>
> 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

2019-07-12 Thread deloptes
Tone Kastlunger wrote:

>> IMO it is missing OBEX File Transfer Profile.
> Is this profile supposed to be used for non-file data (i.e. contacts)  as
> well?
> There seems to be some file-related test cases in the repo of bluez5
> 
> https://git.sailfishos.org/mer-core/bluez5/blob/master/test/list-folders

Looks like there are all pieces around and someone has to put them together.

For example in
https://git.sailfishos.org/mer-core/bluez5/blob/master/obexd/client/sync.c 

#define OBEX_SYNC_UUID "IRMC-SYNC" < this here means OBEX SYNC
#define OBEX_SYNC_UUID_LEN 9

#define SYNC_INTERFACE "org.bluez.obex.Synchronization1"
#define ERROR_INF SYNC_INTERFACE ".Error"
#define SYNC_UUID "1104--1000-8000-00805f9b34fb"

Also in
https://git.sailfishos.org/mer-core/bluez5/blob/master/lib/uuid.h
#define OBEX_SYNC_UUID  "1104--1000-8000-00805f9b34fb"

and here

https://git.sailfishos.org/mer-core/bluez5/blob/master/obexd/plugins/bluetooth.c

case OBEX_PCSUITE:
return "5005--1000-8000-0002ee01";
case OBEX_SYNCEVOLUTION:
return "0002--1000-8000-0002ee02";

and in 
https://git.sailfishos.org/mer-core/bluez5/blob/master/obexd/plugins/syncevolution.c

is the SYNCML-SYNC (Server). From what we learned this is if you want to
initiate sync from the device - at least how I understood the document.

It looks like a good starting point. Thanks for pointing to the bluez5 mer
link.

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

2019-07-12 Thread Tone Kastlunger
Thanks for the links!
As said, im really not familiar with
the syncml stack!

One thing i noticed from them:

>set the username and password for synchronization on your phone to be empty

hows this implemented on the sfos side?

On Friday, July 12, 2019, deloptes  wrote:
> forgot to paste this
>
> https://wiki.merproject.org/wiki/Buteo/SyncML
>
>
> ___
> 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

2019-07-11 Thread deloptes
forgot to paste this

https://wiki.merproject.org/wiki/Buteo/SyncML


___
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

2019-07-11 Thread deloptes
Tone Kastlunger wrote:

> and me again;
> it appears the PC Suite plugin is marked as EXPERIMENTAL on the make
> files; needless to say, this EXPERIMENTAL option is not enabled by the
> configure of the bluez5 project.
> 
> 
> 

Cool! thank you for researching and in the sense sharing some work.
Unfortunately it got too late. I am looking forward to investigate all
options. From what you write it seems that a closer look at the obex code
needs to be taken.

Regarding your comment on OBEX File Transfer. I am not sure if this is
really needed. Fact is that it is missing :) and I can not copy files via
BT/Obex.

I now looked at https://syncevolution.org/wiki/sync-your-phone-bluetooth and
it says sdptool search --bdaddr ${BtAddress} SYNCML should find a client.

If interested have a look at "Usage Models"
https://syncevolution.org/development/direct-synchronization-aka-syncml-server

"With OBEX (Bluetooth, USB, IrDA), the roles are reversed. The user controls
the SyncML server on the "smart" device (PC, netbook) and asks it to
contact the "dumb" device (phone)." 

So perhaps it is doing the right thing trying to connect the client on the
phone. I may need to have a closer look at the client then.

and here: https://en.wikipedia.org/wiki/OBject_EXchange
SyncML
SyncML can synchronize phonebooks, calendars, notes, and other data. In
its OBEX binding, the target of the CONNECT object is
{'S', 'Y', 'N', 'C', 'M', 'L', '-', 'S', 'Y', 'N', 'C'}; a session then
consists in a sequence of PUT-GET pairs where nameless XML or WBXML files
are sent and received, in turn.

very 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

2019-07-11 Thread Tone Kastlunger
and me again;
it appears the PC Suite plugin is marked as EXPERIMENTAL on the make files;
needless to say, this EXPERIMENTAL option is not enabled by the configure
of the bluez5 project.



On Fri, Jul 12, 2019 at 12:00 AM Tone Kastlunger 
wrote:

> ..and more stuff can be found from the obexd/plugins folder:
>
> https://git.sailfishos.org/mer-core/bluez5/tree/master/obexd/plugins
>
>
> On Thu, Jul 11, 2019 at 11:42 PM Tone Kastlunger <
> users.giulie...@gmail.com> wrote:
>
>> PS from here:
>>
>>
>> https://git.sailfishos.org/mer-core/bluez5/blob/master/test/get-obex-capabilities
>> it seems you can get some obex capabilities (although I have yet to be
>> able to do so);
>>
>> also, have a look at  /usr/libexec/obexd-wrapper (shell script); it
>> allows for tracing of obexd activity apparently.
>>
>>
>>
>> On Thu, Jul 11, 2019 at 11:29 PM Tone Kastlunger <
>> users.giulie...@gmail.com> wrote:
>>
>>> > IMO it is missing OBEX File Transfer Profile.
>>> Is this profile supposed to be used for non-file data (i.e. contacts)
>>> as well?
>>> There seems to be some file-related test cases in the repo of bluez5
>>>
>>> https://git.sailfishos.org/mer-core/bluez5/blob/master/test/list-folders
>>>
>>> On Thu, Jul 11, 2019 at 9:45 PM deloptes  wrote:
>>>
 Tone Kastlunger wrote:

 > It seems obexd might have some issues with bluez5 yes (as it's
 labeled as
 > conflicting):
 >
 >

 https://git.sailfishos.org/mer-core/obexd/commit/6e9de8842715dec6e3b4348d6a076dbf247fa43b
 >
 > Now Im in no way an expert on obex / obexd. So if someone has more
 intel,
 > please share!

 Please distinguish obex for bluez4 from obex for bluez5. At the moment
 on a
 test device I have installed:

 # pkcon --filter installed get-packages  | grep bluez
 Installedbluez5-5.47+git11-1.7.2.jolla.armv7hl (installed)
 Installedbluez5-libs-5.47+git11-1.7.2.jolla.armv7hl (installed)
 Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
 Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl
 (installed)
 Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl
 (installed)
 Installedbluez5-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
 Installedbluez5-tracing-5.47+git11-1.7.2.jolla.armv7hl (installed)
 Installeddroid-config-f5121-bluez5-1.2.6-1.12.5.jolla.armv7hl
 (installed)
 Installedkf5bluezqt-bluez5-5.24.0+git15-1.3.1.jolla.armv7hl
 (installed)
 Installedkf5bluezqt-bluez5-debuginfo-5.25.0+git17-1.armv7hl
 (installed)
 Installed
 kf5bluezqt-bluez5-declarative-5.24.0+git15-1.3.1.jolla.armv7hl
 (installed)
 Installedstatefs-provider-bluez-0.3.17-1.3.1.jolla.armv7hl
 (installed)

 # pkcon --filter installed get-packages  | grep obex
 Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
 Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl
 (installed)
 Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl
 (installed)
 Installedobex-capability-0.0.2-1.3.2.jolla.armv7hl (installed)
 Installedobexd-calldata-provider-0.1.1-1.3.1.jolla.armv7hl
 (installed)
 Installedobexd-contentfilter-helper-0.0.2-1.2.1.jolla.noarch
 (installed)
 Installedopenobex-0.1.4-1.2.1.jolla.armv7hl (installed)
 Installedopenobex-debuginfo-0.1.4-1.2.1.jolla.armv7hl (installed)
 Installedopenobex-debugsource-0.1.4-1.2.1.jolla.armv7hl (installed)


 IMO it is missing OBEX File Transfer Profile. I see it is supported in
 kf5bluezqt, but I do not see anything providing this or similar. Same
 for
 the misterious Nokia SyncML Server (NSYNCML) in sdptool.

 OBEX is used to provide session management for the transfer of files.
 But it is not likely that I will be able to look into this by Monday.

 BTW: The patch I shared makes buteo-syncfw talk to bluez5.

 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

2019-07-11 Thread Tone Kastlunger
..and more stuff can be found from the obexd/plugins folder:

https://git.sailfishos.org/mer-core/bluez5/tree/master/obexd/plugins


On Thu, Jul 11, 2019 at 11:42 PM Tone Kastlunger 
wrote:

> PS from here:
>
>
> https://git.sailfishos.org/mer-core/bluez5/blob/master/test/get-obex-capabilities
> it seems you can get some obex capabilities (although I have yet to be
> able to do so);
>
> also, have a look at  /usr/libexec/obexd-wrapper (shell script); it allows
> for tracing of obexd activity apparently.
>
>
>
> On Thu, Jul 11, 2019 at 11:29 PM Tone Kastlunger <
> users.giulie...@gmail.com> wrote:
>
>> > IMO it is missing OBEX File Transfer Profile.
>> Is this profile supposed to be used for non-file data (i.e. contacts)  as
>> well?
>> There seems to be some file-related test cases in the repo of bluez5
>>
>> https://git.sailfishos.org/mer-core/bluez5/blob/master/test/list-folders
>>
>> On Thu, Jul 11, 2019 at 9:45 PM deloptes  wrote:
>>
>>> Tone Kastlunger wrote:
>>>
>>> > It seems obexd might have some issues with bluez5 yes (as it's labeled
>>> as
>>> > conflicting):
>>> >
>>> >
>>>
>>> https://git.sailfishos.org/mer-core/obexd/commit/6e9de8842715dec6e3b4348d6a076dbf247fa43b
>>> >
>>> > Now Im in no way an expert on obex / obexd. So if someone has more
>>> intel,
>>> > please share!
>>>
>>> Please distinguish obex for bluez4 from obex for bluez5. At the moment
>>> on a
>>> test device I have installed:
>>>
>>> # pkcon --filter installed get-packages  | grep bluez
>>> Installedbluez5-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>> Installedbluez5-libs-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>> Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>> Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl
>>> (installed)
>>> Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl
>>> (installed)
>>> Installedbluez5-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>> Installedbluez5-tracing-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>> Installeddroid-config-f5121-bluez5-1.2.6-1.12.5.jolla.armv7hl
>>> (installed)
>>> Installedkf5bluezqt-bluez5-5.24.0+git15-1.3.1.jolla.armv7hl
>>> (installed)
>>> Installedkf5bluezqt-bluez5-debuginfo-5.25.0+git17-1.armv7hl
>>> (installed)
>>> Installed
>>> kf5bluezqt-bluez5-declarative-5.24.0+git15-1.3.1.jolla.armv7hl
>>> (installed)
>>> Installedstatefs-provider-bluez-0.3.17-1.3.1.jolla.armv7hl
>>> (installed)
>>>
>>> # pkcon --filter installed get-packages  | grep obex
>>> Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
>>> Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl
>>> (installed)
>>> Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl
>>> (installed)
>>> Installedobex-capability-0.0.2-1.3.2.jolla.armv7hl (installed)
>>> Installedobexd-calldata-provider-0.1.1-1.3.1.jolla.armv7hl
>>> (installed)
>>> Installedobexd-contentfilter-helper-0.0.2-1.2.1.jolla.noarch
>>> (installed)
>>> Installedopenobex-0.1.4-1.2.1.jolla.armv7hl (installed)
>>> Installedopenobex-debuginfo-0.1.4-1.2.1.jolla.armv7hl (installed)
>>> Installedopenobex-debugsource-0.1.4-1.2.1.jolla.armv7hl (installed)
>>>
>>>
>>> IMO it is missing OBEX File Transfer Profile. I see it is supported in
>>> kf5bluezqt, but I do not see anything providing this or similar. Same for
>>> the misterious Nokia SyncML Server (NSYNCML) in sdptool.
>>>
>>> OBEX is used to provide session management for the transfer of files.
>>> But it is not likely that I will be able to look into this by Monday.
>>>
>>> BTW: The patch I shared makes buteo-syncfw talk to bluez5.
>>>
>>> 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

2019-07-11 Thread Tone Kastlunger
PS from here:

https://git.sailfishos.org/mer-core/bluez5/blob/master/test/get-obex-capabilities
it seems you can get some obex capabilities (although I have yet to be able
to do so);

also, have a look at  /usr/libexec/obexd-wrapper (shell script); it allows
for tracing of obexd activity apparently.



On Thu, Jul 11, 2019 at 11:29 PM Tone Kastlunger 
wrote:

> > IMO it is missing OBEX File Transfer Profile.
> Is this profile supposed to be used for non-file data (i.e. contacts)  as
> well?
> There seems to be some file-related test cases in the repo of bluez5
>
> https://git.sailfishos.org/mer-core/bluez5/blob/master/test/list-folders
>
> On Thu, Jul 11, 2019 at 9:45 PM deloptes  wrote:
>
>> Tone Kastlunger wrote:
>>
>> > It seems obexd might have some issues with bluez5 yes (as it's labeled
>> as
>> > conflicting):
>> >
>> >
>>
>> https://git.sailfishos.org/mer-core/obexd/commit/6e9de8842715dec6e3b4348d6a076dbf247fa43b
>> >
>> > Now Im in no way an expert on obex / obexd. So if someone has more
>> intel,
>> > please share!
>>
>> Please distinguish obex for bluez4 from obex for bluez5. At the moment on
>> a
>> test device I have installed:
>>
>> # pkcon --filter installed get-packages  | grep bluez
>> Installedbluez5-5.47+git11-1.7.2.jolla.armv7hl (installed)
>> Installedbluez5-libs-5.47+git11-1.7.2.jolla.armv7hl (installed)
>> Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
>> Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
>> Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl
>> (installed)
>> Installedbluez5-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
>> Installedbluez5-tracing-5.47+git11-1.7.2.jolla.armv7hl (installed)
>> Installeddroid-config-f5121-bluez5-1.2.6-1.12.5.jolla.armv7hl
>> (installed)
>> Installedkf5bluezqt-bluez5-5.24.0+git15-1.3.1.jolla.armv7hl
>> (installed)
>> Installedkf5bluezqt-bluez5-debuginfo-5.25.0+git17-1.armv7hl
>> (installed)
>> Installed
>> kf5bluezqt-bluez5-declarative-5.24.0+git15-1.3.1.jolla.armv7hl
>> (installed)
>> Installedstatefs-provider-bluez-0.3.17-1.3.1.jolla.armv7hl (installed)
>>
>> # pkcon --filter installed get-packages  | grep obex
>> Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
>> Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
>> Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl
>> (installed)
>> Installedobex-capability-0.0.2-1.3.2.jolla.armv7hl (installed)
>> Installedobexd-calldata-provider-0.1.1-1.3.1.jolla.armv7hl (installed)
>> Installedobexd-contentfilter-helper-0.0.2-1.2.1.jolla.noarch
>> (installed)
>> Installedopenobex-0.1.4-1.2.1.jolla.armv7hl (installed)
>> Installedopenobex-debuginfo-0.1.4-1.2.1.jolla.armv7hl (installed)
>> Installedopenobex-debugsource-0.1.4-1.2.1.jolla.armv7hl (installed)
>>
>>
>> IMO it is missing OBEX File Transfer Profile. I see it is supported in
>> kf5bluezqt, but I do not see anything providing this or similar. Same for
>> the misterious Nokia SyncML Server (NSYNCML) in sdptool.
>>
>> OBEX is used to provide session management for the transfer of files.
>> But it is not likely that I will be able to look into this by Monday.
>>
>> BTW: The patch I shared makes buteo-syncfw talk to bluez5.
>>
>> 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

2019-07-11 Thread Tone Kastlunger
> IMO it is missing OBEX File Transfer Profile.
Is this profile supposed to be used for non-file data (i.e. contacts)  as
well?
There seems to be some file-related test cases in the repo of bluez5

https://git.sailfishos.org/mer-core/bluez5/blob/master/test/list-folders

On Thu, Jul 11, 2019 at 9:45 PM deloptes  wrote:

> Tone Kastlunger wrote:
>
> > It seems obexd might have some issues with bluez5 yes (as it's labeled as
> > conflicting):
> >
> >
>
> https://git.sailfishos.org/mer-core/obexd/commit/6e9de8842715dec6e3b4348d6a076dbf247fa43b
> >
> > Now Im in no way an expert on obex / obexd. So if someone has more intel,
> > please share!
>
> Please distinguish obex for bluez4 from obex for bluez5. At the moment on a
> test device I have installed:
>
> # pkcon --filter installed get-packages  | grep bluez
> Installedbluez5-5.47+git11-1.7.2.jolla.armv7hl (installed)
> Installedbluez5-libs-5.47+git11-1.7.2.jolla.armv7hl (installed)
> Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
> Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
> Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl
> (installed)
> Installedbluez5-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
> Installedbluez5-tracing-5.47+git11-1.7.2.jolla.armv7hl (installed)
> Installeddroid-config-f5121-bluez5-1.2.6-1.12.5.jolla.armv7hl
> (installed)
> Installedkf5bluezqt-bluez5-5.24.0+git15-1.3.1.jolla.armv7hl (installed)
> Installedkf5bluezqt-bluez5-debuginfo-5.25.0+git17-1.armv7hl (installed)
> Installedkf5bluezqt-bluez5-declarative-5.24.0+git15-1.3.1.jolla.armv7hl
> (installed)
> Installedstatefs-provider-bluez-0.3.17-1.3.1.jolla.armv7hl (installed)
>
> # pkcon --filter installed get-packages  | grep obex
> Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
> Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
> Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl
> (installed)
> Installedobex-capability-0.0.2-1.3.2.jolla.armv7hl (installed)
> Installedobexd-calldata-provider-0.1.1-1.3.1.jolla.armv7hl (installed)
> Installedobexd-contentfilter-helper-0.0.2-1.2.1.jolla.noarch
> (installed)
> Installedopenobex-0.1.4-1.2.1.jolla.armv7hl (installed)
> Installedopenobex-debuginfo-0.1.4-1.2.1.jolla.armv7hl (installed)
> Installedopenobex-debugsource-0.1.4-1.2.1.jolla.armv7hl (installed)
>
>
> IMO it is missing OBEX File Transfer Profile. I see it is supported in
> kf5bluezqt, but I do not see anything providing this or similar. Same for
> the misterious Nokia SyncML Server (NSYNCML) in sdptool.
>
> OBEX is used to provide session management for the transfer of files.
> But it is not likely that I will be able to look into this by Monday.
>
> BTW: The patch I shared makes buteo-syncfw talk to bluez5.
>
> 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

2019-07-11 Thread deloptes
Tone Kastlunger wrote:

> It seems obexd might have some issues with bluez5 yes (as it's labeled as
> conflicting):
> 
>
https://git.sailfishos.org/mer-core/obexd/commit/6e9de8842715dec6e3b4348d6a076dbf247fa43b
> 
> Now Im in no way an expert on obex / obexd. So if someone has more intel,
> please share!

Please distinguish obex for bluez4 from obex for bluez5. At the moment on a
test device I have installed:

# pkcon --filter installed get-packages  | grep bluez
Installedbluez5-5.47+git11-1.7.2.jolla.armv7hl (installed)
Installedbluez5-libs-5.47+git11-1.7.2.jolla.armv7hl (installed)
Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl (installed)
Installedbluez5-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
Installedbluez5-tracing-5.47+git11-1.7.2.jolla.armv7hl (installed)
Installeddroid-config-f5121-bluez5-1.2.6-1.12.5.jolla.armv7hl
(installed)
Installedkf5bluezqt-bluez5-5.24.0+git15-1.3.1.jolla.armv7hl (installed)
Installedkf5bluezqt-bluez5-debuginfo-5.25.0+git17-1.armv7hl (installed)
Installedkf5bluezqt-bluez5-declarative-5.24.0+git15-1.3.1.jolla.armv7hl
(installed)
Installedstatefs-provider-bluez-0.3.17-1.3.1.jolla.armv7hl (installed)

# pkcon --filter installed get-packages  | grep obex
Installedbluez5-obexd-5.47+git11-1.7.2.jolla.armv7hl (installed)
Installedbluez5-obexd-tools-5.47+git11-1.7.2.jolla.armv7hl (installed)
Installedbluez5-obexd-tracing-5.47+git11-1.7.2.jolla.armv7hl (installed)
Installedobex-capability-0.0.2-1.3.2.jolla.armv7hl (installed)
Installedobexd-calldata-provider-0.1.1-1.3.1.jolla.armv7hl (installed)
Installedobexd-contentfilter-helper-0.0.2-1.2.1.jolla.noarch (installed)
Installedopenobex-0.1.4-1.2.1.jolla.armv7hl (installed)
Installedopenobex-debuginfo-0.1.4-1.2.1.jolla.armv7hl (installed)
Installedopenobex-debugsource-0.1.4-1.2.1.jolla.armv7hl (installed)


IMO it is missing OBEX File Transfer Profile. I see it is supported in
kf5bluezqt, but I do not see anything providing this or similar. Same for
the misterious Nokia SyncML Server (NSYNCML) in sdptool. 

OBEX is used to provide session management for the transfer of files.
But it is not likely that I will be able to look into this by Monday.

BTW: The patch I shared makes buteo-syncfw talk to bluez5. 

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

2019-07-11 Thread Tone Kastlunger
It seems obexd might have some issues with bluez5 yes (as it's labeled as
conflicting):

https://git.sailfishos.org/mer-core/obexd/commit/6e9de8842715dec6e3b4348d6a076dbf247fa43b

Now Im in no way an expert on obex / obexd. So if someone has more intel,
please share!

Best,
tk

On Thu, Jul 11, 2019 at 12:29 AM deloptes  wrote:

> Tone Kastlunger wrote:
>
> > I have always been suspecting Jolla using the missing BT export as
> > a lock-in technique; but even switching between sfos phones (jolla 1 ->
> > jolla c -> xperia x for me,
> > probably a xa2 coming up soon) is impossible as it is now, so that
> > (luckily) kills the theory.
> >
> > I'd be glad to be able to help, a (somewhat) working sync mechanism for
> > contacts & notes would
> > be extremely helpful already!
>
> I do not know about the background. I heard syncml is dead as no one of the
> companies involved in establishing the protocol are interested in this
> anymore. This, however, leaves us with one option less to express our
> freedom of choice and even worse there is no possible way to synchronize
> locally. I heard somehow that Windows/Android supposed to offer something
> for local synchronization, but I have no way to test this.
> My drama is that I was using N9 for 7y and it worked perfectly well ... now
> I am constantly out of sync :|
>
> From what I see is that a lot of stuff is missing in Sailfish X that was
> present in N9. From the services this is PC Suite, Obex File Transfer,
> SyncML Server/Client etc.
> I do not know if this is limitation by the kernel. I do not recall what was
> the status of bluez5 and obex in 3.9. I do not know how obexd was compiled.
>
> I see in the syncevolution logs following and I think something in the
> background is missing - perhaps outside of buteo
>
> >>> N9 <<<
>
> [2019-07-10 21:41:17.880] ready to sync
> [2019-07-10 21:41:17.880] starting SAN 12 auth 1B2M2Y8AsgTpgAmY7PhCfg==
> nonce SyncEvolution session 1 server PC Suite
> [2019-07-10 21:41:17.881] SAN datastore addressbook uri Contacts type 7
> mode
> 206
> [2019-07-10 21:41:17.881] ObexTransportAgent::wait(no reply)
> [2019-07-10 21:41:17.881] ObexTransportAgent::wait(): iteration
> [2019-07-10 21:41:17.881] ObexTransportAgent::wait(): iteration
> ...
> [2019-07-10 21:41:20.777] ObexTransportAgent::wait(): iteration
> [2019-07-10 21:41:20.777] Connecting Bluetooth device with address
> 40:98:4E:90:56:E3 and channel 25
> [2019-07-10 21:41:20.936] OBEX_EV_PROGRESS
> [2019-07-10 21:41:20.936] ObexTransportAgent::wait(): iteration
> [2019-07-10 21:41:21.432] OBEX_EV_REQDONE
> [2019-07-10 21:41:21.432] OBEX Transport: get header who from connect
> response with value SYNCML-SYNC
> [2019-07-10 21:41:21.432] ObexTransportAgent::wait(): is ready
> [2019-07-10 21:41:21.432] Server sending SAN
> ...
> [2019-07-10 21:41:20.777] ObexTransportAgent::wait(): iteration
> [2019-07-10 21:41:20.777] Connecting Bluetooth device with address
> 66:55:44:33:22:11 and channel 25
> [2019-07-10 21:41:20.936] OBEX_EV_PROGRESS
> [2019-07-10 21:41:20.936] ObexTransportAgent::wait(): iteration
> [2019-07-10 21:41:21.432] OBEX_EV_REQDONE
> [2019-07-10 21:41:21.432] OBEX Transport: get header who from connect
> response with value SYNCML-SYNC
> [2019-07-10 21:41:21.432] ObexTransportAgent::wait(): is ready
> [2019-07-10 21:41:21.432] Server sending SAN
>
> >>> Xperia X <<<
>
> [2019-07-09 23:25:31.041] ready to sync
> [2019-07-09 23:25:31.041] starting SAN 12 auth 1B2M2Y8AsgTpgAmY7PhCfg==
> nonce SyncEvolution session 1 server PC Suite
> [2019-07-09 23:25:31.041] SAN datastore addressbook uri Contacts type 7
> mode
> 206
> [2019-07-09 23:25:31.041] ObexTransportAgent::wait(no reply)
> [2019-07-09 23:25:31.041] ObexTransportAgent::wait(): iteration
> ...
> [2019-07-09 23:25:35.497] ObexTransportAgent::wait(): iteration
> [2019-07-09 23:25:35.497] Connecting Bluetooth device with address
> 11:22:33:44:55:66 and channel 25
> [2019-07-09 23:25:35.655] OBEX_EV_PROGRESS
> [2019-07-09 23:25:35.655] ObexTransportAgent::wait(): iteration
> [2019-07-09 23:25:35.660] OBEX_EV_LINKERR
> [2019-07-09 23:25:35.660] ObexTransportAgent::shutdown()
> [2019-07-09 23:25:35.660] ObexTransportAgent::wait(no reply)
> [2019-07-09 23:25:35.660] ObexTransportAgent::wait(): iteration
> [2019-07-09 23:25:53.765] ObexTransport: exception thrown in
> obex_fd_source_cb_impl
>
> You can try the attached patch against buteo-syncfw (master before commit
> 081a511) and tell me what you think.
> I will look forward to clean up the buteo-sync-plugins changes and
> hopefully
> source out the access to git soon. I am afraid I got the wrong access to
> bugzilla instead of git :|
>
> Also bear with me as I am not a pro-developer.
>
> 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, plea

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-10 Thread deloptes
Tone Kastlunger wrote:

> I have always been suspecting Jolla using the missing BT export as
> a lock-in technique; but even switching between sfos phones (jolla 1 ->
> jolla c -> xperia x for me,
> probably a xa2 coming up soon) is impossible as it is now, so that
> (luckily) kills the theory.
> 
> I'd be glad to be able to help, a (somewhat) working sync mechanism for
> contacts & notes would
> be extremely helpful already!

I do not know about the background. I heard syncml is dead as no one of the
companies involved in establishing the protocol are interested in this
anymore. This, however, leaves us with one option less to express our
freedom of choice and even worse there is no possible way to synchronize
locally. I heard somehow that Windows/Android supposed to offer something
for local synchronization, but I have no way to test this.
My drama is that I was using N9 for 7y and it worked perfectly well ... now
I am constantly out of sync :|

>From what I see is that a lot of stuff is missing in Sailfish X that was
present in N9. From the services this is PC Suite, Obex File Transfer,
SyncML Server/Client etc.
I do not know if this is limitation by the kernel. I do not recall what was
the status of bluez5 and obex in 3.9. I do not know how obexd was compiled.

I see in the syncevolution logs following and I think something in the
background is missing - perhaps outside of buteo

>>> N9 <<<

[2019-07-10 21:41:17.880] ready to sync
[2019-07-10 21:41:17.880] starting SAN 12 auth 1B2M2Y8AsgTpgAmY7PhCfg==
nonce SyncEvolution session 1 server PC Suite
[2019-07-10 21:41:17.881] SAN datastore addressbook uri Contacts type 7 mode
206
[2019-07-10 21:41:17.881] ObexTransportAgent::wait(no reply)
[2019-07-10 21:41:17.881] ObexTransportAgent::wait(): iteration
[2019-07-10 21:41:17.881] ObexTransportAgent::wait(): iteration
...
[2019-07-10 21:41:20.777] ObexTransportAgent::wait(): iteration
[2019-07-10 21:41:20.777] Connecting Bluetooth device with address
40:98:4E:90:56:E3 and channel 25
[2019-07-10 21:41:20.936] OBEX_EV_PROGRESS
[2019-07-10 21:41:20.936] ObexTransportAgent::wait(): iteration
[2019-07-10 21:41:21.432] OBEX_EV_REQDONE
[2019-07-10 21:41:21.432] OBEX Transport: get header who from connect
response with value SYNCML-SYNC
[2019-07-10 21:41:21.432] ObexTransportAgent::wait(): is ready
[2019-07-10 21:41:21.432] Server sending SAN
...
[2019-07-10 21:41:20.777] ObexTransportAgent::wait(): iteration
[2019-07-10 21:41:20.777] Connecting Bluetooth device with address
66:55:44:33:22:11 and channel 25
[2019-07-10 21:41:20.936] OBEX_EV_PROGRESS
[2019-07-10 21:41:20.936] ObexTransportAgent::wait(): iteration
[2019-07-10 21:41:21.432] OBEX_EV_REQDONE
[2019-07-10 21:41:21.432] OBEX Transport: get header who from connect
response with value SYNCML-SYNC
[2019-07-10 21:41:21.432] ObexTransportAgent::wait(): is ready
[2019-07-10 21:41:21.432] Server sending SAN

>>> Xperia X <<<

[2019-07-09 23:25:31.041] ready to sync
[2019-07-09 23:25:31.041] starting SAN 12 auth 1B2M2Y8AsgTpgAmY7PhCfg==
nonce SyncEvolution session 1 server PC Suite
[2019-07-09 23:25:31.041] SAN datastore addressbook uri Contacts type 7 mode
206
[2019-07-09 23:25:31.041] ObexTransportAgent::wait(no reply)
[2019-07-09 23:25:31.041] ObexTransportAgent::wait(): iteration
...
[2019-07-09 23:25:35.497] ObexTransportAgent::wait(): iteration
[2019-07-09 23:25:35.497] Connecting Bluetooth device with address
11:22:33:44:55:66 and channel 25
[2019-07-09 23:25:35.655] OBEX_EV_PROGRESS
[2019-07-09 23:25:35.655] ObexTransportAgent::wait(): iteration
[2019-07-09 23:25:35.660] OBEX_EV_LINKERR
[2019-07-09 23:25:35.660] ObexTransportAgent::shutdown()
[2019-07-09 23:25:35.660] ObexTransportAgent::wait(no reply)
[2019-07-09 23:25:35.660] ObexTransportAgent::wait(): iteration
[2019-07-09 23:25:53.765] ObexTransport: exception thrown in
obex_fd_source_cb_impl

You can try the attached patch against buteo-syncfw (master before commit
081a511) and tell me what you think.
I will look forward to clean up the buteo-sync-plugins changes and hopefully
source out the access to git soon. I am afraid I got the wrong access to
bugzilla instead of git :|

Also bear with me as I am not a pro-developer.

regards



diff --git a/libbuteosyncfw/common/TransportTracker.cpp b/libbuteosyncfw/common/TransportTracker.cpp
index 35097ec..566d5dd 100644
--- a/libbuteosyncfw/common/TransportTracker.cpp
+++ b/libbuteosyncfw/common/TransportTracker.cpp
@@ -32,6 +32,8 @@
 #include 
 #include 
 
+#include 
+
 using namespace Buteo;
 
 TransportTracker::TransportTracker(QObject *aParent) :
@@ -65,16 +67,19 @@ TransportTracker::TransportTracker(QObject *aParent) :
 #endif
 
 // BT
-// Set the bluetooth state
-iTransportStates[Sync::CONNECTIVITY_BT] = btConnectivityStatus();
-if (!iSystemBus.connect("org.bluez",
-"",
-"org.bluez.Adapter",
-"PropertyChanged",
-this,
-SLOT(onBtStateChanged

Re: [SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-10 Thread Tone Kastlunger
I have always been suspecting Jolla using the missing BT export as
a lock-in technique; but even switching between sfos phones (jolla 1 ->
jolla c -> xperia x for me,
probably a xa2 coming up soon) is impossible as it is now, so that (luckily)
kills the theory.

I'd be glad to be able to help, a (somewhat) working sync mechanism for
contacts & notes would
be extremely helpful already!

best

On Wed, Jul 10, 2019 at 8:55 PM deloptes  wrote:

> Tone Kastlunger wrote:
>
> > Perhaps the exposed bt profile of the syncml client matches first?
>
> I don't know exactly. What I see is, there was a different syncml server
> probably from Nokia with different UUID. I would be glad if someone can
> provide history on that.
>
> I also need to understand how this is supposed to the lower level - will
> take time. If you would like to share effort, I 'll appreciate it (see my
> next reply)
>
> 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

2019-07-10 Thread deloptes
Tone Kastlunger wrote:

> Perhaps the exposed bt profile of the syncml client matches first?

I don't know exactly. What I see is, there was a different syncml server
probably from Nokia with different UUID. I would be glad if someone can
provide history on that.

I also need to understand how this is supposed to the lower level - will
take time. If you would like to share effort, I 'll appreciate it (see my
next reply)

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

2019-07-10 Thread deloptes
Tone Kastlunger wrote:

> btw, deloptes, any luck with the mer/sfos git account?
> I'd love to test the changes you made on the bt stack on my xperia x!

Hi,
I was able to contact lbt and get an account, but no time to look around.
I'll be able to work on that past this weekend and I will be also glad to
exchange ideas and experience. Stay tuned!

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

2019-07-10 Thread Tone Kastlunger
btw, deloptes, any luck with the mer/sfos git account?
I'd love to test the changes you made on the bt stack on my xperia x!

On Wed, Jul 10, 2019 at 11:28 AM Tone Kastlunger
 wrote:
>
> Perhaps the exposed bt profile of the syncml client matches first?
>
> On Tue, Jul 9, 2019 at 11:51 PM deloptes  wrote:
> >
> > Tone Kastlunger wrote:
> >
> > > If syncevolution works fine with n9, sfos should be working fine with it
> > > too?
> > >
> >
> > In theory yes. The problem is that many things changed since N9 on the
> > mobile side. We have bluez5 and bluez5-obex and openobex. Bluez5 changed
> > dramatically from bluez4 and code must be rewritten on many places, but the
> > SyncML protocol itself did not change, so if you can make the two devices
> > talk to each other, syncml should work as on N9.
> >
> > My question was related to the UUIDs used by Nokia and what is defined in
> > the bueto-sync-plugins code. I went through some documents on the UUIDs and
> > it requires more reading to understands how it all fits together, but from
> > what I understand is that the vendor specific UUIDs are build on top of a
> > generic base UUID defining the service.
> >
> > I've moved to working on the plugin side since yesterday and got so far that
> > both "SyncML Server" and "SyncML Client" register and can be seen on the
> > other side with sdptool browse:
> >
> > Service Name: SyncML Client
> > Service RecHandle: 0x1000b
> > Service Class ID List:
> >   UUID 128: 0002--1000-8000-0002ee02
> > Protocol Descriptor List:
> >   "L2CAP" (0x0100)
> >   "RFCOMM" (0x0003)
> > Channel: 25
> >   "OBEX" (0x0008)
> > Profile Descriptor List:
> >   "" (0x0002--1000-8000-0002ee02)
> > Version: 0x0100
> >
> > Service Name: SyncML Server
> > Service RecHandle: 0x1000c
> > Service Class ID List:
> >   UUID 128: 0001--1000-8000-0002ee01
> > Protocol Descriptor List:
> >   "L2CAP" (0x0100)
> >   "RFCOMM" (0x0003)
> > Channel: 26
> >   "OBEX" (0x0008)
> > Profile Descriptor List:
> >   "" (0x0001--1000-8000-0002ee01)
> > Version: 0x0100
> >
> > But it needs more work to understand few things, because I wonder now why it
> > is trying to connect to "SyncML Client" and not to the server as expected
> > and then it says "org.bluez.Profile1.Canceled, Canceled".
> >
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_confirm()
> > incoming connect from 00:11:22:33:44:55
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]:
> > src/device.c:btd_device_add_uuid() device fujitsu, uuid
> > 0002--1000-8000-0002ee02
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:btd_service_ref()
> > 0x1fa120: ref=2
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_confirm()
> > SyncML Client authorizing connection from 00:11:22:33:44:55
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_auth()
> > 00:11:22:33:44:55 authorized to connect to SyncML Client
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_connect()
> > SyncML Client connected to 00:11:22:33:44:55
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:change_state()
> > 0x1fa120: device 00:11:22:33:44:55 profile SyncML Client state changed:
> > disconnected -> connecting (0)
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: SyncML Client replied with an
> > error: org.bluez.Profile1.Canceled, Canceled
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:change_state()
> > 0x1fa120: device 00:11:22:33:44:55 profile SyncML Client state changed:
> > connecting -> disconnected (-111)
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]:
> > src/device.c:device_profile_connected() SyncML Client Connection refused
> > (111)
> > Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:btd_service_unref()
> > 0x1fa120: ref=1
> >
> >
> >
> > ___
> > 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

2019-07-10 Thread Tone Kastlunger
Perhaps the exposed bt profile of the syncml client matches first?

On Tue, Jul 9, 2019 at 11:51 PM deloptes  wrote:
>
> Tone Kastlunger wrote:
>
> > If syncevolution works fine with n9, sfos should be working fine with it
> > too?
> >
>
> In theory yes. The problem is that many things changed since N9 on the
> mobile side. We have bluez5 and bluez5-obex and openobex. Bluez5 changed
> dramatically from bluez4 and code must be rewritten on many places, but the
> SyncML protocol itself did not change, so if you can make the two devices
> talk to each other, syncml should work as on N9.
>
> My question was related to the UUIDs used by Nokia and what is defined in
> the bueto-sync-plugins code. I went through some documents on the UUIDs and
> it requires more reading to understands how it all fits together, but from
> what I understand is that the vendor specific UUIDs are build on top of a
> generic base UUID defining the service.
>
> I've moved to working on the plugin side since yesterday and got so far that
> both "SyncML Server" and "SyncML Client" register and can be seen on the
> other side with sdptool browse:
>
> Service Name: SyncML Client
> Service RecHandle: 0x1000b
> Service Class ID List:
>   UUID 128: 0002--1000-8000-0002ee02
> Protocol Descriptor List:
>   "L2CAP" (0x0100)
>   "RFCOMM" (0x0003)
> Channel: 25
>   "OBEX" (0x0008)
> Profile Descriptor List:
>   "" (0x0002--1000-8000-0002ee02)
> Version: 0x0100
>
> Service Name: SyncML Server
> Service RecHandle: 0x1000c
> Service Class ID List:
>   UUID 128: 0001--1000-8000-0002ee01
> Protocol Descriptor List:
>   "L2CAP" (0x0100)
>   "RFCOMM" (0x0003)
> Channel: 26
>   "OBEX" (0x0008)
> Profile Descriptor List:
>   "" (0x0001--1000-8000-0002ee01)
> Version: 0x0100
>
> But it needs more work to understand few things, because I wonder now why it
> is trying to connect to "SyncML Client" and not to the server as expected
> and then it says "org.bluez.Profile1.Canceled, Canceled".
>
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_confirm()
> incoming connect from 00:11:22:33:44:55
> Jul 09 21:21:32 Sailfish bluetoothd[4649]:
> src/device.c:btd_device_add_uuid() device fujitsu, uuid
> 0002--1000-8000-0002ee02
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:btd_service_ref()
> 0x1fa120: ref=2
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_confirm()
> SyncML Client authorizing connection from 00:11:22:33:44:55
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_auth()
> 00:11:22:33:44:55 authorized to connect to SyncML Client
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_connect()
> SyncML Client connected to 00:11:22:33:44:55
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:change_state()
> 0x1fa120: device 00:11:22:33:44:55 profile SyncML Client state changed:
> disconnected -> connecting (0)
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: SyncML Client replied with an
> error: org.bluez.Profile1.Canceled, Canceled
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:change_state()
> 0x1fa120: device 00:11:22:33:44:55 profile SyncML Client state changed:
> connecting -> disconnected (-111)
> Jul 09 21:21:32 Sailfish bluetoothd[4649]:
> src/device.c:device_profile_connected() SyncML Client Connection refused
> (111)
> Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:btd_service_unref()
> 0x1fa120: ref=1
>
>
>
> ___
> 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

2019-07-09 Thread deloptes
Tone Kastlunger wrote:

> If syncevolution works fine with n9, sfos should be working fine with it
> too?
> 

In theory yes. The problem is that many things changed since N9 on the
mobile side. We have bluez5 and bluez5-obex and openobex. Bluez5 changed
dramatically from bluez4 and code must be rewritten on many places, but the
SyncML protocol itself did not change, so if you can make the two devices
talk to each other, syncml should work as on N9.

My question was related to the UUIDs used by Nokia and what is defined in
the bueto-sync-plugins code. I went through some documents on the UUIDs and
it requires more reading to understands how it all fits together, but from
what I understand is that the vendor specific UUIDs are build on top of a
generic base UUID defining the service.

I've moved to working on the plugin side since yesterday and got so far that
both "SyncML Server" and "SyncML Client" register and can be seen on the
other side with sdptool browse:

Service Name: SyncML Client
Service RecHandle: 0x1000b
Service Class ID List:
  UUID 128: 0002--1000-8000-0002ee02
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
Channel: 25
  "OBEX" (0x0008)
Profile Descriptor List:
  "" (0x0002--1000-8000-0002ee02)
Version: 0x0100

Service Name: SyncML Server
Service RecHandle: 0x1000c
Service Class ID List:
  UUID 128: 0001--1000-8000-0002ee01
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
Channel: 26
  "OBEX" (0x0008)
Profile Descriptor List:
  "" (0x0001--1000-8000-0002ee01)
Version: 0x0100

But it needs more work to understand few things, because I wonder now why it
is trying to connect to "SyncML Client" and not to the server as expected
and then it says "org.bluez.Profile1.Canceled, Canceled". 

Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_confirm()
incoming connect from 00:11:22:33:44:55
Jul 09 21:21:32 Sailfish bluetoothd[4649]:
src/device.c:btd_device_add_uuid() device fujitsu, uuid
0002--1000-8000-0002ee02
Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:btd_service_ref()
0x1fa120: ref=2
Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_confirm()
SyncML Client authorizing connection from 00:11:22:33:44:55
Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_auth()
00:11:22:33:44:55 authorized to connect to SyncML Client
Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/profile.c:ext_connect()
SyncML Client connected to 00:11:22:33:44:55
Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:change_state()
0x1fa120: device 00:11:22:33:44:55 profile SyncML Client state changed:
disconnected -> connecting (0)
Jul 09 21:21:32 Sailfish bluetoothd[4649]: SyncML Client replied with an
error: org.bluez.Profile1.Canceled, Canceled
Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:change_state()
0x1fa120: device 00:11:22:33:44:55 profile SyncML Client state changed:
connecting -> disconnected (-111)
Jul 09 21:21:32 Sailfish bluetoothd[4649]:
src/device.c:device_profile_connected() SyncML Client Connection refused
(111)
Jul 09 21:21:32 Sailfish bluetoothd[4649]: src/service.c:btd_service_unref()
0x1fa120: ref=1



___
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

2019-07-09 Thread Tone Kastlunger
If syncevolution works fine with n9, sfos should be working fine with it too?

Best,
tk

On Sun, Jul 7, 2019 at 12:22 AM deloptes  wrote:
>
> Hi,
>
> I was wondering if someone knows what exactly is hidden behind Nokia
> specific SyncML profiles. When I run
> sdptool browse 
>
>
> Service Name: Nokia SyncML Server
> Service RecHandle: 0x1000c
> Service Class ID List:
>   UUID 128: 5601--1000-8000-0002ee01
> Protocol Descriptor List:
>   "L2CAP" (0x0100)
>   "RFCOMM" (0x0003)
> Channel: 26
>   "OBEX" (0x0008)
> Profile Descriptor List:
>   "" (0x5601--1000-8000-0002ee01)
> Version: 0x0100
>
> Service Name: SyncML Client
> Service RecHandle: 0x1000b
> Service Class ID List:
>   UUID 128: 0002--1000-8000-0002ee02
> Protocol Descriptor List:
>   "L2CAP" (0x0100)
>   "RFCOMM" (0x0003)
> Channel: 25
>   "OBEX" (0x0008)
> Profile Descriptor List:
>   "" (0x0002--1000-8000-0002ee02)
> Version: 0x0100
>
> Service Name: Nokia OBEX PC Suite Services
> Service RecHandle: 0x10008
> Service Class ID List:
>   UUID 128: 5005--1000-8000-0002ee01
> Protocol Descriptor List:
>   "L2CAP" (0x0100)
>   "RFCOMM" (0x0003)
> Channel: 24
>   "OBEX" (0x0008)
> Profile Descriptor List:
>   "" (0x5005--1000-8000-0002ee01)
> Version: 0x0100
>
>
> When I run
> sdptool browse 
>
> Service Name: SyncML Client
> Service RecHandle: 0x1000a
> Service Class ID List:
>   UUID 128: 0002--1000-8000-0002ee02
> Protocol Descriptor List:
>   "L2CAP" (0x0100)
>   "RFCOMM" (0x0003)
> Channel: 25
>   "OBEX" (0x0008)
> Profile Descriptor List:
>   "" (0x0002--1000-8000-0002ee02)
> Version: 0x0100
>
> and probably the server with UUID 0001--1000-8000-0002ee01 on
> Channel 26
>
> I'm not sure which exactly Syncevolution is using but it has been working
> perfectly well with the N9 in the past 8y. I think it might have been using
> the OBEX thing as well.
>
> Does someone know what was behind those Nokia specific services
>
>
>
>
>
> ___
> 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

[SailfishDevel] SyncML profile Nokia Services what is the difference

2019-07-06 Thread deloptes
Hi,

I was wondering if someone knows what exactly is hidden behind Nokia
specific SyncML profiles. When I run 
sdptool browse 


Service Name: Nokia SyncML Server
Service RecHandle: 0x1000c
Service Class ID List:
  UUID 128: 5601--1000-8000-0002ee01
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
Channel: 26
  "OBEX" (0x0008)
Profile Descriptor List:
  "" (0x5601--1000-8000-0002ee01)
Version: 0x0100

Service Name: SyncML Client
Service RecHandle: 0x1000b
Service Class ID List:
  UUID 128: 0002--1000-8000-0002ee02
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
Channel: 25
  "OBEX" (0x0008)
Profile Descriptor List:
  "" (0x0002--1000-8000-0002ee02)
Version: 0x0100

Service Name: Nokia OBEX PC Suite Services
Service RecHandle: 0x10008
Service Class ID List:
  UUID 128: 5005--1000-8000-0002ee01
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
Channel: 24
  "OBEX" (0x0008)
Profile Descriptor List:
  "" (0x5005--1000-8000-0002ee01)
Version: 0x0100


When I run
sdptool browse 

Service Name: SyncML Client
Service RecHandle: 0x1000a
Service Class ID List:
  UUID 128: 0002--1000-8000-0002ee02
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
Channel: 25
  "OBEX" (0x0008)
Profile Descriptor List:
  "" (0x0002--1000-8000-0002ee02)
Version: 0x0100

and probably the server with UUID 0001--1000-8000-0002ee01 on
Channel 26

I'm not sure which exactly Syncevolution is using but it has been working
perfectly well with the N9 in the past 8y. I think it might have been using
the OBEX thing as well.

Does someone know what was behind those Nokia specific services





___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org