Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   Sending files from mobile to CentOS via Bluetooth (http://www.linux-archive.org/centos/403137-sending-files-mobile-centos-via-bluetooth.html)

Toralf Lund 07-23-2010 09:50 AM

Sending files from mobile to CentOS via Bluetooth
 
Has anyone here managed to send files from a mobile phone to a CentOS
system via Bluetooth? I'm trying with a Samsung E1310, using the GNOME
tools, but can't get it to work. I can send files from the Linux box to
this phone using the Nautilus bluetooth plugin
(nautilus-sendto-bluetooth), and have also managed to "pull" some data
I've been trying to send, via "obexftp". If I try to initiate a transfer
from the phone, however, it will just display a generic "connection
failed" message. If I run gnome-obex-server from the command line while
doing this, I get

$ gnome-obex-server
conn_request: bdaddr <addres of phone>
conn_complete: status 0x00

But that's pretty much it. Any ideas? I'll also include some hcidump
output below... Note that based on a simple web search, it does look
like others have experienced the same thing, but I didn't really get
much out of the information I found in terms of figuring out how to
resolve the problem.

I'm using the latest packages from the CentOS 5 repositories. I also
tried slightly older versions of bluez-utils and blues-libs as report at
Red Hat Bugzilla suggested this might help, but it didn't really.

- Toralf

------------------------------------------------------------------------
> HCI Event: Connect Request (0x04) plen 10
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Connect Complete (0x03) plen 11
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
> HCI Event: Read Remote Supported Features (0x0b) plen 11
> HCI Event: Command Complete (0x0e) plen 6
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
> HCI Event: Connection Packet Type Changed (0x1d) plen 5
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
> HCI Event: Command Status (0x0f) plen 4
> ACL data: handle 11 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 1 scid 0x0040
< ACL data: handle 11 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
Connection successful
> HCI Event: Max Slots Change (0x1b) plen 3
> ACL data: handle 11 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0
< ACL data: handle 11 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
Success
< ACL data: handle 11 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0
> ACL data: handle 11 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
Success
> ACL data: handle 11 flags 0x02 dlen 24
L2CAP(d): cid 0x0040 len 20 [psm 1]
SDP SSA Req: tid 0x1 len 0xf
pat uuid-16 0x1105 (OBEXObjPush)
max 672
aid(s) 0x0004 (ProtocolDescList)
cont 00
< ACL data: handle 11 flags 0x02 dlen 11
L2CAP(d): cid 0x0040 len 7 [psm 1]
SDP Error Rsp: tid 0x1 len 0x2
code 0x3 info none
> HCI Event: Remote Name Req Complete (0x07) plen 255
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 11 flags 0x02 dlen 24
L2CAP(d): cid 0x0040 len 20 [psm 1]
SDP SSA Req: tid 0x1 len 0xf
pat uuid-16 0x1105 (OBEXObjPush)
max 672
aid(s) 0x0004 (ProtocolDescList)
cont 00
< ACL data: handle 11 flags 0x02 dlen 11
L2CAP(d): cid 0x0040 len 7 [psm 1]
SDP Error Rsp: tid 0x1 len 0x2
code 0x3 info none
> ACL data: handle 11 flags 0x02 dlen 24
L2CAP(d): cid 0x0040 len 20 [psm 1]
SDP SSA Req: tid 0x1 len 0xf
pat uuid-16 0x1105 (OBEXObjPush)
max 672
aid(s) 0x0004 (ProtocolDescList)
cont 00
< ACL data: handle 11 flags 0x02 dlen 11
L2CAP(d): cid 0x0040 len 7 [psm 1]
SDP Error Rsp: tid 0x1 len 0x2
code 0x3 info none
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 11 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
< ACL data: handle 11 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Disconn Complete (0x05) plen 4


This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only. If you are not the intended recipient or transmission error has misdirected this e-mail, please notify the author by return e-mail and delete this message and any attachment immediately. If you are not the intended recipient you must not use, disclose, distribute, forward, copy, print or rely on this e-mail in any way except as permitted by the author.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 09:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.