|
From: Jason G. <exp...@lo...> - 2008-01-06 01:41:42
|
Hello,
I have a Nokia 6300 which emcounters obex errors as shown below when
performing a slow sync over bluetooth. The syncml log extract below
shows what happens if I perform a slow sync on contacts (obex error 68).
If I instead do a slow sync on notes only, I get similar results, only
with obex error 64.
I'm using opensync 0.35 and libsyncml 0.4.5 - both custom compiled for
my fedora 8 box.
My opensync config is also shown below. I am certain that bluetooth
channel, etc., is correct (I get sensible feedback from the phone - e.g.
sync starting), and have tried many permutations of version, wbxml,
etc., but am confident that these are now correct. I've also used
identifiers "PC Suite", "PC Suite Data Sync", "Nokia PC Suite".
I am not sure how to proceed now - tips appreciated. I note that others
are reporting similar issues with the 6300, but no guidance has been
forthcoming on this list. I am a developer, and would be happy to do
more troubleshooting, given advice on how to proceed.
Thanks,
Jason.
----------------------------------------------------------
syncml log extract, showing nonzero obex response when doing:
msynctool --sync eo --slow-sync contact
----------------------------------------------------------
[1199578530.289003] >>>>>>> smlTransportObexClientSend(0x8550820,
(nil), 0xb240c078, (nil))
[1199578530.289029] Adding connection id 1
[1199578530.289054] Target application/vnd.syncml+wbxml
[1199578530.366887] >>>>>>> _smlObexEvent(0x8550fc8, 0xb240c408, 0,
3, 2, 32)
[1199578530.366932] Request Done
[1199578530.366956] <<<<<<< _smlObexEvent
[1199578530.366980] Done sending the put request
[1199578530.367004] Adding connection id 1
[1199578530.711026] >>>>>>> _smlObexEvent(0x8550fc8, 0xb2407290, 0,
3, 3, 68)
[1199578530.711119] Request Done
[1199578530.711178] >>>>>>> smlTransportReceiveEvent(0x854a800,
(nil), 2, (nil), 0xb24063f0)
[1199578530.711234] >>>>>>> _smlManagerDataHandler(0x854a800,
(nil), 2, (nil), 0xb24063f0, 0x854a650)
[1199578530.711293] >>>>>>> _smlManagerSendEvent(0x854a650, 2,
(nil), (nil), (nil), 0xb240cf20)
[1199578530.711350] <<<<<<< _smlManagerSendEvent
[1199578530.711401] <--- ERROR --- _smlManagerDataHandler: Request
not successfull: 68
[1199578530.711452] <<<<<<< smlTransportReceiveEvent: 0
[1199578530.711501] <--- ERROR --- _smlObexEvent: Request not
successfull: 68
[1199578530.711554] <<<<<<< smlTransportObexClientSend
----------------------------------------------------------
My opensync group config
----------------------------------------------------------
[jas@speck opensync]$ msynctool --showgroup eo
Group: eo
Member 2: syncml-obex-client
Configuration : <?xml version="1.0"?>
<config>
<!--
<bluetooth_address>00:1e:a4:11:15:88</bluetooth_address>
<bluetooth_channel>11</bluetooth_channel>
<interface>0</interface>
-->
<!-- (Only for bluetooth) The bluetooth address if the bluetooth mode
is selected -->
<bluetooth_address>00:1e:a4:11:15:88</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 -->
<!-- identifier>PC Suite Data Sync</identifier -->
<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>
<!-- 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>Notes</name>
<objtype>note</objtype>
<objformat>vjournal</objformat>
</database>
</config>
Member 1: evo2-sync
Configuration : <?xml version="1.0"?>
<config>
<address_path>file:///home/jas/.evolution/addressbook/local/system</address_path>
<calendar_path>default</calendar_path>
<memos_path>default</memos_path>
<tasks_path>default</tasks_path>
</config>
|