Skip to content


Having fun with Bluetooh in Ubuntu Part 1

Today, my post is about having fun with Bluetooh device in Ubuntu.

First and foremost, lets install obexftp and obexpushd package from OpenOBEX project.

sudo apt-get install obexftp obexpushd

Then, insert your bluetooth device. You should see the bluetooth logo appears in left upper side of your desktop.

Screenshot

Else, you can enable it by System > Preferences > Blueooth > General tab > Check the setting of Notification Area.

Send file to mobile device :

Activating mobile bluetooth connection and scan the device via below comman.

obexftp -b

Scanning result like this,

~$ obexftp -b
Scanning …
Using    00:17:E2:8B:07:7E    Mr.D
Browsing 00:17:E2:8B:07:7E …
Channel: 9

Try to send a file via below command,

obexftp -b 00:17:E2:8B:07:7E -p song.mp3

Receive file from mobile device :

Turn on bluetooth device to discoverable mode.

hciconfig hci0 piscan

Enable obexpushd to listen  incoming bluetooth connection.

obexpushd -B

Try to send a file from your mobile device or scan for your bluetooth device.

obexftp -b
VN:F [1.6.5_908]
Rating: 0.0/10 (0 votes cast)
VN:F [1.6.5_908]
Rating: +1 (from 1 vote)

Posted in Ubuntu.

Tagged with , , , .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word