Michael Bell schrieb: > Alex Kanavin wrote: >> 2009/3/2 Michael Bell <michael.b...@cms.hu-berlin.de>: >>> Today I use the following code: >>> >>> BtOBEX_TransportConnect(obexhandle, BDADDR_ANY, &bdaddr, channel) >>> >>> I look for a way to replace the channel with something like a service >>> UUID. The service UUIDs are part of the OMA DS specification. Can you >>> give me an advice how I can handle this problem? >> The easiest would be to implement service/channel search using bluez >> library in your application - look at obexftp or obex-data-server for >> examples. > > Is this portable? I think OpenOBEX is present on more platforms than > Linux and bluez is a Linux specific development.
No, SDP implementation are different on the platforms supported by OpenOBEX while the actually bluetooth stacks are pretty much the same regarding sockets and their socket options (except OS X which totally does its own objective-C thing). > Does OpenOBEX support Bluetooth only on Linux? No, also on Windows (MS-Stack; not WinCE), FreeBSD and NetBSD. MacOS X is currently not supported but probably can be if someone actually wants that. That are about all systems actually having a bluetooth stack with generic access. It's not really the core of OBEX protocol to find devices, although the bluetooth OBEX specs cover SDP. Addtitionally, we already do this for the USB transport and somewhat limited for IrDA. Problem is that many devices do "their special thing" regarding SDP entry names, see obexftp. HS ------------------------------------------------------------------------------ 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