LinuxQuestions.org
Help answer threads with 0 replies.
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, LiMo, Maemo, MeeGo, Openmoko, Ubuntu Mobile, WebOS, Firefox OS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

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
Posts: 1,470

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


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


All times are GMT -5. The time now is 05:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration