File transfer to mobile phone using Bluetooth
पारस
beparas at gmail.com
Mon Jun 27 09:52:53 EDT 2011
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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110627/0ef488cb/attachment.html
More information about the Kernelnewbies
mailing list