Long time back i had decided to blog regularly ( daily !!! ) . The time frame increased to weekly, then monthly. So now after almost two years ( yeah, it has been that long that i am working, unbelievable isn't it ?? ) i have decided to come back to this battle field to fight the unwon war . Listening to music, i have now decided to write about bluetooth. Why this ?, arre bhai .. its my blog ..i can write about anything :-D
I actually have bought Nokia N73 lately, and my tryst at getting my photos transfered from PC to / from mobile brought me more closer to this technology. So herez how u do it on linux.
1. Bluez-utils / libs is the user space package that is needed to get bluetooth apps running. Get that installed
2.Check whether bluetooth is "on" . fire the command "hciconfig -a" to check output. No output from this command means, no bluetooth hardware available.
3. Next time to scan devices. "hcitool scan" does it .Bluez now has a rich set of dbus API's and i decided to use them.
Bluetooth protocol follows simple steps ..viz search, select , pair , connect , do your work, disconnect !!
As simple as it would get ;)
You can use GUI apps that does all those things with a click or use the dbus APIs (for the "ohh i need terminal people) and get things done simply.
Gnome has the gnome-bluetooth package whereas the ever reliable KDE has the kbluetoothd (my favorite :) )
You can refer this FAQ. Also the wiki is worth reading.
Adios ;)