From: Martin S. <gro...@gm...> - 2006-04-21 14:03:11
|
Just tried the new libsyncml with my Sony Ericsson T610 (SE T610) over bluetooth on a Fedora Core 5 system. In summary I was able to compile and install the new libsyncml (by tweaking wbxml2.spec, see below) and was able to achieve contact with my phone over bluetooth (i.e. the bluetooth icon on my phone changes to active for a second), but I don't get any sync information. I have not installed any other plugins yet, so I guess this is the way it should be? What will be the next step for me? Thanks for the great work - really looking forward to use it for something useful! -MartinG Here is what I did: Read http://libsyncml.opensync.org/wiki/obex-guide I have: # uname -r 2.6.16-1.2096_FC5 $ rpm -q openobex openobex-1.1-1 (did not download and compile new one) Download: http://sourceforge.net/project/showfiles.php?group_id=55834&package_id=77694 and http://libsyncml.opensync.org/file/trunk/misc/wbxml2-0.9.0.patch $ cd wbxml2-0.9.0 $ patch -p1 < ../../patches/wbxml2-0.9.0.patch $ cat INSTALL $ ./bootstrap $ emacs wbxml2.spec change "Copyright" to "License" $ make dist $ su - # rpmbuild -ta wbxml2-0.9.0.tar.gz # rpm -Uvh /usr/src/redhat/RPMS/i386/wbxml2-0.9.0-1.i386.rpm Good Now: $ mkdir svnstuff $ cd svnstuff $ svn co http://svn.opensync.org/libsyncml/trunk libsyncml $ cd libsyncml $ autoreconf -sfi $ ./configure $ su - $ make install Try it: # hcitool scan (got my bdaddr) # mkdir /var/log/syncml # export SYNCML_TRACE=/var/log/syncml # syncml-obex-client -b 00:0E:07:43:96:9B 11 --identifier "Test" --add vcard Test1.vcf --sync vcal vcalout.vcs connection with device succeeded Received an transport error # syncml-obex-client -b 00:0E:07:43:96:9B 11 --add vcard Test1.vcf --sync vcal vcalout.vcs connection with device succeeded Received an transport error # syncml-obex-client -b 00:0E:07:43:96:9B 11 --add vcard Test1.vcf Failed to start the client: No status/command available # syncml-obex-client -b 00:0E:07:43:96:9B 11 --sync vcard Test1.vcf connection with device succeeded Received an transport error # syncml-obex-client -b 00:0E:07:43:96:9B 11 --wbxml --sync vcal vcalout.vcs connection with device succeeded Received an transport error # cat Test1.vcf BEGIN:VCARD FN:Test1 N:Test1;;;; TEL;TYPE=CELL:+4741666666 UID:EuZnwMJcDb VERSION:2.1 END:VCARD # cat vcalout.vcs BEGIN:VCALENDAR PRODID:-//K Desktop Environment//NONSGML libkcal 3.5//EN VERSION:1.0 BEGIN:VEVENT DTSTART:20060420T100000Z DTEND:20060420T120000Z DCREATED:20060420T003248Z UID:libkcal-245720230.404 SEQUENCE:0 LAST-MODIFIED:20060420T003248Z X-ORGANIZER:MAILTO:xx...@gm... SUMMARY:Caltest CLASS:PUBLIC PRIORITY:5 TRANSP:0 END:VEVENT END:VCALENDAR On Wednesday 19 April 2006 00:06, Armin Bauer wrote: > Hi, > > a new libsyncml version is finally ready and is now in libsyncml trunk. > It fixes a lot of bugs and problems and also adds support for large > object handling (probably needed if your phone has pictures associated > with a contact). The syncml plugin was updated as well to make use of > the new features. > > > The guides to install the library from the docs > (http://libsyncml.opensync.org/wiki/doc) are still valid. Please note > that the wbxml patch was updated as well to fix a issue with certain > Nokia phones. so you might want to repatch the wbxml library if you own > a newer nokia phone. There are also some new command line options: > > --maxObjSize <limit> This specifies the maximum object size that > libsyncml should receive > > --addUTC Forces libsyncml to always add the UTC node even if the > protocol is 1.0. Some older phones _require_ this. > > --allowLateStatus This tells libsyncml to ignore a protocol > violation where a status is sent after a command > > --noPendingReplies Forces libsyncml to wait for all status for the > current message so that there are no pending replies. > > > My Nokia 6680 needs these options for example: > > syncml-obex-client -u 0 --identifier "PC Suite" --sync vcard Contacts > --wbxml --recvLimit 10000 --maxObjSize 734000 --allowLateStatus > > > > > Please try if libsyncml works now for your phone. If it does i would > appreciate if you send me the options you used so that i can build a > table with phone models and required options. > > > Thanks to everybody who helped me with debugging libsyncml by providing > bug reports and traces! > > > Best Regards, > Armin Bauer |