File transfer to mobile phone using Bluetooth

Vladimir Murzin murzin.v at gmail.com
Mon Jun 27 13:41:36 EDT 2011


2011/6/27 पारस <beparas at gmail.com>:
> Hi,
> I am working on Ubuntu-10.4 and I want to transfer 'hello.txt' file form my
> computer to mobile phone (Nokia 7210).
> I run following command
>
> $ hcitool scan
> 00:25:48:11:5D:2C Nokia
>
> $ sdptool browse 00:25:48:11:5D:2C
> Browsing 00:25:48:11:5D:2C ...
> Service Name: OBEX Object Push
> Service RecHandle: 0x10001
> Service Class ID List:
> "OBEX Object Push" (0x1105)
> Protocol Descriptor List:
> "L2CAP" (0x0100)
> "RFCOMM" (0x0003)
> Channel: 9
> "OBEX" (0x0008)
> Language Base Attr List:
> code_ISO639: 0x656e
> encoding: 0x6a
> base_offset: 0x100
> Profile Descriptor List:
> "OBEX Object Push" (0x1105)
> Version: 0x0100
>
> Service Name: OBEX File Transfer
> Service RecHandle: 0x10002
> Service Class ID List:
> "OBEX File Transfer" (0x1106)
> Protocol Descriptor List:
> "L2CAP" (0x0100)
> "RFCOMM" (0x0003)
> Channel: 10
> "OBEX" (0x0008)
> Language Base Attr List:
> code_ISO639: 0x656e
> encoding: 0x6a
> base_offset: 0x100
> Profile Descriptor List:
> "OBEX File Transfer" (0x1106)
> Version: 0x0100
>
> Service Name: Dial-up networking
> Service RecHandle: 0x10003
> Service Class ID List:
> "Dialup Networking" (0x1103)
> "Generic Networking" (0x1201)
> Protocol Descriptor List:
> "L2CAP" (0x0100)
> "RFCOMM" (0x0003)
> Channel: 1
> Language Base Attr List:
> code_ISO639: 0x656e
> encoding: 0x6a
> base_offset: 0x100
> Profile Descriptor List:
> "Dialup Networking" (0x1103)
> Version: 0x0100
>
>
>
> $ obexftp -b 00:25:48:11:5D:2C --channel 9 -p /home/user/Test/bt/hello.txt
> Connecting..\failed: send UUID
> Tried to connect for 875ms
> error on connect(): Success
> Still trying to connect
> Connecting..|failed: send UUID
> Tried to connect for 4ms
> error on connect(): Success
> Still trying to connect
> Connecting../failed: send UUID
> Tried to connect for 6ms
> error on connect(): Success
> Still trying to connect
>
> When I run this command, My mobile ask for accept the connection from ubuntu
> (device name connected to ubuntu). I accept the connection, Then I got the
> error log given above.
> Please any one help me, where I get wrong.
>
> Thanks in advance,
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>

I think it would be better to submit you problem into ObexFtp project.
http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp



More information about the Kernelnewbies mailing list