Ticket #830 (closed defect: worksforme)

Opened 3 months ago

Last modified 6 days ago

[NEEDINFO] Nokia 6300 not working with syncml 0.36

Reported by: CosminG Owned by: bellmich
Priority: normal Milestone: 0.40
Component: Plugin: syncml-client Version: 0.38
Severity: normal Keywords:
Cc: bellmich

Description

I have Nokia 6300 on 0.22 it works with this config:

<?xml version="1.0"?>
<config>
  <!-- (Only for bluetooth) The bluetooth address if the bluetooth mode is selected -->
  <bluetooth_address>00:1d:98:48:a3:16</bluetooth_address>
  
  <!-- (Only for bluetooth) The bluetooth channel to use. `sdptool browse $MAC` to search for the correct channel -->
  <bluetooth_channel>11</bluetooth_channel>
  
  <!-- (Only for USB) The usb interface number of the SYNCML-SYNC target. use syncml-obex-client -u (you will need access to the USB raw device) to find it. -->
  <interface>0</interface>
  
  <!-- The string that the plugin will use to identify itself. Some devices need a special string here. -->
  <identifier>PC Suite</identifier>
  
  <!-- The syncml version to use: 0 for 1.0, 1 for 1.1 and 2 for 1.2 -->
  <version>1</version>
  
  <!-- if the plugin should use wbxml -->
  <wbxml>1</wbxml>
  
  <!-- The username to use. Leave empty to not require a username -->
  <username></username>
  
  <!-- the password for the username -->
  <password></password>
  
  <!-- sets the connection type to use. 5 means obex over usb, 2 means obex over bluetooth -->
  <type>2</type>
  
  <!-- If wbxml is enabled, defines wether the wbxml should use string tables -->
  <usestringtable>0</usestringtable>
  
  <!-- Never send ADD command, but send REPLACE (not needed normally) -->
  <onlyreplace>0</onlyreplace>

  <!-- Workaround around for mobile phones which only use local timestamps and _no_ UTC timestamps! -->
  <onlyLocaltime>0</onlyLocaltime>
  
  <!-- Sets the maximum allowed size in bytes of incoming messages (some device need this option set). Example: 10000 -->
  <recvLimit>0</recvLimit>
  
  <maxObjSize>0</maxObjSize>
  
  <!-- The name of the contacts db. Must be the same as the phones sends -->
  <contact_db>Contacts</contact_db>
  
  <!-- The name of the calendar db. Must be the same as the phones sends -->
  <calendar_db>Calendar</calendar_db>
  
  <!-- The name of the note db. Must be the same as the phones sends -->
  <note_db>Notes</note_db>
</config>

on 0.36 I use the following conf:

<?xml version="1.0"?>
<config>
  <!-- sets the connection type to use. -->
  <!-- please note that actually OBEX over network is not supported -->
  <!-- 1 means obex over serial cable -->
  <!-- 2 means obex over bluetooth    -->
  <!-- 3 means obex over IRDA         -->
  <!-- 4 means obex over network      -->
  <!-- 5 means obex over usb          -->
  <type>2</type>
  
  <!-- (Only for bluetooth) The bluetooth address if the bluetooth mode is selected.
       `hciconfig scan` to search bluetooth devices.  -->
  <bluetooth_address>00:1D:98:48:A3:16</bluetooth_address>
  
  <!-- (Only for bluetooth) The bluetooth channel to use.
       `sdptool browse $MAC` to search for the correct channel -->
  <bluetooth_channel>11</bluetooth_channel>
  
  <!-- (Only for USB) The usb interface number of the SYNCML-SYNC target. use syncml-obex-client -u (you will need access to the USB raw device) to find it. -->
  <interface>0</interface>
  
  <!-- The string that the plugin will use to identify itself. Some devices need a special string here. -->
  <identifier>PC Suite</identifier>
  
  <!-- The syncml version to use: 0 for 1.0, 1 for 1.1 and 2 for 1.2 -->
  <version>1</version>
  
  <!-- if the plugin should use wbxml -->
  <wbxml>1</wbxml>
  
  <!-- The username to use. Leave empty to not require a username -->
  <username></username>
  
  <!-- the password for the username -->
  <password></password>
 
  <!-- If wbxml is enabled, defines wether the wbxml should use string tables -->
  <usestringtable>0</usestringtable>
  
  <!-- Never send ADD command, but send REPLACE (not needed normally) -->
  <onlyreplace>0</onlyreplace>

  <!-- Workaround around for mobile phones which only use local timestamps and _no_ UTC timestamps! -->
  <onlyLocaltime>0</onlyLocaltime>
  
  <!-- Sets the maximum allowed size in bytes of incoming messages (some device need this option set). Example: 10000 -->
  <recvLimit>0</recvLimit>
  
  <maxObjSize>0</maxObjSize>
  
  <!-- XXX: Currently you need to write this by your own.
       Later it's planned to create such entries on the fly during
       the discovery() call. Example database field:

  <database>
     <name>Contacts</name>
     <objtype>contact</objtype>
     <objformat>vcard21</objformat>
  </database>
  -->
  
</config>

and when I try to sync with multisyncgui I get: Error while initializing syncengine: No synchronizable objtype

Attachments

sent-0.xml (0.6 KB) - added by badcel 7 days ago.
Trace: Sent 0
sent-1.xml (1.3 KB) - added by badcel 7 days ago.
Trace: Sent 1
received-0.xml (4.2 KB) - added by badcel 7 days ago.
Trace: Received 0
_1_Thread3061992336-10802.log (7.5 KB) - added by badcel 7 days ago.
Trace: 1
_2_Thread3070385040-10802.log (107.7 KB) - added by badcel 7 days ago.
Trace: 2
_3_Thread3078780608-10802.log (94.5 KB) - added by badcel 7 days ago.
Trace: 3
_4_Thread3078777744-10802.log (99.8 KB) - added by badcel 7 days ago.
Trace: 4

Change History

follow-up: ↓ 2   Changed 3 months ago by chi70

  <!-- XXX: Currently you need to write this by your own.
       Later it's planned to create such entries on the fly during
       the discovery() call. Example database field:

  <database>
     <name>Contacts</name>
     <objtype>contact</objtype>
     <objformat>vcard21</objformat>
  </database>
  -->

The only mentioned database is commented out, so there is nothing to sync. Everything between <!-- and --> is a comment.

Try with databases similar to

  <database>
     <name>Calendar</name>
     <objtype>event</objtype>
     <objformat>vevent20</objformat>
  </database>
or

  <database>
     <name>Contacts</name>
     <objtype>contact</objtype>
     <objformat>vcard21</objformat>
  </database>

in reply to: ↑ 1   Changed 3 months ago by CosminG

Replying to chi70:

{{{ <!-- XXX: Currently you need to write this by your own. Later it's planned to create such entries on the fly during the discovery() call. Example database field: <database> <name>Contacts</name> <objtype>contact</objtype> <objformat>vcard21</objformat> </database> --> }}} The only mentioned database is commented out, so there is nothing to sync. Everything between <!-- and --> is a comment. Try with databases similar to {{{ <database> <name>Calendar</name> <objtype>event</objtype> <objformat>vevent20</objformat> </database> or <database> <name>Contacts</name> <objtype>contact</objtype> <objformat>vcard21</objformat> </database> }}}

I still get: Error while initializing syncengine: No synchronizable objtype

  Changed 10 days ago by tuju

  • cc bellmich added
  • version changed from 0.36 to 0.38
  • summary changed from Nokia 6300 not working with syncml 0.36 to [NEEDINFO] Nokia 6300 not working with syncml 0.36

Bellmich, does the 6300 work with this setup? Reporter, test the 0.38 or latest svn and comment the status of this issue.

Changed 7 days ago by badcel

Trace: Sent 0

Changed 7 days ago by badcel

Trace: Sent 1

Changed 7 days ago by badcel

Trace: Received 0

Changed 7 days ago by badcel

Trace: 1

Changed 7 days ago by badcel

Trace: 2

Changed 7 days ago by badcel

Trace: 3

Changed 7 days ago by badcel

Trace: 4

  Changed 7 days ago by badcel

Hi,

I also own a 6300. There is a problem related to syncml in the current versions of wbxml2 / syncml. I tried to use the syncml-ds-tool to get contacts from the phone.

I'm using a bluetooth connectin which was successfully established.

For the test I used wbxml2 from the new opensync repository (revision 103) and syncml from trunk (revision 792)

My distribution is archlinux.

[marcel@archlinux libsyncml-svn]$ syncml-ds-tool -b 00:22:FC:5D:57:98 11 --sync text/x-vcard contacts --wbxml --identifier "PC Suite"
** Message: Remote device was successfully connected.

** (process:10802): WARNING **: libsyncml uses different timestamp anchor modes.
** Message: All alerts of the remote device were received.
** Message: ERROR: Not found (0x44)

Please note, that i crossed out my imei.

Hope you can get any further with this information.

With kind regards

Marcel

  Changed 7 days ago by tuju

  • owner changed from abauer to dgollub

  Changed 7 days ago by bellmich

  • owner changed from dgollub to bellmich
  • status changed from new to assigned

First you need an up-to-date libwbxml.

Second the phone must be recovered with Gammu (alternatively you must install a new firmware - reset to firmware defaults does not help). Perhaps Samm should setup a wiki page 'how to recover a Nokia S40 device'.

  Changed 6 days ago by bellmich

  • status changed from assigned to closed
  • resolution set to worksforme

Please read the instructions in the libsyncml wiki for more details:

http://libsyncml.opensync.org/wiki/docs/trunk/HowToRecoverNokiaS40

Note: See TracTickets for help on using tickets.