From: Armin B. <arm...@de...> - 2006-03-09 14:11:55
|
Norm Dressler wrote: > On Mon, 2006-03-06 at 14:54 +0100, Anders Hermansen wrote: > >>Armin Bauer wrote: >> >>>adding bluetooth support to libsyncml is fairly trivial. The only thing >>>that has to be done is to expose the configuration through the config if >>>the obex transport and add the appropiate connection code (which can be >>>copied from obexftp). After that, libsyncml can handle bluetooth. Adding >>>support for irda would be the same procedure. >> >>Attached is a patch which does this. I tested it with the >>syncml-obex-client and my 6680. And it works :) >> >>I have not tried the syncml-plugin yet. But it probably needs some easy >>configuration patching too. >> > > I tried the patch with my Nokia 6620: > syncml-obex-client -b 00:02:EE:6D:62:FC 11 --sync > vcard /datasync/Contacts --wbxml --identifier "PC Suite" > connection with device succeeded > > The problem is this locks up my phone -- it says sync incomplete on the > phone and is stuck there. > > Question -- Armin, is this the same bug you mentioned before that you > haven't hunted down? might be. i would have to look at the traces to see whats going on. > > Question -- Is there a way to make the output more verbose or trace? use: export SYNCML_TRACE=/path/to/log/dir > > Question -- is the file location in my command line (/datasync/Contacts) > suppose to match what the phone uses? I only 'touched' the file in that > directory and doesn't contain anything -- should it? it is not important that this directory really exists in the file system. It just the name of a database. You can choose whatever you like there but the names must match for the syncml tools and the phone. For syncml over http, you can normally enter the database name on the phone as well. so just make sure that you use the same for the phone and the tool. for syncml over obex, you normally have to use the exact same name as the phone which is normally fixed depending on phone model and manufacturer. I guess it is possible here to add support to libsyncml to accept any database name, but i have to take a closer look at this. Armin > > Thanks! > Norm > |