Hi Marcel,

Zitat von Marcel Holtmann <mar...@holtmann.org>:
>> > I also started fixing out screwed up declarations overload. Hope that
>> > works now as expected.
>>
>> Let me test those changes for the Win32 build before release, please!
>> It might needs other changes. I will tell you when I'm done with this.
>
> Sure. Let me know when you have verified it.

It is currently broken on Win32 (all compilers).
I can fix it but I need a bit time to figure out the bits.

Regarding the compiler warnings (gcc), I added a patch to my updates  
branch on gitorious.org.

Regarding the BtOBEX_* functions: the main problem for testing for  
SOL_RFCOMM is that if bluetooth/bluetooth.h is not available (in  
Linux), then that define also isn't. This would leave bdaddr_t an  
undefined type. So if a user of OpenObex doesn't need bluetooth, that  
makes it work for him.
Having bluez_compat.h includes should give you that define.
The solution may be to define (or typedef) bdaddr_t as a basic type  
(or void*) if SOL_RFCOMM is not defined (thus adding an else case) and  
add the function prototype unconditionally.
Using -Werror without this makes bluetooth a hard dependency (a no-go  
for many systems where there is no bluetooth stack).

@Alex:
Since linux-2.6.29, there is a way to use dummy_hci together with  
g_serial to emulate such an OBEX USB device. I did not check if that  
supports the just added descriptor stuff. It would be nice to have,  
though, to actually be able to set client vs. server mode on the usb  
gadget side. Maybe that's something interesting to you?

HS



------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to