Hello everybody!
I have a bluetooth device which supports the OBEX OPP service. What I am trying to accomplish is making an simple android app making a connection to this device and read every files that this device is sending me. When I do a
on this device, the following is stated:
My device doesnt have any menu options to connect to another device, only pairing. So what I need to do, is the establish a connection to this device from my phone and reading a inputstream from this device.
I've tried using the Bluecove library, but the lack of examples made me discarding that library. I also tried using the bluetooth chat example, but then I have to make server and client code, thats a big problem since I cant program my device.
Can anybody give me some examples or guidelines on how to solve this problem? And yes, I have googled the problem with several keywords and tried different solution for about two weeks now, but I am stuck.
Thanks in advance!
I have a bluetooth device which supports the OBEX OPP service. What I am trying to accomplish is making an simple android app making a connection to this device and read every files that this device is sending me. When I do a
Code:
sdptool browse
Code:
# sdptool browse C0:1B:DC:1F:E2:F1
Browsing C0:1B:DC:1F:E2:F1 ...
Service Name: OBEX Object Push
Service RecHandle: 0x10000
Service Class ID List:
"OBEX Object Push" (0x1105)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 9
"OBEX" (0x0008)
Profile Descriptor List:
"OBEX Object Push" (0x1105)
Version: 0x0100
My device doesnt have any menu options to connect to another device, only pairing. So what I need to do, is the establish a connection to this device from my phone and reading a inputstream from this device.
I've tried using the Bluecove library, but the lack of examples made me discarding that library. I also tried using the bluetooth chat example, but then I have to make server and client code, thats a big problem since I cant program my device.
Can anybody give me some examples or guidelines on how to solve this problem? And yes, I have googled the problem with several keywords and tried different solution for about two weeks now, but I am stuck.
Thanks in advance!
