|
From: xyon <xy...@in...> - 2008-04-24 15:30:21
|
Hi everyone,
When trying to sync my n95 with the CLI msynctool, I get timeout errors.
Once msynctool is started, the phone immediately reports "Connecting".
After some time (long pause noted below in msynctool output), the phone
reports "Sending Calendar 5 of 5", and msynctool reports a disconnect
(shown below).
I've attached the hex hcidump and included below all pertinent
information I could think of.
Packages/versions:
bluez-hcidump 1.41-1
bluez-libs 3.27-1
bluez-utils 3.27-2
evolution 2.12.3-2
evolution-data-server 1.12.3-1
gnome-bluetooth 0.11.0-1.1
kdebluetooth 1.0_beta8-2
libopensync 0.36-1
libopensync-plugin-evolution2 0.36-4
libopensync-plugin-syncml 0.36-3
libopensync-plugin-vformat 0.36-1
hcidump command:
# hcidump -i hci0 -x -w hci.dump
HCI sniffer - Bluetooth packet analyzer ver 1.41
device: hci0 snap_len: 1028 filter: 0x0
msynctool command/output:
$ msynctool --sync evo_n95
Synchronizing group "evo_n95"
The previous synchronization was unclean. Slow-syncing
event sink of member 1 of type evo2-sync just connected
event sink of member 2 of type syncml-obex-client just connected
contact sink of member 2 of type syncml-obex-client just connected
contact sink of member 1 of type evo2-sync just connected
Main sink of member 1 of type evo2-sync just connected
Main sink of member 2 of type syncml-obex-client just connected
All clients connected or error
event sink of member 1 of type evo2-sync just sent all changes
Main sink of member 2 of type syncml-obex-client just sent all changes
Received an entry pas-id-4810983F00000003 from member 1 (evo2-sync).
Changetype ADDED
Received an entry pas-id-480E984A00000017 from member 1 (evo2-sync).
Changetype ADDED
Received an entry pas-id-4810983B00000002 from member 1 (evo2-sync).
Changetype ADDED
Received an entry pas-id-4810979C00000000 from member 1 (evo2-sync).
Changetype ADDED
contact sink of member 1 of type evo2-sync just sent all changes
Main sink of member 1 of type evo2-sync just sent all changes
**** There is a long pause here ****
event sink of member 2 of type syncml-obex-client had an error: Timeout.
contact sink of member 2 of type syncml-obex-client had an error:
Timeout.
The sync failed: At least one object engine failed while getting
changes. Aborting
event sink of member 2 of type syncml-obex-client just disconnected
contact sink of member 2 of type syncml-obex-client just disconnected
event sink of member 1 of type evo2-sync just disconnected
contact sink of member 1 of type evo2-sync just disconnected
Main sink of member 1 of type evo2-sync just disconnected
Configurations:
Member1 (evo2-sync):
<?xml version="1.0"?>
<config>
<address_path>default</address_path>
<calendar_path>default</calendar_path>
</config>
Member2 (Nokia n95 (Europe, non-8GB)):
<?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:xx:xx:xx:xx:xx</bluetooth_address>
<!-- (Only for bluetooth) The bluetooth channel to use.
`sdptool browse $MAC` to search for the correct channel -->
<bluetooth_channel>10</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>1</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>
-->
<database>
<name>Contacts</name>
<objtype>contact</objtype>
<objformat>vcard21</objformat>
</database>
<database>
<name>Calendar</name>
<objtype>event</objtype>
<objformat>vevent20</objformat>
</database>
</config>
|