jancona / android-on-freerunner

Automatically exported from code.google.com/p/android-on-freerunner
1 stars 1 forks source link

Bluetooth OBEX transfers not working #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Parameters --> Wireless connections --> Activate Bluetooth (check)
2. Bluetooth parameters --> Discoverable (check)
3. Pair the Freerunner with the other BT device (phone, PDA, computer)
4. Try to send a file via Bluetooth

What is the expected output? What do you see instead?
The Freerunner should display an "incoming file" notification.
Instead, the remote device displays "Unable to send to CSR - bc4" (CSR -
bc4 which is the name of my Freerunner under "Bluetooth params").

What version of the product are you using? On what operating system?
serdar-dere daily 20091021, which says "freerunner-eng 1.5 CUPCAKE
eng.serdar@serdar-dere.net.20091014.132904 test-keys" in the "About" screen.
The PDA used to test the file transfer runs PalmOS and the file chosen for
the test was a contact's vcard.
The computer used as an "aside" runs Linux

Please provide any additional information below.

Here are the services discovered by sdptool : 

Service Name: Audio Source
Service RecHandle: 0x10000
Service Class ID List:
  "Audio Source" (0x110a)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 25
  "AVDTP" (0x0019)
    uint16: 0x100
Profile Descriptor List:
  "Advanced Audio" (0x110d)
    Version: 0x0100

Service Name: AVRCP TG
Service RecHandle: 0x10001
Service Class ID List:
  "AV Remote Target" (0x110c)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 23
  "AVCTP" (0x0017)
    uint16: 0x100
Profile Descriptor List:
  "AV Remote" (0x110e)
    Version: 0x0100

Service Name: Voice Gateway
Service RecHandle: 0x10002
Service Class ID List:
  "Headset Audio Gateway" (0x1112)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 11
Profile Descriptor List:
  "Headset" (0x1108)
    Version: 0x0100

Service Name: Voice Gateway
Service RecHandle: 0x10003
Service Class ID List:
  "Handsfree Audio Gateway" (0x111f)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 10
Profile Descriptor List:
  "Handsfree" (0x111e)
    Version: 0x0105

Original issue reported on code.google.com by kewlcat...@gmail.com on 22 Oct 2009 at 9:17

GoogleCodeExporter commented 9 years ago
I think this issue should have been created under the "Enhancements" section... 
:-/

Original comment by kewlcat...@gmail.com on 22 Oct 2009 at 9:18

GoogleCodeExporter commented 9 years ago
Nope think it is a bug larlin get (or some one else can poke me if i'm wrong).

Original comment by bla...@gmail.com on 23 Oct 2009 at 12:26

GoogleCodeExporter commented 9 years ago
I think that Android does not yet support OBEX, at least not in cupcake (from 
what I see on the net). But I agree 
that would be a great feature to have...

Original comment by beni...@gmail.com on 23 Oct 2009 at 8:49

GoogleCodeExporter commented 9 years ago
Humm I haven't found a way to imitate the transfer from android right now so I 
would
guess it's not implemented that would make it as a enhancement.

Original comment by larlin...@gmail.com on 23 Oct 2009 at 7:07

GoogleCodeExporter commented 9 years ago
FYI it looks like someone managed to code it (OBEX FTP and half of OBEX PUSH,
unfortunately not the half I'm interested in) :
 * Bluetooth File Transfer by Medieval Software
 * http://www.medieval.it/content/view/61/86/
 * "Free" version is ad-supported

Original comment by kewlcat...@gmail.com on 27 Oct 2009 at 12:57

GoogleCodeExporter commented 9 years ago
Even more promising :
http://i-miss-erin.blogspot.com/2009/10/android-bluetooth-ui-application-from.ht
ml
This one has full support for OBEX PUSH, and it's not an app, it's a patch ! :-D

Original comment by kewlcat...@gmail.com on 27 Oct 2009 at 1:02

GoogleCodeExporter commented 9 years ago
Even better the android obex source is on Gitorious:
http://gitorious.org/android-obex
Can someone check if this can be incorporated into android-on-freerunner?

Original comment by hmu...@gmail.com on 27 Oct 2009 at 12:32

GoogleCodeExporter commented 9 years ago
And idea if OBEX will be added to AOF 0.2.0?  This issue seems to be standing 
still.  
Evem now in RC1. 

Original comment by v4mpyr8...@gmail.com on 8 Feb 2010 at 10:12

GoogleCodeExporter commented 9 years ago
I haven't seen any work on this so I would say no, my guess is that we won't 
have any
OBEX before it is in a android version that we move to. Please remember we try 
to get
android working on the freerunner we do not work to implement new stuff in 
android.

Original comment by larlin...@gmail.com on 8 Feb 2010 at 9:39

GoogleCodeExporter commented 9 years ago
The implementation for OBEX support is actually happening in userland space. 
See 
comments sources already mentioned above:

http://gitorious.org/android-obex/pages/Home

http://i-miss-erin.blogspot.com/2009/06/bluetooth-obex-file-sharing-in-android.h
tml

and 

http://groups.google.com/group/android-kernel/browse_thread/thread/fbc3e893d71f1
812

I suggest you try to get OBEX up and running based on their efforts. This is 
currently out of our scope.

Original comment by niels.he...@gmail.com on 9 Feb 2010 at 3:34

GoogleCodeExporter commented 9 years ago
Not in our scope, closing the issue.

Original comment by niels.he...@gmail.com on 9 Feb 2010 at 3:36