maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   N9 and Syncml / OMA-DS support (https://talk.maemo.org/showthread.php?t=81712)

royster70 2012-01-19 15:34

N9 and Syncml / OMA-DS support
 
Hi All

I am on the verge of getting the N9 but need to find out if its possible to configure OMA-DS / SyncML for contact sync,

I want to be able to connect to my work syncML servers for contact sync and its not clear to me how to do it ( I am in UK so not able to easily get to play around with an N9).

I did find reference to symcml being supported here but I am not sure if it was implemented on the N9 or not?

I am ok for calendaring as I have caldav access but contact sync is the challenge.

Has anybody been able to configure their n9 to access syncml servers successfully for contact / calendar sync?

If its not available yet - is it one of the enhancements planned for PR1.2?

quipper8 2012-01-19 16:26

Re: N9 and Syncml / OMA-DS support
 
The included syncml does not really do that, it ks more of a transfer contacts over bluetooth system.

i just got my n9 and seek the same setup. I found that someone named Ove has compiled syncevolution for harmattan, and i installed it yesterday, but havent had a chance to copy my config from n900 yet to test it out. Btw, it is command line only.

i think the link to the package was.on a thread on fmc.

supposedly contacts and calendar work, but i havent done it yet.

royster70 2012-01-19 16:33

Re: N9 and Syncml / OMA-DS support
 
Quote:

Originally Posted by quipper8 (Post 1152863)
The included syncml does not really do that, it ks more of a transfer contacts over bluetooth system.

i just got my n9 and seek the same setup. I found that someone named Ove has compiled syncevolution for harmattan, and i installed it yesterday, but havent had a chance to copy my config from n900 yet to test it out. Btw, it is command line only.

i think the link to the package was.on a thread on fmc.

supposedly contacts and calendar work, but i havent done it yet.

So its not likely that there is config file hidden away with URLs, passwords and port numbers that can be hacked to setup a new SyncML profile that accesses a server over http.

Do let me know how you get on with syncevolution - last time I did try syncevolution with my companies syncml server - I don't remember having any success (that was with evolution rather than an n900 thought)

quipper8 2012-01-19 16:43

Re: N9 and Syncml / OMA-DS support
 
i dont think there is a config file, as i understand it the buteo syncml they are using only has support for bluetooth, no tcp/ip.

kind of a bummer.

yes, will let you know how i get.on with syncevolution

quipper8 2012-01-19 17:37

Re: N9 and Syncml / OMA-DS support
 
packeages are here:

http://people.debian.org/~ovek/harmattan/

Fuzzillogic 2012-01-19 20:19

Re: N9 and Syncml / OMA-DS support
 
Quote:

Originally Posted by quipper8 (Post 1152910)

I can confirm these work well. Yesterday I've set up syncevolution, and have it sync with my MemoToo account. I used the Maemo 5 guide as a... well.. guide. It took some fiddling, but it works now.

I only sync manually, haven't tried to make it automatically sync periodically.

Also, I after checking things work OK I disabled logging (logdir = none), since I guess the flash memory doesn't like all those writes.

I've posted a RFE on the Harmattan bug tracker a while ago, and it got assigned. I sure hope this makes it into PR1.2. But for now, this syncevolution-build works well for me.

quipper8 2012-01-19 23:02

Re: N9 and Syncml / OMA-DS support
 
Quote:

Originally Posted by Fuzzillogic (Post 1152967)
I can confirm these work well. Yesterday I've set up syncevolution, and have it sync with my MemoToo account. I used the Maemo 5 guide as a... well.. guide. It took some fiddling, but it works now.

I only sync manually, haven't tried to make it automatically sync periodically.

Also, I after checking things work OK I disabled logging (logdir = none), since I guess the flash memory doesn't like all those writes.

I've posted a RFE on the Harmattan bug tracker a while ago, and it got assigned. I sure hope this makes it into PR1.2. But for now, this syncevolution-build works well for me.

what all(calendar|contacts|todo|note|files) did you sync with memotoo?

quipper8 2012-01-19 23:38

Re: N9 and Syncml / OMA-DS support
 
hmmm, after a little more digging, I saw in this file

https://meego.gitorious.org/meego-mi...ncMLConfig.cpp

that it is looking for sync config in

/etc/sync/xml/

and in

/home/user/.sync

the setup for ovi syncing does indeed show http transport

Code:

<?xml version="1.0" encoding="UTF-8"?>

<profile  name="syncshare" type="service">

    <key name="Remote database" value="https://mobile.syncshare.svc.ovi.com:443/sync" />

    <key name="Username" value="OBSCUREDINCASETHISISMYNOKIAACCOUNTHASH" />
    <key name="Password" value="syncshare" />

    <key name="http_proxy_host" value="" />
    <key name="http_proxy_port" value="" />

    <key name="destinationtype" value="online"/>

    <profile name="syncml" type="client" >
                <key name="use_wbxml" value="false" />
                <key name="Sync Transport" value="HTTP" />
                <key name="Sync Direction" value="two-way" />
                <key name="Sync Protocol" value="SyncML11" />
    </profile>

    <profile name="hsyncshare" type="storage" >
        <key name="Local URI" value=".SyncshareDb_1326824409622802" />
        <key name="Target URI" value="./server/SyncShareDBCompact" />
    </profile>

</profile>

maybe it WILL be possible to setup our own http syncml profiles...idk

EDIT: digging some more, apparently at least some people on meego-dev mailing list have tested the buteo syncml stack against google, memotoo, and ovi

http://lists.meego.com/pipermail/mee...er/479860.html

so it would appear quite possible.

need a brave person to try writing their own config for these services...


EDIT TWO:nevermind, here is the memotoo service xml conf. someone want to try it out?

http://meego.gitorious.org/meego-mid...emotoo.com.xml

quipper8 2012-01-20 02:03

Re: N9 and Syncml / OMA-DS support
 
1 Attachment(s)
yes, putting in a memotoo.com.xml in /home/user/.sync/profiles/sync and in /home/user/.sync/profiles/sync works. just synced my notes with memotoo with the in-built buteo-syncfw

it seems that if you have contacts synced through some other service(activesync) they do not sync over syncml. Maybe that is a good thing, idk.

someone wanna make a gui for this, pretty please?

oh, to initiate the sync I ran

Code:

dbus-send --session --print-reply --dest=com.meego.msyncd /synchronizer com.meego.msyncd.startSync string:'memotoo.com'
because the name of my conf file was memotoo.com.xml


Bonus! Sms syncing works too :) but does prepend a "X-SMS;TYPE=TEXT;CHARSET=UTF-8" in the memotoo web interface

royster70 2012-01-20 09:34

Re: N9 and Syncml / OMA-DS support
 
Quote:

Originally Posted by quipper8 (Post 1153065)
yes, putting in a memotoo.com.xml in /home/user/.sync/profiles/sync and in /home/user/.sync/profiles/sync works. just synced my notes with memotoo with the in-built buteo-syncfw

it seems that if you have contacts synced through some other service(activesync) they do not sync over syncml. Maybe that is a good thing, idk.

someone wanna make a gui for this, pretty please?

oh, to initiate the sync I ran

Code:

dbus-send --session --print-reply --dest=com.meego.msyncd /synchronizer com.meego.msyncd.startSync string:'memotoo.com'
because the name of my conf file was memotoo.com.xml


Bonus! Sms syncing works too :) but does prepend a "X-SMS;TYPE=TEXT;CHARSET=UTF-8" in the memotoo web interface

Woohoo - So they did implement what they said in the original developer documentation for Harmattan after all :). This gives me hope I could connect up to my work server for contact sync after all.

A QT UI would be nice though.

Would there be there a way to make the new sync profile visible to the standard N9 Sync management Menus, maybe there is a way to register a new sync profile so it can be shown in the existing sync UI?


All times are GMT. The time now is 19:51.

vBulletin® Version 3.8.8