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:

  1. some 1 can tell me i'm missing bluez's install , possibly how started (compiling etc)
  2. alternative bluez? laptop bluetooth file transfers before installed bluez need application?
  3. 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

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -