Sending files over Bluetooth fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
obexftp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: obexftp
In Jaunty, using obexftp version 0.19-7ubuntu2 I can send files to my Nokia E71/N95 using obexftp in both these two ways:
obexftp -b xx:xx:xx:xx:xx:xx -p file.pdf
obexftp -b <friendly_name> -p file.pdf
In Karmic however, both fail:
d@detritus:~/tmp$ obexftp -b <friendly_name> -p file.pdf
Scanning for <friendly_name> ...
Seen: aa:aa:aa:aa:aa:aa
Seen: bb:bb:bb:bb:bb:bb
Seen: xx:xx:xx:xx:xx:xx
Browsing <friendly_name> ...
Connecting.
error on connect(): Invalid argument
Still trying to connect
Connecting.
error on connect(): Invalid argument
Still trying to connect
Connecting.
error on connect(): Invalid argument
Still trying to connect
In this case, the mobile doesn't even seem to receive the (browse? OBEX push?) request. I'm saying that because although it and the Karmic host are paired, the Karmic host is not trusted on the mobile (neither is the Jaunty host).
Trying without the friendly name:
d@detritus:~/tmp$ obexftp -b xx:xx:xx:xx:xx:xx -p file.pdf
Browsing xx:xx:xx:xx:xx:xx ...
Connecting..\done
Sending "file.pdf"
Disconnecting.
In this case the mobile did respond to the OBEX push, and once authorized the transfer "seemed" to happen - the "spinner" was moving. However the transfer fails at the end.
ProblemType: Bug
Architecture: amd64
Date: Sat Oct 10 00:32:48 2009
DistroRelease: Ubuntu 9.10
Package: obexftp 0.22-1
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: obexftp
Uname: Linux 2.6.31-13-generic x86_64
Update:
If I manually specify the bluetooth MAC *and* the correct channel for the OBEX FTP service, the push works:
Service Name: OBEX File Transfer
Service RecHandle: 0x1000c
Service Class ID List:
"OBEX File Transfer" (0x1106)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 11
"OBEX" (0x0008)
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"OBEX File Transfer" (0x1106)
Version: 0x0100
obexftp -b xx:xx:xx:xx:xx:xx -B 11 -p <file>
succeeds.