From: Armin B. <arm...@de...> - 2006-10-08 21:42:32
|
H=C3=A5vard Wigtil wrote: > tor, 05,.10.2006 kl. 12.42 +0530, skrev Kumar G: >> Hi, <snip> >> >> san =3D smlNotificationNew(env->version, >> >> =20 >> SML_SAN_UIMODE_UNSPECIFIED, >> >> =20 >> SML_SAN_INITIATOR_USER, >> >> 1, >> >> env->identif= ier, >> >> "/", >> >> =20 >> env->useWbxml ? SML_MIMETYPE_WBXML : SML_MIMETYPE_XML, >> >> &error); >> >> =20 >> >> Will appreciate if anyone could help me understanding why the 6th >> parameter is (=E2=80=9C/=E2=80=9D) used for? >=20 > I can't help you understand what the parameter is used for, but a quick= > check of libsyncml SVN shows that the code in Subversion uses the > 8-paramter version: > http://libsyncml.opensync.org/browser/trunk/libsyncml/sml_notification.= h >=20 > So I guess it means that you must either use libsyncml from Subversion > (see http://libsyncml.opensync.org for instructions), or wait for a new= > release of libsyncml. >=20 I think I can help here: the san specification states that the target should be set to "/" if the target is not known already. If the target is known it should be explicitly set. Previously, the target ("/") was hardcoded in libsyncml, so the second case would not have been possible. I changed this. Btw: libsyncml 0.4.1 has been released which should work correctly together with the current syncml plugin. Best Regards, Armin Bauer >=20 > -- > H=C3=A5vard Wigtil <http://h=C3=A5vard.wigtil.net> || http://wigtil.net= >=20 >=20 > -----------------------------------------------------------------------= - >=20 > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share= your > opinions on IT & business topics through brief surveys -- and earn cash= > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV >=20 >=20 > -----------------------------------------------------------------------= - >=20 > _______________________________________________ > Opensync-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensync-users |