×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    4

    Nokia 6600 and Sync4j

    Has anybody succeeded in synchronizing Nokia 6600 with Sync4j?

  2. #2
    Registered User
    Join Date
    Nov 2004
    Posts
    4

    syncing against Sync4j server

    Hi,

    I have not succeeded sync against sync4j server (see project page: http://sync4j.funambol.com/)

    Here is some logs:

    First at all the server receive syncml object:

    <SyncML><SyncHdr><VerDTD>1.1</VerDTD><VerProto>SyncML/1.1</VerProto><SessionID>134</SessionID><MsgID>2</MsgID><Target><LocURI>http://xxx.xxx.xxx.xxx/sync4j/sync?s...AwMDc2MjI3Mzcw</LocURI></Target><Source><LocURI>IMEI:xxx.xxx.xxx.xxx</LocURI></Source><Meta><MaxMsgSize>10000</MaxMsgSize></Meta></SyncHdr><SyncBody><Status><CmdID>1</CmdID><MsgRef>1</MsgRef><CmdRef>0</CmdRef><Cmd>SyncHdr</Cmd><TargetRef>IMEI:xxx.xxx.xxx.xxx</TargetRef><SourceRef>http://xxx.xxx.xxx.xxx/sync4j/sync</SourceRef><Data>200</Data></Status><Status><CmdID>2</CmdID><MsgRef>1</MsgRef><CmdRef>3</CmdRef><Cmd>Alert</Cmd><TargetRef>./C\System\Data\Calendar</TargetRef><SourceRef>./calendar</SourceRef><Data>200</Data><Item><Data><Anchor><Next>1100076228428</Next></Anchor></Data></Item></Status><Sync><CmdID>3</CmdID><Target><LocURI>./calendar</LocURI></Target><Source><LocURI>./C\System\Data\Calendar</LocURI></Source><Meta><MaxObjSize>786432</MaxObjSize></Meta><NumberOfChanges>3</NumberOfChanges><Add><CmdID>4</CmdID><Meta><Type>text/x-vcalendar</Type></Meta><Item><Source><LocURI>14</LocURI></Source><Data>BEGIN:VCALENDAR

    VERSION:1.0

    BEGIN:VEVENT

    UID:14

    SUMMARY:Isanpaiva

    DTSTART:20041114T120000

    DTEND:20041114T120000

    X-EPOCAGENDAENTRYTYPE:APPOINTMENT

    CLASS:PRIVATE

    DCREATED:20041103T000000

    AALARM;TYPE=X-EPOCSOUND:20041114T120000;;0;CalenAlarmSound

    LAST-MODIFIED:20041110T084200

    PRIORITY:0

    STATUS:NEEDS ACTION

    END:VEVENT

    END:VCALENDAR

    </Data></Item></Add><Add><CmdID>5</CmdID><Meta><Type>text/x-vcalendar</Type></Meta><Item><Source><LocURI>23</LocURI></Source><Data>BEGIN:VCALENDAR

    VERSION:1.0

    BEGIN:VTODO

    UID:23

    SUMMARY:Toto

    DUE:20041109T000000

    STATUS:NEEDS ACTION

    X-EPOCAGENDAENTRYTYPE:TODO

    CLASS:PUBLIC

    DCREATED:20041109T000000

    LAST-MODIFIED:20041109T112200

    PRIORITY:2

    END:VTODO

    END:VCALENDAR

    </Data></Item></Add><Add><CmdID>6</CmdID><Meta><Type>text/x-vcalendar</Type></Meta><Item><Source><LocURI>24</LocURI></Source><Data>BEGIN:VCALENDAR

    VERSION:1.0

    BEGIN:VEVENT

    UID:24

    SUMMARY:Testi

    DTSTART:20041125T080000

    DTEND:20041125T080000

    X-EPOCAGENDAENTRYTYPE:APPOINTMENT

    CLASS:PRIVATE

    LOCATION:Loca

    DCREATED:20041109T000000

    LAST-MODIFIED:20041109T131100

    PRIORITY:0

    STATUS:NEEDS ACTION

    END:VEVENT

    END:VCALENDAR

    </Data></Item></Add></Sync><Final></Final></SyncBody></SyncML>







    This is handled correctly and the data is stored to db. Then server start to send returning syncml object:







    FINEST: About returning message: <?xml version="1.0" encoding="UTF-8"?>
    <SyncML>
    <SyncHdr>
    <VerDTD>1.1</VerDTD>
    <VerProto>SyncML/1.1</VerProto>
    <SessionID>134</SessionID>
    <MsgID>2</MsgID>
    <Target>
    <LocURI>IMEI:xxx.xxx.xxx.xxx</LocURI>
    </Target>
    <Source>
    <LocURI>http://xxx.xxx.xxx.xxx/sync4j/sync?s...AwMDc2MjI3Mzcw</LocURI>
    </Source>
    </SyncHdr>
    <SyncBody>
    <Status>
    <CmdID>12</CmdID>
    <MsgRef>2</MsgRef>
    <CmdRef>0</CmdRef>
    <Cmd>SyncHdr</Cmd>
    <TargetRef>http://xxx.xxx.xxx.xxx/sync4j/sync?s...AwMDc2MjI3Mzcw</TargetRef>
    <SourceRef>IMEI:xxx.xxx.xxx.xxx</SourceRef>
    <Data>200</Data>
    </Status>
    <Status>
    <CmdID>1</CmdID>
    <MsgRef>2</MsgRef>
    <CmdRef>3</CmdRef>
    <Cmd>Sync</Cmd>
    <TargetRef>./calendar</TargetRef>
    <SourceRef>./C\System\Data\Calendar</SourceRef>
    <Data>200</Data>
    </Status>
    <Sync>
    <CmdID>11</CmdID>
    <Target>
    <LocURI>./C\System\Data\Calendar</LocURI>
    </Target>
    <Source>
    <LocURI>./calendar</LocURI>
    </Source>
    <Add>
    <CmdID>2</CmdID>
    <Meta>
    <Type>text/x-vcalendar</Type>
    </Meta>
    <Item>
    <Source>
    <LocURI>4</LocURI>
    </Source>
    <Data>BEGIN:VCALENDAR
    VERSION:1.0
    BEGIN:VEVENT
    UID:1
    SUMMARY;Serveripuolentesti?toimivittu
    DTSTART:20041110T120000
    DTEND:20041110T123000
    X-EPOCAGENDAENTRYTYPE:APPOINTMENT
    CLASS:PRIVATE
    DCREATED:20041103T000000
    AALARM;TYPE=X-EPOCSOUND:20041114T110000;;0;CalenAlarmSound
    LAST-MODIFIED:20041101T092100
    PRIORITY:0
    STATUS:NEEDS ACTION
    END:VEVENT
    END:VCALENDAR
    </Data>
    </Item>
    </Add>
    <Add>
    <CmdID>3</CmdID>
    <Meta>
    <Type>text/x-vcalendar</Type>
    </Meta>
    <Item>
    <Source>
    <LocURI>6</LocURI>
    </Source>
    <Data>BEGIN:VCALENDAR
    VERSION:1.0
    BEGIN:VEVENT
    UID:14
    SUMMARY;testitesti
    DTSTART:20041114T120000
    DTEND:20041114T130000
    X-EPOCAGENDAENTRYTYPE:APPOINTMENT
    CLASS:PRIVATE
    DCREATED:20041103T000000
    AALARM;TYPE=X-EPOCSOUND:20041114T120000;;0;CalenAlarmSound
    LAST-MODIFIED:20041110T081700
    PRIORITY:0
    STATUS:NEEDS ACTION
    END:VEVENT
    END:VCALENDAR
    </Data>
    </Item>
    </Add>
    <Add>
    <CmdID>4</CmdID>
    <Meta>
    <Type>text/x-vcalendar</Type>
    </Meta>
    <Item>
    <Source>
    <LocURI>7</LocURI>
    </Source>
    <Data>BEGIN:VCALENDAR
    VERSION:1.0
    BEGIN:VEVENT
    UID:15
    SUMMARY:Testi
    DTSTART:20041127T080000
    DTEND:20041127T080000
    X-EPOCAGENDAENTRYTYPE:APPOINTMENT
    CLASS:PRIVATE
    DCREATED:20041108T000000
    AALARM;TYPE=X-EPOCSOUND:20041127T074500;;0;CalenAlarmSound
    LAST-MODIFIED:20041108T083100
    PRIORITY:0
    STATUS:NEEDS ACTION
    END:VEVENT
    END:VCALENDAR
    </Data>
    </Item>
    </Add>
    <Add>
    <CmdID>5</CmdID>
    <Meta>
    <Type>text/x-vcalendar</Type>
    </Meta>
    <Item>
    <Source>
    <LocURI>8</LocURI>
    </Source>
    <Data>BEGIN:VCALENDAR
    VERSION:1.0
    BEGIN:VEVENT
    UID:6
    SUMMARY:kasin tehty testi
    DTSTART:20041111T150000
    DTEND:20041111T000000
    X-EPOCAGENDAENTRYTYPE:APPOINTMENT
    CLASS:PRIVATE
    DCREATED:20040928T000000
    AALARM;TYPE=X-EPOCSOUND:20041001T120000;;0;CalenAlarmSound
    LAST-MODIFIED:20041013T111400
    PRIORITY:0
    STATUS:NEEDS ACTION
    END:VEVENT
    END:VCALENDAR
    </Data>
    </Item>
    </Add>
    <Add>
    <CmdID>6</CmdID>
    <Meta>
    <Type>text/x-vcalendar</Type>
    </Meta>
    <Item>
    <Source>
    <LocURI>5</LocURI>
    </Source>
    <Data>BEGIN:VCALENDAR
    VERSION:1.0
    BEGIN:VEVENT
    UID:14
    SUMMARY;testitesti
    DTSTART:20041114T120000
    DTEND:20041114T130000
    X-EPOCAGENDAENTRYTYPE:APPOINTMENT
    CLASS:PRIVATE
    DCREATED:20041103T000000
    AALARM;TYPE=X-EPOCSOUND:20041114T120000;;0;CalenAlarmSound
    LAST-MODIFIED:20041110T081400
    PRIORITY:0
    STATUS:NEEDS ACTION
    END:VEVENT
    END:VCALENDAR
    </Data>
    </Item>
    </Add>
    <Add>
    <CmdID>7</CmdID>
    <Meta>
    <Type>text/x-vcalendar</Type>
    </Meta>
    <Item>
    <Source>
    <LocURI>16</LocURI>
    </Source>
    <Data>BEGIN:VCALENDAR
    VERSION:1.0
    BEGIN:VEVENT
    UID:16
    SUMMARY:ToinenTesti
    DTSTART:20041124T080000
    DTEND:20041124T080000
    X-EPOCAGENDAENTRYTYPE:APPOINTMENT
    CLASS:PRIVATE
    DCREATED:20041108T000000
    AALARM;TYPE=X-EPOCSOUND:20041124T074500;;0;CalenAlarmSound
    LAST-MODIFIED:20041108T145200
    PRIORITY:0
    STATUS:NEEDS ACTION
    END:VEVENT
    END:VCALENDAR
    </Data>
    </Item>
    </Add>
    <Add>
    <CmdID>8</CmdID>
    <Meta>
    <Type>text/x-vcalendar</Type>
    </Meta>
    <Item>
    <Source>
    <LocURI>17</LocURI>
    </Source>
    <Data>BEGIN:VCALENDAR
    VERSION:1.0
    BEGIN:VEVENT
    UID:17
    SUMMARY:ToinenTesti
    DTSTART:20041125T080000
    DTEND:20041125T080000
    X-EPOCAGENDAENTRYTYPE:APPOINTMENT
    CLASS:PRIVATE
    DCREATED:20041108T000000
    AALARM;TYPE=X-EPOCSOUND:20041125T074500;;0;CalenAlarmSound
    LAST-MODIFIED:20041108T145200
    PRIORITY:0
    STATUS:NEEDS ACTION
    END:VEVENT
    END:VCALENDAR
    </Data>
    </Item>
    </Add>
    <Add>
    <CmdID>9</CmdID>
    <Meta>
    <Type>text/x-vcalendar</Type>
    </Meta>
    <Item>
    <Source>
    <LocURI>21</LocURI>
    </Source>
    <Data>BEGIN:VCALENDAR
    VERSION:1.0
    BEGIN:VEVENT
    UID:21
    SUMMARY:Meeting
    DTSTART:20041124T080000
    DTEND:20041124T080000
    X-EPOCAGENDAENTRYTYPE:APPOINTMENT
    CLASS:PRIVATE
    DCREATED:20041109T000000
    AALARM;TYPE=X-EPOCSOUND:20041124T074500;;0;CalenAlarmSound
    LAST-MODIFIED:20041109T080400
    PRIORITY:0
    STATUS:NEEDS ACTION
    END:VEVENT
    END:VCALENDAR
    </Data>
    </Item>
    </Add>
    <Add>
    <CmdID>10</CmdID>
    <Meta>
    <Type>text/x-vcalendar</Type>
    </Meta>
    <Item>
    <Source>
    <LocURI>9</LocURI>
    </Source>
    <Data>BEGIN:VCALENDAR
    VERSION:1.0
    BEGIN:VEVENT
    UID:9
    SUMMARY:Test
    DTSTART:20041022T080000
    DTEND:20041022T080000
    X-EPOCAGENDAENTRYTYPE:APPOINTMENT
    CLASS:PRIVATE
    DCREATED:20041014T000000
    LAST-MODIFIED:20041014T092000
    PRIORITY:0
    STATUS:NEEDS ACTION
    END:VEVENT
    END:VCALENDAR
    </Data>
    </Item>
    </Add>
    </Sync>
    <Final></Final>
    </SyncBody>
    </SyncML>

    At this point my cell phone display a note "Unable to synchronise with server" and in log there are incomplete note. "

    Can anyone help me ? I think there is something wrong with returning syncml message but I can not figure what ?
    Any suggestions ? I'm little bit a trouble with this

    Br,
    tommi
    Last edited by tommiauvinen; 2004-11-16 at 06:37.

  3. #3
    Registered User
    Join Date
    Oct 2004
    Posts
    26
    i do it,and i try se p908,k700,moto A768,v300 ,all success.
    and what version server do you use sync4j?the latest version 4.05 has release,go and try it.
    when i try 6600,some time it will display the message "cant sync with server",i think it maybe because the server can't map the client contact with the server record,i delete all the server record,and sync ok!

  4. #4
    Registered User
    Join Date
    Nov 2004
    Posts
    4
    I have downloaded server version 4.06 and it work when I was using FileSystemSyncSource class. Then I try to get it work with JDBCSyncSource class and it did not work anymore.
    Then I realize to try out "\r\n" instead "\n" to make line feeds to syncml messages to rowToSyncItem method and it help.

    Now I can sync with Nokias series 60 phones but not with series 40 phone. With s40 I get protocoll error which is very strange.
    And same error is coming when I try to sync with ericssons phones.

  5. #5
    Registered User
    Join Date
    Oct 2004
    Posts
    26
    i am interest in the sync4j server 4.06.i find the latest version for sync4j is 4.05 on http://sync4j.funambol.com.where you get the 4.06,is it a stable release,do you have source?
    i always try the filesystem to store the sync data,i find a problem is that in version 4.04,i change the server data,the clinet can auto get the new change,but in 4.05 the client can't do that,is it a new function??has somebody know that!

  6. #6
    Registered User
    Join Date
    Nov 2004
    Posts
    4
    Hi vincent,

    I have take all my sync4j codes from cvs and make my own package, see more info from -> http://forge.objectweb.org/scm/?group_id=96

    When I check the version number from about http://localhost:8080/sync4j/
    there is ver 4.05 and syncserver version is 4.06, I have mixed up these. Sorry about that.

    There is forge module in cvs and I have make my build with these packages (release.properties):

    module.src.tag=syncserver_4_0_5
    release.minor=0
    release.state=0
    build.number=7
    module.docs.tag=culhwch_4_0_5
    build.date=20041111
    release.major=4
    module.dist.tag=dist_4_0_5

    There is also culhwch_4_0_9 version of sync4j module but I have not tested it.

  7. #7
    Registered User
    Join Date
    Nov 2004
    Posts
    4
    Serveripuolentesti?toimivittu =8^D

    Same kinda string that I normally use for debugging and testing my applications.

  8. #8
    Registered User
    Join Date
    Mar 2003
    Posts
    39
    Hi Vincent,
    Sync4j 4.0.6 the one included in Sync4j 2.2 b2.

    Stefano

    Originally posted by vincent_hxk
    i am interest in the sync4j server 4.06.i find the latest version for sync4j is 4.05 on http://sync4j.funambol.com.where you get the 4.06,is it a stable release,do you have source?
    i always try the filesystem to store the sync data,i find a problem is that in version 4.04,i change the server data,the clinet can auto get the new change,but in 4.05 the client can't do that,is it a new function??has somebody know that!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×