|
From: Simon J. <si...@jo...> - 2008-02-07 16:40:34
|
Hi! I'm trying to go from the 0.35 builds in debian to building from
svn. Building of libsyncml, opensync, file-sync, syncml worked fine. I
have purged the old debian tools from my system. Msynctool
--listplugins prints:
jas@mocca:~$ msynctool --listplugins
Available plugins:
file-sync
syncml-http-server
syncml-http-client
syncml-obex-client
jas@mocca:~$
I removed ~/.opensync and added configuration from scratch. However,
syncing doesn't work:
jas@mocca:~$ msynctool --sync e51-file
Synchronizing group "e51-file"
contact sink of member 2 of type syncml-obex-client just connected
contact sink of member 1 of type file-sync just connected
Main sink of member 1 of type file-sync just connected
/home/jas/src/libsyncml/libsyncml/sml_support.c:443:E:smlSafeFree: Assertion "*address" failed
Aborted
jas@mocca:~$
The simpler tools also fail with similar error:
jas@mocca:~$ syncml-obex-client -b $MAC $CHANNEL --slow-sync text/x-vcard Contacts --wbxml --identifier "PC Suite"
Ideas? Complete config below.
/Simon
Group: e51-file
Member 2: syncml-obex-client
Configuration : <?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>...</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>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>
Member 1: file-sync
Configuration : <?xml version="1.0"?>
<config>
<!--
<directory>
<path></path>
<objtype>data</objtype>
</directory>
Field objformat set the object format which should be used to store.
objformat is optional - by default objformat is "file".
-->
<directory>
<path>/home/jas/sync/contact</path>
<objtype>contact</objtype>
<objformat>vcard30</objformat>
<converterpath_config></converterpath_config>
</directory>
<!--
<directory>
<path></path>
<objtype>event</objtype>
<objformat>vevent20</objformat>
<converterpath_config></converterpath_config>
</directory>
-->
</config>
|