Bluetooth file transfer in linux
Hi, I have a custom board with ARM architecture with linux running on it. I have cross-compiled the required packages including the blueZ, openobex, obexd and bluez-tools. The bluetooth is working fine upto scanning and pairing with the mobiles as well, but issue comes up when I try to transfer the files over bluetooth.
I'm using the bt-obex to transfer the files, but that complains that obexd is not running, while its already running and have a PID. Next I tried to cross-compile the obexftp, tried with that also, but no luck. Tried to connect for 675ms Sending ""...|failed: / The operation failed with return code 1 Receiving "(null)"... failed: (null) The operation failed with return code 32 Disconnecting...failed: disconnect Stuck at this point. Please help. |
Quote:
|
Bluetooth file transfer in linux
It is obvious that bluetooth don't work with Iphones, and I'm also not trying with that. I have tried with Moto G and Moto E both.
|
Ok, now the obexd problem is solved. I'm able to send the files to remote device (moto g here) from my custom board, not not the reverse way, i.e from remote device to the board. In this case I think authorisation is the problem when i tried with obexftp
obexd[2345]: bluetooth: New connection from: 9C:2A:70:D0:E5:DE, channel 10 obexd[2345]: bluetooth: RequestAuthorization error: org.bluez.Error.NotAuthorized, Operation Not Authorized Can you please tel me how to receive files using bt-obex? Also now obexftpd gies out the error when run obexftpd -c / -b & [2] 2351 failed to register bluetooth server: Address already in use Please guide me for file transfer with bt-obex and obexftp as well. |
May i know how "return code 1" problem is solved?
could you please share steps to do trasnfer & receive files from a board?
|
I want to transfer files to my laptop from my desktop using bluetooth. On my laptop Linux Mint 14 and on my desktop Ubuntu 12.04 is running.
|
All times are GMT -5. The time now is 08:46 PM. |