From: Armin B. <arm...@de...> - 2006-04-18 22:07:40
Attachments:
signature.asc
|
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 |
From: Norm D. <no...@dr...> - 2006-04-18 23:10:26
|
I downloaded the cvs for libsoup but the configure script for libsyncml doesn't find it for the http server. Is there an updated libsoup I should be using? Norm On Wed, 2006-04-19 at 00:06 +0200, 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 > |
From: Norm D. <no...@dr...> - 2006-04-19 12:17:24
|
Further to this problem, a hint from John Najarian suggested an issue with libsoup.so. Well I went hunting around and thought I might have had an older version installed so I uninstalled everything to do with libsoup. Rebuilt and re-installed from the cvs but I still get the wrong version coming back -- pkg-config --modversion libsoup-2.2 2.2.7 More searching determined that the problem was actually with my distro (ARCH Linux) and where it put libsoup when it installed Evolution. Its not under /usr/lib or /usr/include but rather under /opt/gnome. I rebuilt libsoup with the correct prefix for my distro and it built and installed ok this time. I will continue on... thanks for the help John. Norm On Tue, 2006-04-18 at 19:10 -0400, Norm Dressler wrote: > I downloaded the cvs for libsoup but the configure script for libsyncml > doesn't find it for the http server. Is there an updated libsoup I > should be using? > > Norm > > On Wed, 2006-04-19 at 00:06 +0200, 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 > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Opensync-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensync-users |
From: Norm D. <no...@dr...> - 2006-04-19 13:01:20
|
My Nokia 6620: Still doesn't Obex sync with the new options/library. I've tried each of the new options with the same error: No Node At all syncml-obex-client -u 0 --identifier "PC Suite" --sync vcard Contacts --wbxml --recvLimit 10000 --maxObjSize 734000 --allowLateStatus --addUTC connection with device succeeded I/O error : Attempt to load network entity http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd Received an Alert for the DS Server at Contacts: Type: 200, Last 20060207T012140Z, Next 20060418T224402Z Just received a new session with ID 59 Session 59 reported final. flushing I/O error : Attempt to load network entity http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd There was an error in the session 59: No node at all I will try the HTTP stuff, but I'm not likely to be any more lucky. Norm On Wed, 2006-04-19 at 00:06 +0200, 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 > |
From: Norm D. <no...@dr...> - 2006-04-19 13:31:39
|
Nokia 6620 using the syncml-http-server. Fails with the following error relating to libsoup: msynctool --sync sml --wait Synchronizing group "sml" The previous synchronization was unclean. Slow-syncing I/O error : Attempt to load network entity http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd received contact dsession received event dsession received note dsession Member 2 of type file-sync just connected Member 1 of type syncml-http-server just connected All clients connected or error (process:3617): libsoup-CRITICAL **: io_read: assertion `io->read_state != SOUP_MESSAGE_IO_STATE_DONE' failed Member 2 of type file-sync just sent all changes Member 1 of type syncml-http-server had an error while getting changes: Timeout while waiting for a reply to message "GET_CHANGES" Member 2 of type file-sync just disconnected Member 1 of type syncml-http-server had an error while disconnecting: Timeout while waiting for a reply to message "DISCONNECT" All clients have disconnected The sync failed: Unable to read from one of the members The database names match. My config looks like this: msynctool --showgroup sml Groupname: sml Member 1: syncml-http-server Configuration : <config><username></username><password></password><url>/</url><port>8080</port><usestringtable>0</usestringtable><onlyreplace>0</onlyreplace><recvLimit>100000</recvLimit><contact_db>contacts</contact_db><calendar_db>calendar</calendar_db><note_db>Notes</note_db></config> Member 2: file-sync Configuration : <config><path>/home/norm/syncdata</path><recursive>FALSE</recursive></config> Are there any new command lines or options that should be set in the syncml-http-server component? This is the same config I've been using for a while -- Norm On Wed, 2006-04-19 at 00:06 +0200, 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 > |
From: Stian J. <li...@jo...> - 2006-04-19 21:21:13
|
ons, 19,.04.2006 kl. 09.30 -0400, skrev Norm Dressler: > Nokia 6620 using the syncml-http-server. Fails with the following error > relating to libsoup: Ahh, good to see I'm not the only one baffled by this new error. Guess I'll go to bed and see if it's fixed tomorrow :) Great work anywhy, OpenSync is really shaping up :) Best regards, Stian |
From: Armin B. <arm...@de...> - 2006-04-20 07:24:53
Attachments:
signature.asc
|
Hi Stian, would it be possible to get a trace of a sync where this error is showing up? Armin Stian Jordet wrote: > ons, 19,.04.2006 kl. 09.30 -0400, skrev Norm Dressler: >> Nokia 6620 using the syncml-http-server. Fails with the following err= or >> relating to libsoup: >=20 > Ahh, good to see I'm not the only one baffled by this new error. >=20 > Guess I'll go to bed and see if it's fixed tomorrow :) >=20 > Great work anywhy, OpenSync is really shaping up :) >=20 > Best regards, > Stian >=20 >=20 >=20 > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, securit= y? > Get stuff done quickly with pre-integrated technology to make your job = easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Opensync-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensync-users >=20 |
From: Stian J. <li...@jo...> - 2006-04-20 17:18:43
|
tor, 20,.04.2006 kl. 09.24 +0200, skrev Armin Bauer: > Hi Stian, > > would it be possible to get a trace of a sync where this error is > showing up? Indeed, but you have already found the cause, I see :) I'm syncing a Sony Ericsson P910i agains Evolution. Kinda works :) Have some issues, which I will address in a seperate mail. (Which you can ignore if you feel like it :) Thanks for your great work on OpenSync! -Stian |
From: Armin B. <arm...@de...> - 2006-04-20 15:11:56
Attachments:
signature.asc
|
Hi, the problem with libsoup is caused by a change introduced in libsoup cvs. from the changelog: * libsoup/soup-message-io.c (io_write, io_read): g_return_if_fail if these get called after the IO is done. This isn't supposed to happen, but apparently does. Workaround for #334469. Well... i guess it does happen after all :) For now please check out libsoup with the following command to ignore this change: cvs -d :pserver:ano...@an...:/cvs/gnome co -D "2006-04-10" libsoup Best Regards, Armin Bauer Norm Dressler wrote: > I had but to no avail. I'm busy with work that pays my bills :) so whe= n > I get a chance today, I'll work at it again. >=20 > Norm >=20 > On Thu, 2006-04-20 at 15:08 +0200, Armin Bauer wrote: >> Norm Dressler wrote: >>> Armin, I re-created a new group so that I would get the new options i= n >>> the config -- not sure if there is much of a difference but here are = the >>> logs. I can't get it to connect at all via Obex now. >> thanks! for obex, please see if rebooting your phone helps. A lot of >> phones have bugs in their syncml / usb implementation. These subsystem= s >> then crash and get unusable until a reboot (at least with my nokia 668= 0). >> >> Armin >> >>> msynctool --sync Sync-Http --wait >>> Synchronizing group "Sync-Http" >>> I/O error : Attempt to load network entity >>> http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd >>> received contact dsession >>> received event dsession >>> received note dsession >>> Member 2 of type file-sync just connected >>> Member 1 of type syncml-http-server just connected >>> All clients connected or error >>> Member 1 of type syncml-http-server just sent all changes >>> >>> (process:3345): libsoup-CRITICAL **: io_read: assertion >>> `io->read_state !=3D SOUP_MESSAGE_IO_STATE_DONE' failed >>> Member 2 of type file-sync just sent all changes >>> All clients sent changes or error >>> Member 2 of type file-sync committed all changes. >>> Member 2 of type file-sync just disconnected >>> >>> >>> On Thu, 2006-04-20 at 09:09 +0200, Armin Bauer wrote: >>>> Hi Norm, >>>> >>>> sorry to hear that it still does not work for you. Would it be possi= ble >>>> to get a trace again, so that i can see which node it is complaining= about? >>>> >>>> I really appreciate all your help. Thanks! >>>> >>>> Armin >>>> >>>> Norm Dressler wrote: >>>>> My Nokia 6620: =20 >>>>> >>>>> Still doesn't Obex sync with the new options/library. I've tried e= ach >>>>> of the new options with the same error: No Node At all >>>>> syncml-obex-client -u 0 --identifier "PC Suite" --sync vcard Contac= ts >>>>> --wbxml --recvLimit 10000 --maxObjSize 734000 --allowLateStatus --a= ddUTC >>>>> connection with device succeeded >>>>> I/O error : Attempt to load network entity >>>>> http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd >>>>> Received an Alert for the DS Server at Contacts: Type: 200, Last >>>>> 20060207T012140Z, Next 20060418T224402Z >>>>> Just received a new session with ID 59 >>>>> Session 59 reported final. flushing >>>>> I/O error : Attempt to load network entity >>>>> http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd >>>>> There was an error in the session 59: No node at all >>>>> >>>>> I will try the HTTP stuff, but I'm not likely to be any more lucky.= >>>>> >>>>> Norm >>>>> >>>>> On Wed, 2006-04-19 at 00:06 +0200, Armin Bauer wrote: >>>>>> Hi, >>>>>> >>>>>> a new libsyncml version is finally ready and is now in libsyncml t= runk. >>>>>> It fixes a lot of bugs and problems and also adds support for larg= e >>>>>> object handling (probably needed if your phone has pictures associ= ated >>>>>> 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 n= ote >>>>>> that the wbxml patch was updated as well to fix a issue with certa= in >>>>>> Nokia phones. so you might want to repatch the wbxml library if yo= u own >>>>>> a newer nokia phone. There are also some new command line options:= >>>>>> >>>>>> --maxObjSize <limit> This specifies the maximum object size tha= t >>>>>> libsyncml should receive >>>>>> >>>>>> --addUTC Forces libsyncml to always add the UTC node even if t= he >>>>>> 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 Conta= cts >>>>>> --wbxml --recvLimit 10000 --maxObjSize 734000 --allowLateStatus >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Please try if libsyncml works now for your phone. If it does i wou= ld >>>>>> 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 prov= iding >>>>>> bug reports and traces! >>>>>> >>>>>> >>>>>> Best Regards, >>>>>> Armin Bauer >>>>>> >=20 |
From: Norm D. <no...@dr...> - 2006-04-20 15:40:42
|
Do I need to re-compile the syncml library or syncml-plugin as a result of this? Thanks! Norm On Thu, 2006-04-20 at 17:11 +0200, Armin Bauer wrote: > Hi, > > the problem with libsoup is caused by a change introduced in libsoup > cvs. from the changelog: > > * libsoup/soup-message-io.c (io_write, io_read): g_return_if_fail > if these get called after the IO is done. This isn't supposed to > happen, but apparently does. Workaround for #334469. > > > Well... i guess it does happen after all :) > > For now please check out libsoup with the following command to ignore > this change: > > cvs -d :pserver:ano...@an...:/cvs/gnome co -D > "2006-04-10" libsoup > > Best Regards, > Armin Bauer > > Norm Dressler wrote: > > I had but to no avail. I'm busy with work that pays my bills :) so when > > I get a chance today, I'll work at it again. > > > > Norm > > > > On Thu, 2006-04-20 at 15:08 +0200, Armin Bauer wrote: > >> Norm Dressler wrote: > >>> Armin, I re-created a new group so that I would get the new options in > >>> the config -- not sure if there is much of a difference but here are the > >>> logs. I can't get it to connect at all via Obex now. > >> thanks! for obex, please see if rebooting your phone helps. A lot of > >> phones have bugs in their syncml / usb implementation. These subsystems > >> then crash and get unusable until a reboot (at least with my nokia 6680). > >> > >> Armin > >> > >>> msynctool --sync Sync-Http --wait > >>> Synchronizing group "Sync-Http" > >>> I/O error : Attempt to load network entity > >>> http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd > >>> received contact dsession > >>> received event dsession > >>> received note dsession > >>> Member 2 of type file-sync just connected > >>> Member 1 of type syncml-http-server just connected > >>> All clients connected or error > >>> Member 1 of type syncml-http-server just sent all changes > >>> > >>> (process:3345): libsoup-CRITICAL **: io_read: assertion > >>> `io->read_state != SOUP_MESSAGE_IO_STATE_DONE' failed > >>> Member 2 of type file-sync just sent all changes > >>> All clients sent changes or error > >>> Member 2 of type file-sync committed all changes. > >>> Member 2 of type file-sync just disconnected > >>> > >>> > >>> On Thu, 2006-04-20 at 09:09 +0200, Armin Bauer wrote: > >>>> Hi Norm, > >>>> > >>>> sorry to hear that it still does not work for you. Would it be possible > >>>> to get a trace again, so that i can see which node it is complaining about? > >>>> > >>>> I really appreciate all your help. Thanks! > >>>> > >>>> Armin > >>>> > >>>> Norm Dressler wrote: > >>>>> My Nokia 6620: > >>>>> > >>>>> Still doesn't Obex sync with the new options/library. I've tried each > >>>>> of the new options with the same error: No Node At all > >>>>> syncml-obex-client -u 0 --identifier "PC Suite" --sync vcard Contacts > >>>>> --wbxml --recvLimit 10000 --maxObjSize 734000 --allowLateStatus --addUTC > >>>>> connection with device succeeded > >>>>> I/O error : Attempt to load network entity > >>>>> http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd > >>>>> Received an Alert for the DS Server at Contacts: Type: 200, Last > >>>>> 20060207T012140Z, Next 20060418T224402Z > >>>>> Just received a new session with ID 59 > >>>>> Session 59 reported final. flushing > >>>>> I/O error : Attempt to load network entity > >>>>> http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd > >>>>> There was an error in the session 59: No node at all > >>>>> > >>>>> I will try the HTTP stuff, but I'm not likely to be any more lucky. > >>>>> > >>>>> Norm > >>>>> > >>>>> On Wed, 2006-04-19 at 00:06 +0200, 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 > >>>>>> > > > |
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 |