Hi all,
I tried to test nokia e61 with syncml-http-server command.
When I tried to run "syncml-http-server --slow-sync text/x-vcard
Contacts --port 8080 --dumpinfo" to test slow sync of contacts, it
succeed and outputted all my contacts in my e61.
But when i tried to run "syncml-http-server --slow-sync text/x-vcalendar
Calendar --port 8080 --dumpinfo" to test slow sync of calendar, it
failed. The command just return but my e61 reported that error occurred.
I took a look at the trace of syncml and found that the following syncml
requests/replies were issued by syncml-http-server and e61.
1) e61 sent:
<?xml version="1.0"?><!DOCTYPE SyncML PUBLIC "-//SYNCML//DTD SyncML 1.1//EN" "
http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd"><SyncML xmlns="syncml:SYNCML1.1"><SyncHdr><VerDTD>1.1</VerDTD><VerProto>SyncML/1.1</VerProto><SessionID>6</SessionID><MsgID>1</MsgID><Target><LocURI>
http://172.16.10.117:8080</LocURI></Target><Source><LocURI>IMEI:356213000475946</LocURI></Source><Meta><MaxMsgSize xmlns="syncml:metinf">10000</MaxMsgSize></Meta></SyncHdr><SyncBody><Alert><CmdID>1</CmdID><Data>201</Data><Item><Target><LocURI>./Calendar</LocURI></Target><Source><LocURI>./C:Calendar</LocURI></Source><Meta><Anchor xmlns="syncml:metinf"><Last/><Next>20080506T110450Z</Next></Anchor></Meta></Item></Alert><Put><CmdID>2</CmdID><Meta><Type xmlns="syncml:metinf">application/vnd.syncml-devinf+xml</Type></Meta><Item><Source><LocURI>./devinf11</LocURI></Source><Data><DevInf xmlns="syncml:devinf"><VerDTD>1.1</VerDTD><Man>NOKIA</Man><Mod>E61</Mod><FwV/><SwV>2.0618.06.05</SwV><HwV/><DevID>I
MEI:356213000475946</DevID><DevTyp>phone</DevTyp><UTC/><SupportLargeObjs/><SupportNumberOfChanges/><DataStore><SourceRef>./C:Calendar</SourceRef><DisplayName>Calendar</DisplayName><MaxGUIDSize>8</MaxGUIDSize><Rx-Pref><CTType>text/x-vcalendar</CTType><VerCT>1.0</VerCT></Rx-Pref><Tx-Pref><CTType>text/x-vcalendar</CTType><VerCT>1.0</VerCT></Tx-Pref><SyncCap><SyncType>1</SyncType><SyncType>2</SyncType><SyncType>3</SyncType><SyncType>4</SyncType><SyncType>5</SyncType><SyncType>6</SyncType><SyncType>7</SyncType></SyncCap></DataStore><CTCap><CTType>text/x-vcalendar</CTType><PropName>BEGIN</PropName><ValEnum>VCALENDAR</ValEnum><ValEnum>VEVENT</ValEnum><ValEnum>VTODO</ValEnum><DisplayName>Begin</DisplayName><PropName>END</PropName><ValEnum>VCALENDAR</ValEnum><ValEnum>VEVENT</ValEnum><ValEnum>VTODO</ValEnum><DisplayName>End</DisplayName><PropName>VERSION</PropName><ValEnum>1.0</ValEnum><DisplayName>Version</DisplayName><PropName>UID</PropName><DataType/><Size>256</Size><DisplayName>Ui
d</DisplayName><PropName>SUMMARY</PropName><DataType/><Size>256</Size><DisplayName>Summary</DisplayName><PropName>DESCRIPTION</PropName><DataType/><Size>256</Size><DisplayName>Description</DisplayName><PropName>DTSTART</PropName><DataType/><Size>256</Size><DisplayName>Dstart</DisplayName><PropName>DTEND</PropName><DataType/><Size>256</Size><DisplayName>Dtend</DisplayName><PropName>AALARM</PropName><DataType/><Size>256</Size><DisplayName>Aalarm</DisplayName><PropName>CLASS</PropName><ValEnum>PUBLIC</ValEnum><ValEnum>PRIVATE</ValEnum><ValEnum>CONFIDENTIAL</ValEnum><DisplayName>Class</DisplayName><PropName>LOCATION</PropName><DataType/><Size>256</Size><DisplayName>Location</DisplayName><PropName>LAST-MODIFIED</PropName><DataType/><Size>256</Size><DisplayName>Last Modified</DisplayName><PropName>PRIORITY</PropName><DataType/><Size>256</Size><DisplayName>Priority</DisplayName><PropName>STATUS</PropName><DataType/><Size>256</Size><DisplayName>Status</DisplayName><PropName>RRULE</P
ropName><DataType/><Size>256</Size><DisplayName>Rrule</DisplayName><PropName>COMPLETED</PropName><DataType/><Size>256</Size><DisplayName>Completed</DisplayName><PropName>DCREATED</PropName><DataType/><Size>256</Size><DisplayName>Dcreated</DisplayName><PropName>DUE</PropName><DataType/><Size>256</Size><DisplayName>Due</DisplayName><PropName>EXDATE</PropName><DataType/><Size>256</Size><DisplayName>ExDate</DisplayName><PropName>CATEGORIES</PropName><DataType/><Size>256</Size><DisplayName>Categories</DisplayName><PropName>SEQUENCE</PropName><DataType/><Size>256</Size><DisplayName>Sequence</DisplayName><PropName>TZ</PropName><DataType/><Size>256</Size><DisplayName>TZ</DisplayName><PropName>DAYLIGHT</PropName><DataType/><Size>256</Size><DisplayName>Daylight</DisplayName><PropName>RDATE</PropName><DataType/><Size>256</Size><DisplayName>RDate</DisplayName><PropName>ATTENDEE</PropName><DataType/><Size>256</Size><DisplayName>Attendee</DisplayName><ParamName>ROLE</ParamName><DataType/>
<DisplayName>Role</DisplayName><ParamName>STATUS</ParamName><DataType/><DisplayName>Status</DisplayName><ParamName>X-CN</ParamName><DataType/><DisplayName>X-CN</DisplayName><ParamName>X-ROLE</ParamName><DataType/><DisplayName>Role</DisplayName><ParamName>X-SENTBY</ParamName><DataType/><DisplayName>Sent by</DisplayName><PropName>X-RECURRENCE-ID</PropName><DataType/><Size>256</Size><DisplayName>Recurrence</DisplayName><PropName>X-METHOD</PropName><DataType/><Size>256</Size><DisplayName>Method</DisplayName><PropName>X-SYMBIAN-LUID</PropName><DataType/><Size>256</Size><DisplayName>Local UID</DisplayName><PropName>X-SYMBIAN-DTSTAMP</PropName><DataType/><Size>256</Size><DisplayName>Time stamp</DisplayName><PropName>X-EPOCAGENDAENTRYTYPE</PropName><DataType/><Size>256</Size><DisplayName>X-Epoc Agenda Entry Type</DisplayName></CTCap></DevInf></Data></Item></Put><Get><CmdID>3</CmdID><Meta><Type xmlns="syncml:metinf">application/vnd.syncml-devinf+xml</Type></Meta><Item><Target><LocURI
>./devinf11</LocURI></Target></Item></Get><Final/></SyncBody></SyncML>
2)syncml-http-server replied:
<?xml version="1.0"?>
<!DOCTYPE SyncML PUBLIC "-//SYNCML//DTD SyncML 1.1//EN" "
http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd.dtd"><SyncML xmlns="SYNCML:SYNCML1.1"><SyncHdr><VerDTD>1.1</VerDTD><VerProto>SyncML/1.1</VerProto><SessionID>6</SessionID><MsgID>2</MsgID><Target><LocURI>IMEI:356213000475946</LocURI></Target><Source><LocURI>
http://172.16.10.117:8080</LocURI></Source></SyncHdr>
<SyncBody><Status><CmdID>1</CmdID><MsgRef>1</MsgRef><CmdRef>0</CmdRef><Cmd>SyncHdr</Cmd><SourceRef>IMEI:356213000475946</SourceRef><TargetRef>
http://172.16.10.117:8080</TargetRef><Data>200</Data></Status>
<Status><CmdID>2</CmdID><MsgRef>1</MsgRef><CmdRef>1</CmdRef><Cmd>Alert</Cmd><Item><Data><Anchor xmlns="syncml:metinf"><Next xmlns="syncml:metinf">20080506T110450Z</Next></Anchor></Data></Item><SourceRef>./C:Calendar</SourceRef><TargetRef>./Calendar</TargetRef><Data>508</Data></Status>
<Status><CmdID>3</CmdID><MsgRef>1</MsgRef><CmdRef>2</CmdRef><Cmd>Put</Cmd><SourceRef>./devinf11</SourceRef><Data>200</Data></Status>
<Status><CmdID>4</CmdID><MsgRef>1</MsgRef><CmdRef>3</CmdRef><Cmd>Get</Cmd><TargetRef>./devinf11</TargetRef><Data>200</Data></Status>
<Alert><CmdID>5</CmdID><Data>201</Data><Item><Target><LocURI>./C:Calendar</LocURI></Target><Source><LocURI>Calendar</LocURI></Source><Meta><Anchor xmlns="syncml:metinf"><Last xmlns="syncml:metinf"></Last><Next xmlns="syncml:metinf">20080506T110450Z</Next></Anchor></Meta></Item>
</Alert><Results><CmdID>6</CmdID><MsgRef>1</MsgRef><CmdRef>3</CmdRef><Meta><Type xmlns="syncml:metinf">application/vnd.syncml-devinf+xml</Type></Meta><Item><Source><LocURI>./devinf11</LocURI></Source><Data><DevInf xmlns="syncml:devinf"><VerDTD>1.1</VerDTD><Man>OpenSync</Man><Mod>libsyncml</Mod><SwV>0.4.6</SwV><DevID>LibSyncmML</DevID><DevTyp>workstation</DevTyp><DataStore><SourceRef>Calendar</SourceRef><Rx-Pref><CTType>text/x-vcalendar</CTType><VerCT>2.0</VerCT></Rx-Pref><Tx-Pref><CTType>text/x-vcalendar</CTType><VerCT>2.0</VerCT></Tx-Pref><SyncCap><SyncType>1</SyncType><SyncType>2</SyncType><SyncType>7</SyncType></SyncCap></DataStore></DevInf>
</Data></Item><TargetRef>./devinf11</TargetRef>
</Results><Final></Final></SyncBody></SyncML>
3)e61
<?xml version="1.0"?><!DOCTYPE SyncML PUBLIC "-//SYNCML//DTD SyncML 1.1//EN" "
http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd"><SyncML xmlns="syncml:SYNCML1.1"><SyncHdr><VerDTD>1.1</VerDTD><VerProto>SyncML/1.1</VerProto><SessionID>6</SessionID><MsgID>2</MsgID><Target><LocURI>
http://172.16.10.117:8080</LocURI></Target><Source><LocURI>IMEI:356213000475946</LocURI></Source><Meta><MaxMsgSize xmlns="syncml:metinf">10000</MaxMsgSize></Meta></SyncHdr><SyncBody><Status><CmdID>1</CmdID><MsgRef>2</MsgRef><CmdRef>0</CmdRef><Cmd>SyncHdr</Cmd><TargetRef>IMEI:356213000475946</TargetRef><SourceRef>
http://172.16.10.117:8080</SourceRef><Data>200</Data></Status><Status><CmdID>2</CmdID><MsgRef>2</MsgRef><CmdRef>5</CmdRef><Cmd>Alert</Cmd><TargetRef>./C:Calendar</TargetRef><SourceRef>Calendar</SourceRef><Data>200</Data><Item><Data><Anchor xmlns="syncml:metinf"><Next>20080506T110450Z</Next></Anchor></Data></Item></Status><Status><CmdID>3</CmdID><MsgRef>2</MsgRef><CmdRef>6</CmdRef><Cmd
>Results</Cmd><Data>200</Data></Status><Final/></SyncBody></SyncML>replied:
4)syncml-http-server replied:
<?xml version="1.0"?>
<!DOCTYPE SyncML PUBLIC "-//SYNCML//DTD SyncML 1.1//EN" "
http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd.dtd"><SyncML xmlns="SYNCML:SYNCML1.1"><SyncHdr><VerDTD>1.1</VerDTD><VerProto>SyncML/1.1</VerProto><SessionID>6</SessionID><MsgID>3</MsgID><Target><LocURI>IMEI:356213000475946</LocURI></Target><Source><LocURI>
http://172.16.10.117:8080</LocURI></Source></SyncHdr>
<SyncBody><Status><CmdID>1</CmdID><MsgRef>2</MsgRef><CmdRef>0</CmdRef><Cmd>SyncHdr</Cmd><SourceRef>IMEI:356213000475946</SourceRef><TargetRef>
http://172.16.10.117:8080</TargetRef><Data>200</Data></Status>
<Final></Final></SyncBody></SyncML>
5)syncml-http-server exited and e61 reported errors.
I took a look of syncml specification and could not find anything wrong
with the above commands. It also check the code of synml-http-server. It
seemed that synml-http-server thought the sync was over if it did
receive a command but apparently e61 did not think so. Does anyone has
any idea?
My system is Solaris and I will have a another try with Linux later.
Regards,
Jedy
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel