Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 385
Rep:
Try using the gui to get bluetooth working. Also, KDE has some good bluetooth apps in its desktop. See if Kubuntu is practical for you or if you can add KDE as a desktop. It is not unusual for one desktop to do what another can't.
Thank you very much for your great support.
Actually I want to study the system called and BlueZ api's used in file transfer via Bluetooth.
That's why I am using CLI mode, it's easy to debug the source of command.
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 385
Rep:
bluetooth
Quote:
Originally Posted by beparas
Thank you very much for your great support.
Actually I want to study the system called and BlueZ api's used in file transfer via Bluetooth.
That's why I am using CLI mode, it's easy to debug the source of command.
Still, try using kbluetooth to get your device working. You may not even need to install KDE to use it, likely just a few extra dependencies. Use your package updater for this one. If it 'just works", there is no need to do any advanced debugging. Many of the desktops have bluetooth utilities. The best way to solve the problem is to go ahead, install a few of them and see if they work. kbluetooth is one of the better ones.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.