Hi Hendrik, > > > I've added some modifications to openobex (version 1.3) to support > > > NetBSD's bluetooth stack. I'm using it succesfully with obexapp and my > > > Sony Ericsson K700i to transfer files via Bluetooth. > > > > > > The full patch is at: > > > http://www.xtrarom.org/~juan/openobex_netbsd_bt.diff > > > > > > It would be nice if these patches are applied for the next version, so > > > that I can remove the patches for pkgsrc. > > > > the link is no longer valid and so I can't check up on this patch. > > I can sum it up for you: > [1] is linux bluez > [2] is FreeBSD NetGraph > [3] is NetBSD netbt > > 1,3: BTPROTO_RFCOMM > 2: BLUETOOTH_PROTO_RFCOMM > > 1: struct sockaddr_rc with fields .rc_* > 2: struct sockaddr_rfcomm with fields .rfcomm_* > 3: struct sockaddr_bt with fields .bt_* > > 1: str2ba(addr,&sa.rc_bdaddr) > 2: bt_aton(addr,&sa.rfcomm_bdaddr) > 3: bt_aton(addr,&sa.bt_bdaddr) > > 1: include bluetooth/bluetooth.h and bluetooth/rfcomm.h > 2,3: include bluetooth.h > > Further help on NetBSD: > http://netbsd.gw.com/cgi-bin/man-cgi?bluetooth+4+NetBSD-current > http://netbsd.gw.com/cgi-bin/man-cgi?bluetooth+3+NetBSD-current > The lib calls are compatible to bluez when you define something but since > FreeBSD uses basicly the same...
I have included the support for NetBSD now. For FreeBSD it should be straight forward. So if anybody cares, please send me a patch. > I also tried RFcomm on the MS Bluetooth stack (WinXP SP2, I extracted the > header files from the Windows-SDK) and MacOS X. The one from MS is a bit > different and doable, the one from MacOS X is completely different and also > has its own OBEX capabilities and thus probably not worth any effort. > Those 5 are then basicly all available bluetooth stacks. If you are > interested, just tell me. I don't use OpenOBEX on Windows, but if someone is willing to test stuff, I am happy to apply patches. Regards Marcel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Openobex-users mailing list [email protected] http://lists.sourceforge.net/lists/listinfo/openobex-users
