LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.

Notices


Reply
  Search this Thread
Old 06-10-2014, 12:42 AM   #1
sumitsharma79
LQ Newbie
 
Registered: Jun 2014
Posts: 3

Rep: Reputation: Disabled
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.
 
Old 06-10-2014, 03:42 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,460

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
Quote:
Originally Posted by sumitsharma79 View Post
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.
If you're trying to do this with iPhones then forget it, they don't support file transfer.
 
Old 06-10-2014, 03:51 AM   #3
sumitsharma79
LQ Newbie
 
Registered: Jun 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Cool 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.
 
Old 06-11-2014, 11:11 PM   #4
sumitsharma79
LQ Newbie
 
Registered: Jun 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
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:700:E5E, 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.
 
Old 10-28-2015, 01:03 AM   #5
sudhadrm
LQ Newbie
 
Registered: Apr 2011
Posts: 3

Rep: Reputation: Disabled
May i know how "return code 1" problem is solved?

could you please share steps to do trasnfer & receive files from a board?
 
Old 11-03-2015, 01:22 AM   #6
parul1212
LQ Newbie
 
Registered: Nov 2015
Location: india
Posts: 5

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bluetooth file transfer problem joboy Ubuntu 0 11-06-2013 06:44 AM
How to transfer file from phone using bluetooth to Slackware. reikyv Slackware 1 09-11-2009 11:01 AM
Bluetooth File transfer Failed raghshenoy Linux - Mobile 3 07-28-2009 05:22 AM
Bluetooth file transfer without authentication Stratofortress Linux - Software 0 05-06-2009 01:38 PM
Bluetooth File Transfer Problem gbowden Slackware 0 12-27-2006 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration