title: linux Bluetooth programming in c
body: <p>I am trying to run a basic code of c in linux[ubuntu] to search bluetooth device, but i am facing some problem.</p>
  
  <p>By using command <code>sudo apt-get install bluez</code>, to install required blueZ library it is saying that bluez is already newest version.</p>
  
  <p>But error comes that not able to find <code>bluetooth.h</code> and other files in compiling C source code, with <code>gcc -o simplescan simplescan.c -lbluetooth</code></p>
  
  <p>Is there a complete library package, or do I have to download these header files?.</p>
  
  <p>I am following this <a href="http://people.csail.mit.edu/albert/bluez-intro/c404.html" rel="noreferrer">link</a> </p>