linux - How to get started with Bluetooth for Ubuntu -
i need getting started. want make basic program (in c) can read bluetooth socket , print whatever sent. tried bluez (followed this:http://hackgnar.com/article/installing-the-latest-bluez-software-in-ubuntu-12/ went great until "make" @ end , no luck, not make , example program not find bluetooth/bluetooth.h).
i guess hopeful options are:
- some 1 can tell me i'm missing bluez's install , possibly how started (compiling etc)
- alternative bluez? laptop bluetooth file transfers before installed bluez need application?
- any sort of comprehensive hello world (download, install, example, compile , run)
i have strong programming background, not in linux (you can gloss on c stuff please not linux/ubuntu stuff).
thanks!
i can guess have old version of kernel, or 1 of required libraries. try updating linux installation (e.g. 3.5.x kernel or thereabouts).
i had no problem completing steps took.
if looking example programs, can @ simpler tools.
on ubuntu box i'd e.g.
sudo apt-get build-dep bluez-tools apt-get source --compile bluez-tools
which gets build dependencies, sources and builds bluez-tools
package on system.
Comments
Post a Comment