Thread (3 messages) 3 messages, 2 authors, 2011-06-28

File transfer to mobile phone using Bluetooth

From: पारस <hidden>
Date: 2011-06-28 11:46:39

2011/6/27 Vladimir Murzin [off-list ref]
2011/6/27 ???? [off-list ref]:
quoted
Hi,
I am working on Ubuntu-10.4 and I want to transfer 'hello.txt' file form
my
quoted
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
quoted
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
quoted
(device name connected to ubuntu). I accept the connection, Then I got
the
quoted
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
Thank you very much for this useful think.
I got some good information at

http://dev.zuckschwerdt.org/openobex/wiki/ObexFtpExamplePushC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110628/faa565fc/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help