Hi Michael,

Am 03.03.2009 um 18:32 schrieb Michael Bell:

>> Am 03.03.2009 um 13:24 schrieb Michael Bell:
>>> I think about using obexftp_browse_bt_src of obexftp to search for
>>> SyncML on the remote device.
>>> 2. btkit_browse of WIN32 always returns 0

I've updated the bt_kit, see

http://github.com/zuckschwerdt/obexftp/commit/8177c8971cc84a7328c3686e689b98f4057b8bec
http://github.com/zuckschwerdt/obexftp/commit/e312cbb4a18ad3e81619c2877c3e403126aaf899

The first patch adds two missing stubs for win32. You won't need those  
anyway (un-/registering server on SDP).
The second finally fixed the browse bt on win32 and also added a  
special case for SyncML.

Instead of the full UUID you simply use the (non standard) UUID-16  
value. It's the short int portion of the first int in the UUID (aka  
Data1).
It's 0x0002 for SyncMLClient.

There is also no need to link this as a lib. bt_kit is intended to be  
dropped right into your source code tree.

Please let me know if the preprocessor stuff is compatible with your  
project. Right now it tries to pull in config.h (autoconf style) and  
will need a common.h with defines for a DEBUG(int level, char *format,  
args...) --maybe I'll change that.
Also everything is conditional on HAVE_BLUETOOTH


regards,
Christian




------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to