Personal tools
You are here: Home Linux Linux and Syncml, Multisync with Nokia 6280

Linux and Syncml, Multisync with Nokia 6280

— filed under: , , , ,
by Harald Hoyer last modified Oct 23, 2007 09:38

I successfully synced my calendars with my Nokia 6280.

With the help of opensync  and Fedora, just:Opensync
# yum install libopensync-devel glib-devel libsyncml-devel wbxml2-devel \
 libopensync-plugin-evolution2 libopensync-plugin-kdepim libopensync-plugin-file
Now we need to compile the syncml-plugin:
$ wget -O libopensync-plugin-syncml-0.20.tar.gz \
'http://www.opensync.org/attachment/wiki/download/libopensync-plugin-syncml-0.20.tar.gz?rev=&format=raw'
$ tar xzf libopensync-plugin-syncml-0.20.tar.gz
$ cd libopensync-plugin-syncml-0.20
$ ./configure
$ make
and as root:
$ make install
and then follow Syncing a Nokia 6630 over bluetooth using opensync and syncml-plugin. Copied here for reference.

Configuration

Configure File sync

Now lets configure multisync. In this example we will sync the phone against a directory called “sync” in our home directory. If you want to configure an evolution sync instead skip this part, and go straight to the evolution configuration.

$ cd
$ mkdir sync
$ msynctool --addgroup filenokia
$ msynctool --addmember filenokia file-sync
$ msynctool --addmember filenokia syncml-obex-client

In order to continue we need some Infos from our phone. First of all we need to find out the bluetooth address of our phone:

$ hcitool scan
Scanning ...
XX:XX:XX:XX:XX:XX MYPHONENAME

As you may guess the value represented by XX:XX:XX:XX:XX:XX is your phones address. Now we need the channel on which the service called “SyncMLClient” is running:

$ sdptool browse XX:XX:XX:XX:XX:XX

This command will return a lot of information. Look for something like this:

Service Name: SyncMLClient
Service RecHandle: 0x10003
Service Class ID List: "Error: This is UUID-128" (0x00000002-0000-1000-8000-0002ee000002)
Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003)
Channel: 11 "OBEX" (0x0008)
Language Base Attr List: code_ISO639: 0x454e encoding: 0x6a base_offset: 0x100
Profile Descriptor List: "Error: This is UUID-128" (0x00000002-0000-1000-8000-0002ee000002)
Version: 0x0100

As you can see in my case the needed channel was channel 11. Now we have everything we need. so there just a few steps left:

$ msynctool --configure filenokia 1

This will open a vi instance, where you need to input this:

<config>
<path>/home/USERNAME/sync</path>
<recursive>FALSE</recursive>
</config>

Now we just need to configure the syncml-client:

$ msynctool --configure filenokia 2

Again a vi instance will open. This time you need this:

<config>
<bluetooth_address>XX:XX:XX:XX:XX:XX</bluetooth_address>
<bluetooth_channel>YY</bluetooth_channel>
<identifier>PC Suite</identifier>
<version>1</version>
<wbxml>1</wbxml>
<username></username>
<password></password>
<type>2</type>
<usestringtable>1</usestringtable>
<onlyreplace>0</onlyreplace>
<recvLimit>10000</recvLimit>
<maxObjSize>0</maxObjSize>
<contact_db>Contacts</contact_db>
<calendar_db>Calendar</calendar_db>
<note_db>Notes</note_db>
</config>

You just need to replace XX:XX:XX:XX:XX:XX with your bluetooth address and YY with your channel. Nothing more is necessary to sync against a file. The following part describes the configuration for an evolution sync.

Configure Evolution sync

The procedure is almost the same as above. There are just some slight modifications. First of all you should name your group differently. Here we will use “evo2nokia” instead of “filenokia”. Before beginning the opensync coniguration you should make sureTherefore the first steps should be these:

$ msynctool --addgroup evo2nokia
$ msynctool --addmember evo2nokia evo2-sync
$ msynctool --addmember evo2nokia syncml-obex-client

Now we need to configure the evo2-sync plugin:

$ msynctool --configure evo2nokia 1

Enter the follwoing into the opening editor:

<config>
<address_path>default</address_path>
<calendar_path>default</calendar_path>
<tasks_path>default</tasks_path>
</config>

Next we need to configure the syncml side of the group:

$ msynctool --configure evo2nokia 2

We can use the same configuration as above.

Synchronization

That’s it, now you can sync your phone:

$ msynctool --sync filenokia

or if you configured opensync for evolution synchronization:

$ msynctool --sync evo2nokia

If you want to sync againt another plugin than the file-sync plugin, you can still use this guide. The configuration is exactly the same except for the fact that you need to add your plugin as a member instead of the file-sync plugin. Of course you also need an apropriate configuration for that plugin. But the syncml part stays the same.
If you don’t have a bluetooth dongle and/or want to use your USB cable for syncing go the syncml-guide and check out the forum at nabble. Also don’t forget to check out the excellent opensync wiki. Here are some links where you can find additional information about how to use your nokia 6630 with a linux box.

Document Actions
  • Print this
  • Hits: 018804

RPM for Fedora

Posted by Jared Smith at Sep 05, 2007 20:31
It doesn't look like it would be hard to package up an RPM of this module and make it part of Fedora. (I'll try to do it myself, but I'm fairly swamped at the moment.) Hopefully someone will beat me to it and save me the effort :-)

nokia 6280 opensync

Posted by andrew frank at Dec 10, 2007 09:32
dear harald,
thank you for your very clear instructins, which nearly worked... (:(
i observed that my nokia 6280 says
for service rechandle 0x1000e and
for code_iso639: 0x656e
at the end i have not profile descriptor list....

when i connect the phone says
"datenubertragung nicht moglich" (data transfer not possible) - and then i get the error message that nothing was updated.

my phone language is german? what do you suggest to change?

thank you
andrew

Nice Howto

Posted by Salem at Dec 10, 2007 09:32
Perfect! works like a charm for my Nokia N73 and Fedora Core 8. Thanks.

almost

Posted by Roger Oberholtzer at Feb 17, 2008 13:35

I tried this and got as far as the syncing, where I got:

> msynctool --sync evo2nokia
Synchronizing group "evo2nokia"
ERROR: No synchronizable objtype

Same for filenokia.

In a few places, there was already something in the things I was editing. I made things match. They were pretty much as you specified. Except for how things like contacts and such are specified. In my files, I saw:

  <database>
     <name>Contacts</name>
     <objtype>contact</objtype>
     <objformat>vcard21</objformat>
  </database>

which looks a bit different from your:

  <contact_db>Contacts</contact_db>

Could this be significant?

multisync questions

Posted by Roger Oberholtzer at Feb 17, 2008 13:35
I just tried this on OpenSUSE 10.3. I went through all the steps and things looked as you wrote. However, when I tried to sync, I got this:

> msynctool --sync filenokia
Synchronizing group "filenokia"
ERROR: No synchronizable objtype

I also tried the one for evolution, which is the one I am really after.

One question: in the step with command:

msynctool --configure evo2nokia 2

did you mean that one could enter the same as the

msynctool --configure filenokia 2

or did you really mean the one directly above?

I am new to this, so I am not sure what is going on yet.

libopenobex.la

Posted by Zod at Feb 21, 2008 09:07
Stuck on Fedora 7 at libopenobex.la:
make[2]: Entering directory `/root/Download/libopensync-plugin-syncml-0.20/src'
/bin/sh ../libtool ... /usr/lib/opensync/plugins -avoid-version -export-dynamic -module syncml_plugin.lo -lopensync -lglib-2.0 -lsyncml -lxml2
grep: /usr/lib/libopenobex.la: No such file or directory
/bin/sed: can't read /usr/lib/libopenobex.la: No such file or directory
libtool: link: `/usr/lib/libopenobex.la' is not a valid libtool archive

Sync filenokia works on E50

Posted by Qaim Ali at Feb 21, 2008 09:07
It works,
  had some trouble first with connection, but after I added 'PC Suite' as identifier and '10000' as revclimit it synced nicely :)

Haven't tried to sync with Evolution yet, I'll let you know.

Opensync with Nokia e50

Posted by Jim at Mar 22, 2008 00:38
Hi,
I've followed your excellent / clear steps but keep failing with
mozilla-sync.cpp (1061)get_sync_info -->> (0x8053200, 0xbfa3e354)
mozilla-sync.cpp (1071)get_sync_info <<-- TRUE
Synchronizing group "filenokia"
ERROR: No synchronizable objtype

The first thing to hit me is the reference to 'mozilla-sync' which i believe is a reference to a previously unsuccessfull attempt to sync. However the last line of the error occurs in other peoples reply to your howto and I've seen it on other instances of opensync configurations I've used.

Can you help please?

Nokia E75

Posted by Volker Jahns at Jul 17, 2010 22:52
identifier 'PC Suite'
revclimit 10000

work on Nokia E75 ( only sync of contacts has been tested).

using USB cable, and getting Calendar

Posted by Olivier Jeannet at Sep 16, 2009 17:07
I found your documentation useful.

I am trying hard to set up synchronisation between my Nokia N85 and my desktop computer. I don't have Bluetooth so I am stuck (for the moment) with USB cable. I am able to synchronize my contacts using syncml-obex-client for the phone and file-sync (or kdepim-sync) for the computer, but I can't get Calendar (or tasks or agenda, whatever it is called).

How do you get the Calendar entries using file-sync ? One file per entry ?

Did you try to synchronize with a cable ?

Best Regards.