I need to configure an OBEX server in an application on an Android 2.3 device. Using the sample bluetooth chat code, I was able to configure the OBEX server. However, the server must use a custom UUID so that the service is not registered as an βOBEX serverβ
# sdptool browse local ...(snip)... Service Name: OBEX Object Push Service RecHandle: 0x10000 Service Class ID List: UUID 128: ab123abc-1a2b-3c4d-5d7f-1234567890ab Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 18
So, when I get the data, it looks like I am receiving an unhandled OBEX connection request:
80 00 07 10 00 04 00 00 00 00 ...(snip)... 00 00 00 (1kb file)
Is there an OBEX implementation that I can use, or should I implement the protocol myself?
I do not want to use the built-in OBEX server - this should be in the application. I tried BlueCove, but I left it when I had problems registering the service.
Yes, I looked at this and read the link in it, but golly should be an easier way!
tuxGurl
source share