From: Tim D. <ti...@in...> - 2006-08-13 23:11:43
|
Tim Dodge wrote: > Hi, > > I've been trying to my Nokia E70 to sync using syncml-http-server. > > Each add command looks like this: > > <Add><CmdID>7</CmdID><Item><Source><LocURI>1</LocURI></Source><Meta><Type > xmlns="syncml:metinf">text/x-vcard</Type><Version > xmlns="syncml:metinf">2.1</ > Version></Meta><Data><![CDATA[BEGIN:VCARD 0d 0a VERSION:2.1 0d 0a > REV:20060608T000620Z 0d 0a N:Dodge;Tim;;; 0d 0a TEL;CELL:+447XXXXXXXXX > 0d 0a TEL;V > OICE:+441XXXXXXXXX 0d 0a EMAIL;INTERNET:us...@do...d 0d 0a > END:VCARD 0d 0a ]]></Data></Item></Add> > > Initially I was getting "wrong initial Node: Type" errors, but the hack > in the attached patch got me a bit further, but now I'm getting: > > timmy@kingmob ~ $ msynctool --sync filehttp --wait > Synchronizing group "filehttp" > The previous synchronization was unclean. Slow-syncing > received contact dsession > received event dsession > Member 1 of type file-sync just connected > received note dsession > Member 2 of type syncml-http-server just connected > All clients connected or error > Member 1 of type file-sync just sent all changes > Received an reply to our Alert > Received an reply to our Alert > Received an reply to our Alert > Going to receive 82 changes > Member 2 of type syncml-http-server had an error while getting changes: > Broken Pipe > Member 1 of type file-sync just disconnected > Member 2 of type syncml-http-server had an error while disconnecting: > Broken Pipe > All clients have disconnected > The sync failed: Unable to read from one of the members > > There are no errors in the syncml traces, just the ones in the osync > traces (attached). > > Any help would be appreciated. > > Tim > > Using the patch in my previous post, I can get syncml-obex-client to work: timmy@kingmob ~/osync_trace $ syncml-obex-client --slow-sync text/x-vcard Contacts -b 00:12:D1:85:6D:DF 10 --identifier "PC Suite" --wbxml --dumpinfo connection with device succeeded Received an Alert for the DS Server at Contacts: Type: 200, Last 20060813T230013Z, Next 20060813T230030Z Slowsyncing Just received a new session with ID 1 Going to request the devinf Session 1 reported final. flushing Received an reply to our Alert Going to receive 67 changes Received a added entry 1 of size 163 and type (null) Data: BEGIN:VCARD VERSION:2.1 REV:20060608T000620Z <snip> END:VCARD Received the DevInf Session 1 reported final. flushing Received an reply to our Sync: 200 Session 1 reported final. flushing Session 1 has ended Send the output below to the libsyncml developers ======================================== Man: NOKIA Mod: E70 FirmwareVersion: SoftwareVersion: 1.0610.05.06 HardwareVersion: ReceiveLimit: 0 MaxObjSize: 0 Connection used: Obex Identifier: PC Suite Databases: DB Locations: Contacts DB Type: text/x-vcard DB Slow: 1 Bluetooth: Yes Wbxml: Yes SyncML Version: 1.1 SupportsNumberofChanges: Yes SupportsLargeObjects: Yes But if I try to use msynctool, I'm still getting: timmy@kingmob ~/osync_trace $ msynctool --sync filenokia Synchronizing group "filenokia" The previous synchronization was unclean. Slow-syncing Member 1 of type file-sync just connected received event dsession received contact dsession received note dsession Member 2 of type syncml-obex-client just connected All clients connected or error Member 1 of type file-sync just sent all changes Member 2 of type syncml-obex-client had an error while getting changes: Request not successfull: 67 Member 1 of type file-sync just disconnected I don't think the error message "Request not successfull: 67" and the fact that there are 67 changes is a coincidence. |