|
From: Nicholas P. <nic...@ni...> - 2008-01-08 00:52:14
|
Daniel, On Mon, 07 Jan 2008, Daniel Gollub wrote: > On Montag 07 Januar 2008, Brian Johnson wrote: > > I am currently playing with opensync to see if it is possible to > > synchronize text messages, however, I think I am close, but am not having > > much luck. I will respond to the mailing list if I do get it working. > It's up to the device. Just check the device capabilities of the device. > Unfortunately there is currently no easy way to gain those information with > any application based on libsyncml. The most "easiest" way would be to just > use syncml-obex-client and trigger a regular sync with a known to work > mimetype (like. text/x-vcard) and additionally call syncml-obex-client > with --devinfo. This will force the device to send the capabilities of the > device. Set SYNCML_LOG and check the recievced-*.xml files for CTCap or > similar nodes. Look for entries like: It looks like CTCap for me only shows the mimetypes of the databases I've selected already, so I can't discover new ones this way. What I did learn today, is that the S60 --identifier is not matching the phone synchronisation profile name, but actually the "Host address"! > text/x-vMessage > > If you find text/x-vMessage or somehihng simliar just try: > > syncml-obex-client --slow-sync text/x-vMessages RandomLocalDatabaseName .... I think "syncml-obex-client --identifier 'my sync' -b 00:19:79:CE:B8:FD 10 --wbxml --sync text/x-vMessages sms" may work, however the phone just shows "Connecting" for ages. I think maybe I have too many entries on the phone? I cleared the INBOX into folders, but maybe it still uses those (I hope so, actually.) Eventually the sync with text/x-vMessages shows "Operation time-out" on the handset. The received-0.xml log is at http://pastebin.com/m200e5897 (ignore the − parts, sorry.) I can't delete all the messages to try with a cleaner handset, because I can't back them up... However, for syncing more types of my content, "Lifeblog" seems to be a database on the phone with MMS, photos, SMS, etc. etc. I just don't know what mimetype to use in the obex-client? I tried "application/atom+xml" and "application/x.atom+xml", as well as text/xml, application/xml, etc. Maybe I need to set up Lifeblog on a Windows PC and sniff a sync with that. Nick |