[sync] Nokia 9500

Joonas Hämäläinen list-joonas at nettitieto.fi
Wed Feb 8 03:14:29 PST 2006


Hips,

I've been following sync in horde a while now, been waiting it to 
complete enough to take it into own use. Now I thought to give it a try, 
and I got little confusing results.

I have horde 3.1-rc2, imp 4.1-rc2, kronolith 2.1-rc2 and bunch of other 
modules installed and working quite much as expected. I have downloaded 
snapshot framework-FRAMEWORK_3-2006-02-07.tar.gz and followed 
instructions of http://wiki.horde.org/SyncHowTo and installed new 
SyncML, WB_XML and iCalendar over my horde 3.1-rc2.

I try to sync just kronolith, that is most important for me, so 
concentrated on that. If I use my Nokia 9500, I get following results:

Feb 08 12:37:23 HORDE [debug] [horde] SyncML: New session created: 
syncmlIMEI3543050025972066 [on line 172 of 
"/path/to/hordeinstall/lib/SyncML.php"]
Feb 08 12:37:23 HORDE [debug] [horde] SyncML: authorized= version=1 
msgid=1 source=IMEI:354305002597206 target=http://hordeurl/rpc.php user= 
charset=UTF-8 wbxml=1 [on line 226 of 
"/path/to/hordeinstall/lib/SyncML.php"]
Feb 08 12:37:23 HORDE [debug] [horde] SyncML: looking for sync for 
calendar [on line 263 of 
"/path/to/hordeinstall/lib/SyncML/Command/Alert.php"]
Feb 08 12:37:23 HORDE [debug] [horde] SyncML: Create new sync for 
calendar [on line 269 of 
"/path/to/hordeinstall/lib/SyncML/Command/Alert.php"]
Feb 08 12:37:23 HORDE [debug] [horde] SyncML: create for 
syncType=calendar [on line 51 of 
"/path/to/hordeinstall/lib/SyncML/Sync.php"]
Feb 08 12:37:23 HORDE [debug] [horde] SyncML: SyncML: return message 
completed [on line 513 of "/path/to/hordeinstall/lib/SyncML.php"]

$  cat syncml_client_0.wbxml
�Sjmlq�1.1r�
SyncML/1.1e�6[�1nW�*http://hordeurl/rpc.phpgW�IMEI:354305002597206ZL�10000kFK�1O�202TnW�
./calendargW�./C\System\Data\CalendarZEJ�O�20060208T103703Z_K�2ZS�#application/vnd.syncml-devinf+wbxmlTgW�
./devinf11OÈ:�TjJe�1.1Q�NOKIAU�9500^�
text/calendard�2.0bF�text/x-vcalendard�1.0_`�1`�2`�3`�4`�5`�6`�7EF�text/x-vcalendarX�BEGINc��1.0VCALENDARc�VEVENTc�VTODOX�ENDc� 
VCALENDARc�VEVENTc�VTODOX�VERSIONc�1.0X�UIDX�SUMMARYX�DESCRIPTIONX�DTENDX�DTSTARTX�AALARMW�TYPEX�CLASSc�PUBLICc�PRIVATEc�CONFIDENTIALX�Ctext/calendarX�BEGINc�X�VCALENDARc�VEVENTc�VTODOX�ENDc�DVCALENDARc�VEVENTc�VTODOX�VERSIONc�2.0X�UIDX�SUMMARYX�DESCRIPTIONX�DTENDX�DTLAST-MODIFIEDXPRIORITYX�STATUSX�RRULEX�DUEX�EXDATEX�TZXDAYLIGHTX�X-EPOCAGENDAENTRYTYPEX�X-EPOCTODOLISTX�X-NOKIA-RECURRENCE-IDSK�3ZS�#application/vnd.syncml-devinf+wbxmlTnW�
./devinf11

$ cat syncml_server_0.wbxml
j-//SYNCML//DTD SyncML 
1.1//ENmlq1.1rSyncML/1.1e6[1nWIMEI:354305002597206VgWhttp://hordeurl/rpc.phpkiK1\1L0JSyncHdrohttp://hordeurl/rpc.phphIMEI:354305002597206IZSsyncml:auth-basicGb64O407iK2\1L1JAlertO401iK3\1L2JPuth./devinf11O401iK4\1L3JGeto./devinf11O401R


Tried using Sync4J Java GUI client example, but it gives only "String 
index out of range: -9" and log shows good (to me at least):

Feb 08 13:05:22 HORDE [debug] [horde] SyncML: Existing session 
continued: syncmlfoobar12345678 [on line 180 of 
"/path/to/hordeinstall/lib/SyncML.php"]
Feb 08 13:05:22 HORDE [debug] [horde] SyncML: authorized=1 version=1 
msgid=1 source=foobar target=http://hordeurl user=user_domain_tld 
charset=ISO-8859-1 wbxml=1 [on line 226 of 
"/path/to/hordeinstall/lib/SyncML.php"]
Feb 08 13:05:22 HORDE [debug] [horde] SyncML: looking for sync for 
calendar [on line 263 of 
"/path/to/hordeinstall/lib/SyncML/Command/Alert.php"]
Feb 08 13:05:22 HORDE [debug] [horde] SyncML: SyncML: No info about 
previous syncs found for id user_domain_tld:foobar and database calendar 
[on line 96 of "/path/to/hordeinstall/lib/SyncML/Command/Alert.php"]
Feb 08 13:05:22 HORDE [debug] [horde] SyncML: SyncML: Anchor mismatch, 
enforcing SlowSync [on line 119 of 
"/path/to/hordeinstall/lib/SyncML/Command/Alert.php"]
Feb 08 13:05:22 HORDE [debug] [horde] SyncML: looking for sync for 
contacts [on line 263 of 
"/path/to/hordeinstall/lib/SyncML/Command/Alert.php"]
Feb 08 13:05:22 HORDE [debug] [horde] SyncML: SyncML: No info about 
previous syncs found for id user_domain_tld:foobar and database contacts 
[on line 96 of "/path/to/hordeinstall/lib/SyncML/Command/Alert.php"]
Feb 08 13:05:22 HORDE [debug] [horde] SyncML: SyncML: Anchor mismatch, 
enforcing SlowSync [on line 119 of 
"/path/to/hordeinstall/lib/SyncML/Command/Alert.php"]
Feb 08 13:05:22 HORDE [debug] [horde] SyncML: SyncML: return message 
completed [on line 513 of "/path/to/hordeinstall/lib/SyncML.php"]

Also tried to get Sync4j Outlook Client to work, but for some reason it 
sends username in form user_domain.tld instead of user_domain_tld which 
has to be used.

Ultimate question is, is there anything I can do to improve things? I 
have seen that there has been problems with other Nokia 9500 users, but 
not seeing if they have got it finally working. Or is there so much 
changes in complete CVS version of things that it is only working, and I 
can't use trick described in http://wiki.horde.org/SyncHowTo?

Any ideas and hints are appreciated which can point me to right 
direction about this. I'm somewhat familiar with horde framework, but 
not with syncing, so completely lost now.

Regards,
Joonas Hämäläinen


More information about the sync mailing list