Hi,

I recently got access to a Nokia 3660 phone. 

I am running dund on the linux box. Putty, opera, p3nfs is working
fine over tcp. obexserver and ussp-push is working also fine.

I've installed the nokia remote sync application (version 4.16) on the phone.
I'm using evolution 1.4.6 and multisync cvs snapshot:

-rwx------    1 karpati  karpati   1130056 2004-11-16 17:12 
/home/karpati/src/multisync-cvs-snapshot.tar.gz

And the modified wbxml2 library as described in http://multisync.sourceforge.ne
t/wiki/index.php?Nokia6600Instructions

I started with a contact list in the phone and empty evolution addressbook.
The synchronization went OK and the contact list appeared in Evolution.

Then I modified one entry and synchronized the phone again. The change
did not appear in the phone. I attached the debug log of multisync. 
Appearently the change is detected, and it tries to send it to the phone or 
something, but the phone displays that 0 items were received.

Besides this I tried also to force full syncing of the address book in 
evolution to the phone by editing ~/.multisync/1/localsyncmlengine by removing 
the data after semicolons in the dbinfo = addressbook line.
No data was transferred to the phone even after emptying the phone's contact 
list.

I am a quite experienced programmer and linux sysadmin, and would like to 
contribute in solving that problem.
I have not much spare time for this, so some help about where to start would 
be appreciated.

Bye,
 Attila
Trying /usr/lib/multisync/libbackup_plugin.so...
Plugin found: Backup
Trying /usr/lib/multisync/libevolution_sync.so...
Detected evolution 1.4.6.
Plugin found: Ximian Evolution
Trying /usr/lib/multisync/libsyncml_plugin.so...
Plugin found: SyncML
Found pair: syncml-plugin - evolution-sync
Found pair: evolution-sync - backup-plugin
Found pair: evolution-sync - backup-plugin
SyncML:  Resetting state.
SyncML:  Socket opened.
Calendar loading `/home/nmm/evolution/local/Calendar/calendar.ics'...
Calendar loading `/home/nmm/evolution/local/Tasks/tasks.ics'...
Calendar loading `/home/nmm/evolution/local/Calendar/calendar.ics'...
Calendar loading `/home/nmm/evolution/local/Tasks/tasks.ics'...
Calendar loading `/home/nmm/evolution/local/Calendar/calendar.ics'...
Calendar loading `/home/nmm/evolution/local/Tasks/tasks.ics'...
Get view done.
Get view done.
Get view done.
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
Got message 0
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
Got message 0
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
Got message 1
Dwelling...
Got message 1
Dwelling...
Got message 1
Dwelling...
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
Got message 0
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
Got message 0
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
Got message 0
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
Got message 0
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
Got message 1
Dwelling...
Got message 1
Dwelling...
Got message 1
Dwelling...
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
Got message 0
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
Got message 0
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
Got message 0
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
Got message 0
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
Got message 0
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
Got message 0
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
Got message 0
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
SyncML:  Client connected from 192.168.1.154.
SyncML: We got some request data.
SyncML:  Line: POST / HTTP/1.1
SyncML:  Line: Cache-Control: no-store
SyncML:  Line: Connection: close
SyncML:  Line: User-Agent: Nokia SyncML HTTP Client
SyncML:  Line: Accept: application/vnd.syncml+wbxml
SyncML:  Line: Accept-Charset: utf-8
SyncML:  Line: Expect: 100-continue
SyncML:  Line: Host: 192.168.1.1:5079
SyncML:  Line: Content-Type: application/vnd.syncml+wbxml
SyncML:  Line: Content-Length: 329
SyncML:  Line: 
SyncML:  Resetting state.
HTTP/1.1 100 Continue



02 00 00 j  1d -  /  /  S  Y  N  C  M  L  /  /  D  T  D     S  y  n  c  M  L    
 1  .  0  /  /  E  N  m  l  q  c3 03 1  .  0  01 r  c3 0a S  y  n  c  M  L  /  
1  .  0  01 e  c3 02 2  2  01 [  c3 01 1  01 n  W  c3 18 h  t  t  p  :  /  /  1 
 9  2  .  1  6  8  .  1  .  1  :  5  0  7  9  /  01 01 g  W  c3 14 I  M  E  I  
:  3  5  1  5  2  9  0  0  0  7  0  1  8  3  2  01 V  c3 03 N  m  m  01 01 N  Z 
 00 01 G  c3 03 b  6  4  01 S  c3 0f s  y  n  c  m  l  :  a  u  t  h  -  m  d  
5  01 01 00 00 O  c3 18 H  F  v  O  h  a  I  6  j  m  1  a  b  R  d  c  z  n  1 
 x  z  A  =  =  01 01 Z  00 01 L  c3 04 7  0  0  0  01 01 01 00 00 k  F  K  c3 
01 1  01 O  c3 03 2  0  0  01 T  n  W  c3 0d .  /  a  d  d  r  e  s  s  b  o  o 
 k  01 01 g  W  c3 1c .  /  C  \  S  y  s  t  e  m  \  D  a  t  a  \  C  o  n  
t  a  c  t  s  .  c  d  b  01 01 Z  00 01 E  J  c3 10 2  0  0  4  1  1  2  1  T 
 0  2  3  4  2  3  Z  01 O  c3 10 2  0  0  4  1  1  2  1  T  0  3  0  3  2  8  
Z  01 01 01 01 01 00 00 12 01 01 
SyncML:  Successfully converted from WBXML to XML. Data:
<?xml version="1.0"?>
<!DOCTYPE SyncML PUBLIC "-//SYNCML//DTD SyncML 1.0//EN" 
"http://www.syncml.org/docs/syncml_represent_v10_20001207.dtd";>
<SyncML xmlns="syncml:SYNCML1.0">
  <SyncHdr>
    <VerDTD>
      1.0
    </VerDTD>
    <VerProto>
      SyncML/1.0
    </VerProto>
    <SessionID>
      22
    </SessionID>
    <MsgID>
      1
    </MsgID>
    <Target>
      <LocURI>
        http://192.168.1.1:5079/
      </LocURI>
    </Target>
    <Source>
      <LocURI>
        IMEI:351529000701832
      </LocURI>
      <LocName>
        Nmm
      </LocName>
    </Source>
    <Cred>
      <Meta>
        <Format xmlns="syncml:metinf">
          b64
        </Format>
        <Type xmlns="syncml:metinf">
          syncml:auth-md5
        </Type>
      </Meta>
      <Data>
        HFvOhaI6jm1abRdczn1xzA==
      </Data>
    </Cred>
    <Meta>
      <MaxMsgSize xmlns="syncml:metinf">
        7000
      </MaxMsgSize>
    </Meta>
  </SyncHdr>
  <SyncBody>
    <Alert>
      <CmdID>
        1
      </CmdID>
      <Data>
        200
      </Data>
      <Item>
        <Target>
          <LocURI>
            ./addressbook
          </LocURI>
        </Target>
        <Source>
          <LocURI>
            ./C\System\Data\Contacts.cdb
          </LocURI>
        </Source>
        <Meta>
          <Anchor xmlns="syncml:metinf">
            <Last>
              20041121T023423Z
            </Last>
            <Next>
              20041121T030328Z
            </Next>
          </Anchor>
        </Meta>
      </Item>
    </Alert>
    <Final>
    </Final>
  </SyncBody>
</SyncML>

SyncML:  Using SyncML 1.0
SyncML:  MD5 authorization succeeded.
SyncML:  The maximum message size is 7000 bytes.
SyncML:  Last anchors are equal, do normal sync.
SyncML:  Found DB pair: addressbook - ./C\System\Data\Contacts.cdb
SyncML:  Action: 1 0 0 0
HTTP/1.1 200 OK
Date: Sun Nov 21 03:03:32 2004
Expires: Sun Nov 21 03:03:32 2004
Content-Length: 519
Content-Type: application/vnd.syncml+wbxml
Accept-Charset: UTF-8
Accept: application/vnd.syncml+xml, application/vnd.syncml+wbxml
Cache-Control: no-store
Server: MultiSync Plugin

ŸQj
SyncML: We got some request data.
SyncML:  Disconnection, length 0.
SyncML:  SyncML disconnected.
SyncML: Got disconnection, reasaon 2.
SyncML:  Client connected from 192.168.1.154.
SyncML: We got some request data.
SyncML:  Line: POST /?sessionid=5bdaf034af48b324 HTTP/1.1
SyncML:  Line: Cache-Control: no-store
SyncML:  Line: Connection: close
SyncML:  Line: User-Agent: Nokia SyncML HTTP Client
SyncML:  Line: Accept: application/vnd.syncml+wbxml
SyncML:  Line: Accept-Charset: utf-8
SyncML:  Line: Expect: 100-continue
SyncML:  Line: Host: 192.168.1.1:5079
SyncML:  Line: Content-Type: application/vnd.syncml+wbxml
SyncML:  Line: Content-Length: 449
SyncML:  Line: 
SyncML:  Session ID OK.
HTTP/1.1 100 Continue



02 00 00 j  1d -  /  /  S  Y  N  C  M  L  /  /  D  T  D     S  y  n  c  M  L    
 1  .  0  /  /  E  N  m  l  q  c3 03 1  .  0  01 r  c3 0a S  y  n  c  M  L  /  
1  .  0  01 e  c3 02 2  2  01 [  c3 01 2  01 n  W  c3 3  h  t  t  p  :  /  /  1 
 9  2  .  1  6  8  .  1  .  1  :  5  0  7  9  /  ?  s  e  s  s  i  o  n  i  d  
=  5  b  d  a  f  0  3  4  a  f  4  8  b  3  2  4  01 01 g  W  c3 14 I  M  E  I 
 :  3  5  1  5  2  9  0  0  0  7  0  1  8  3  2  01 01 Z  00 01 L  c3 04 7  0  
0  0  01 01 01 00 00 k  i  K  c3 01 1  01 \  c3 01 1  01 L  c3 01 0  01 J  c3 
07 S  y  n  c  H  d  r  01 o  c3 14 I  M  E  I  :  3  5  1  5  2  9  0  0  0  7 
 0  1  8  3  2  01 h  c3 18 h  t  t  p  :  /  /  1  9  2  .  1  6  8  .  1  .  
1  :  5  0  7  9  /  01 O  c3 03 2  0  0  01 01 i  K  c3 01 2  01 \  c3 01 1  
01 L  c3 01 3  01 J  c3 05 A  l  e  r  t  01 o  c3 1c .  /  C  \  S  y  s  t  e 
 m  \  D  a  t  a  \  C  o  n  t  a  c  t  s  .  c  d  b  01 h  c3 0b a  d  d  
r  e  s  s  b  o  o  k  01 O  c3 03 2  0  0  01 T  O  00 01 E  O  c3 0a 1  1  0 
 1  0  0  2  6  1  2  01 01 01 01 01 00 00 j  K  c3 01 3  01 n  W  c3 0d .  /  
a  d  d  r  e  s  s  b  o  o  k  01 01 g  W  c3 1c .  /  C  \  S  y  s  t  e  m 
 \  D  a  t  a  \  C  o  n  t  a  c  t  s  .  c  d  b  01 01 Z  00 01 M  I  c3 
07 3  5  0  1  4  7  6  01 H  c3 05 2  7  3  5  5  01 01 01 01 00 00 12 01 01 
SyncML:  Successfully converted from WBXML to XML. Data:
<?xml version="1.0"?>
<!DOCTYPE SyncML PUBLIC "-//SYNCML//DTD SyncML 1.0//EN" 
"http://www.syncml.org/docs/syncml_represent_v10_20001207.dtd";>
<SyncML xmlns="syncml:SYNCML1.0">
  <SyncHdr>
    <VerDTD>
      1.0
    </VerDTD>
    <VerProto>
      SyncML/1.0
    </VerProto>
    <SessionID>
      22
    </SessionID>
    <MsgID>
      2
    </MsgID>
    <Target>
      <LocURI>
        http://192.168.1.1:5079/?sessionid=5bdaf034af48b324
      </LocURI>
    </Target>
    <Source>
      <LocURI>
        IMEI:351529000701832
      </LocURI>
    </Source>
    <Meta>
      <MaxMsgSize xmlns="syncml:metinf">
        7000
      </MaxMsgSize>
    </Meta>
  </SyncHdr>
  <SyncBody>
    <Status>
      <CmdID>
        1
      </CmdID>
      <MsgRef>
        1
      </MsgRef>
      <CmdRef>
        0
      </CmdRef>
      <Cmd>
        SyncHdr
      </Cmd>
      <TargetRef>
        IMEI:351529000701832
      </TargetRef>
      <SourceRef>
        http://192.168.1.1:5079/
      </SourceRef>
      <Data>
        200
      </Data>
    </Status>
    <Status>
      <CmdID>
        2
      </CmdID>
      <MsgRef>
        1
      </MsgRef>
      <CmdRef>
        3
      </CmdRef>
      <Cmd>
        Alert
      </Cmd>
      <TargetRef>
        ./C\System\Data\Contacts.cdb
      </TargetRef>
      <SourceRef>
        addressbook
      </SourceRef>
      <Data>
        200
      </Data>
      <Item>
        <Data>
          <Anchor xmlns="syncml:metinf">
            <Next>
              1101002612
            </Next>
          </Anchor>
        </Data>
      </Item>
    </Status>
    <Sync>
      <CmdID>
        3
      </CmdID>
      <Target>
        <LocURI>
          ./addressbook
        </LocURI>
      </Target>
      <Source>
        <LocURI>
          ./C\System\Data\Contacts.cdb
        </LocURI>
      </Source>
      <Meta>
        <Mem xmlns="syncml:metinf">
          <FreeMem>
            3501476
          </FreeMem>
          <FreeID>
            27355
          </FreeID>
        </Mem>
      </Meta>
    </Sync>
    <Final>
    </Final>
  </SyncBody>
</SyncML>

SyncML:  Using SyncML 1.0
SyncML:  The maximum message size is 7000 bytes.
SyncML:  Action: 1 0 1 0
Got message 1
Dwelling...
SyncML:  Told sync engine to get changes.
SyncML:  Got engine cmd: 2
SyncML:  Action: 1 0 0 0
SyncML:  Sending sync status.
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 1
SyncML:  Returned changes.
Process: 1 0
Got 0 changes.
Get changes done.
Got 1 changes.
Change type: 1, object type: 2
UID: 
2
Comp: 
BEGIN:VCARD
VERSION:2.1
X-EVOLUTION-FILE-AS:Ádåm, Péter
FN:Dr. Péter Ádåm
N:Ádåm;Péter;;Dr.
TEL;CELL:+3620[removed manually]
EMAIL;INTERNET: [removed manually]
UID:pas-id-419FF003000000D6
END:VCARD

SyncML:  Got modifications (1 of them).
SyncML:  Sending modify.
SyncML:  Got engine cmd: 1
SyncML:  Action: 1 0 0 0
HTTP/1.1 200 OK
Date: Sun Nov 21 03:03:38 2004
Expires: Sun Nov 21 03:03:38 2004
Content-Length: 729
Content-Type: application/vnd.syncml+wbxml
Accept-Charset: UTF-8
Accept: application/vnd.syncml+xml, application/vnd.syncml+wbxml
Cache-Control: no-store
Server: MultiSync Plugin

ŸQj
SyncML: We got some request data.
SyncML:  Disconnection, length 0.
SyncML:  SyncML disconnected.
SyncML: Got disconnection, reasaon 2.
SyncML:  Client connected from 192.168.1.154.
SyncML: We got some request data.
SyncML:  Line: POST /?sessionid=5bdaf034af48b324 HTTP/1.1
SyncML:  Line: Cache-Control: no-store
SyncML:  Line: Connection: close
SyncML:  Line: User-Agent: Nokia SyncML HTTP Client
SyncML:  Line: Accept: application/vnd.syncml+wbxml
SyncML:  Line: Accept-Charset: utf-8
SyncML:  Line: Expect: 100-continue
SyncML:  Line: Host: 192.168.1.1:5079
SyncML:  Line: Content-Type: application/vnd.syncml+wbxml
SyncML:  Line: Content-Length: 408
SyncML:  Line: 
SyncML:  Session ID OK.
HTTP/1.1 100 Continue



02 00 00 j  1d -  /  /  S  Y  N  C  M  L  /  /  D  T  D     S  y  n  c  M  L    
 1  .  0  /  /  E  N  m  l  q  c3 03 1  .  0  01 r  c3 0a S  y  n  c  M  L  /  
1  .  0  01 e  c3 02 2  2  01 [  c3 01 3  01 n  W  c3 3  h  t  t  p  :  /  /  1 
 9  2  .  1  6  8  .  1  .  1  :  5  0  7  9  /  ?  s  e  s  s  i  o  n  i  d  
=  5  b  d  a  f  0  3  4  a  f  4  8  b  3  2  4  01 01 g  W  c3 14 I  M  E  I 
 :  3  5  1  5  2  9  0  0  0  7  0  1  8  3  2  01 01 Z  00 01 L  c3 04 7  0  
0  0  01 01 01 00 00 k  i  K  c3 01 1  01 \  c3 01 2  01 L  c3 01 0  01 J  c3 
07 S  y  n  c  H  d  r  01 o  c3 14 I  M  E  I  :  3  5  1  5  2  9  0  0  0  7 
 0  1  8  3  2  01 h  c3 3  h  t  t  p  :  /  /  1  9  2  .  1  6  8  .  1  .  
1  :  5  0  7  9  /  ?  s  e  s  s  i  o  n  i  d  =  5  b  d  a  f  0  3  4  a 
 f  4  8  b  3  2  4  01 O  c3 03 2  0  0  01 01 i  K  c3 01 2  01 \  c3 01 2  
01 L  c3 01 3  01 J  c3 04 S  y  n  c  01 o  c3 1c .  /  C  \  S  y  s  t  e  m 
 \  D  a  t  a  \  C  o  n  t  a  c  t  s  .  c  d  b  01 h  c3 0b a  d  d  r  
e  s  s  b  o  o  k  01 O  c3 03 2  0  0  01 01 i  K  c3 01 3  01 \  c3 01 2  
01 L  c3 01 4  01 J  c3 07 R  e  p  l  a  c  e  01 o  c3 01 2  01 h  c3 01 0  
01 O  c3 03 5  0  0  01 01 12 01 01 
SyncML:  Successfully converted from WBXML to XML. Data:
<?xml version="1.0"?>
<!DOCTYPE SyncML PUBLIC "-//SYNCML//DTD SyncML 1.0//EN" 
"http://www.syncml.org/docs/syncml_represent_v10_20001207.dtd";>
<SyncML xmlns="syncml:SYNCML1.0">
  <SyncHdr>
    <VerDTD>
      1.0
    </VerDTD>
    <VerProto>
      SyncML/1.0
    </VerProto>
    <SessionID>
      22
    </SessionID>
    <MsgID>
      3
    </MsgID>
    <Target>
      <LocURI>
        http://192.168.1.1:5079/?sessionid=5bdaf034af48b324
      </LocURI>
    </Target>
    <Source>
      <LocURI>
        IMEI:351529000701832
      </LocURI>
    </Source>
    <Meta>
      <MaxMsgSize xmlns="syncml:metinf">
        7000
      </MaxMsgSize>
    </Meta>
  </SyncHdr>
  <SyncBody>
    <Status>
      <CmdID>
        1
      </CmdID>
      <MsgRef>
        2
      </MsgRef>
      <CmdRef>
        0
      </CmdRef>
      <Cmd>
        SyncHdr
      </Cmd>
      <TargetRef>
        IMEI:351529000701832
      </TargetRef>
      <SourceRef>
        http://192.168.1.1:5079/?sessionid=5bdaf034af48b324
      </SourceRef>
      <Data>
        200
      </Data>
    </Status>
    <Status>
      <CmdID>
        2
      </CmdID>
      <MsgRef>
        2
      </MsgRef>
      <CmdRef>
        3
      </CmdRef>
      <Cmd>
        Sync
      </Cmd>
      <TargetRef>
        ./C\System\Data\Contacts.cdb
      </TargetRef>
      <SourceRef>
        addressbook
      </SourceRef>
      <Data>
        200
      </Data>
    </Status>
    <Status>
      <CmdID>
        3
      </CmdID>
      <MsgRef>
        2
      </MsgRef>
      <CmdRef>
        4
      </CmdRef>
      <Cmd>
        Replace
      </Cmd>
      <TargetRef>
        2
      </TargetRef>
      <SourceRef>
        0
      </SourceRef>
      <Data>
        500
      </Data>
    </Status>
    <Final>
    </Final>
  </SyncBody>
</SyncML>

SyncML:  Using SyncML 1.0
SyncML:  The maximum message size is 7000 bytes.
SyncML:  Action: 1 0 0 0
SyncML:   *** Got change results! *** 
Synchronization success!
SyncML:  SyncML: Got sync done from syncengine.
Waiting for change...
SyncML:  Got engine cmd: 4
SyncML:  Action: 1 0 0 0
HTTP/1.1 200 OK
Date: Sun Nov 21 03:03:40 2004
Expires: Sun Nov 21 03:03:40 2004
Content-Length: 296
Content-Type: application/vnd.syncml+wbxml
Accept-Charset: UTF-8
Accept: application/vnd.syncml+xml, application/vnd.syncml+wbxml
Cache-Control: no-store
Server: MultiSync Plugin

ŸQj
SyncML: We got some request data.
SyncML:  Disconnection, length 0.
SyncML:  SyncML disconnected.
SyncML: Got disconnection, reasaon 2.
Got message 0
Get changes done.
New DBs: 0
SyncML:  Get changes, mode 0
Waiting for change...
Got message 7
Syncthread: Exiting.
SyncML:  Got engine cmd: 5
Disconnecting view...
Disconnecting ebook...
Disconnecting addressbook done.
Got message 7
Syncthread: Exiting.
Disconnecting view...
Disconnecting ebook...
Disconnecting addressbook done.
Got message 7
Syncthread: Exiting.
Disconnecting view...
Disconnecting ebook...
Disconnecting addressbook done.

Reply via email to