title: Connecting to Bluetooth LE devices from raspberry pi using Bluez libraries in C language
body: <p>I am using my raspberry pi to perform LEScan at fixed intervals and connect to new found BLE devices.
  Performing a general scan is easy and can be easily done by using the bluez libraries.
  <a href="http://people.csail.mit.edu/albert/bluez-intro/x45.html" rel="nofollow">http://people.csail.mit.edu/albert/bluez-intro/x45.html</a></p>
  
  <p>But i can't figure out how to perform LE scan using Bluetooth programming in C language.</p>
  
  <p>I have to find new BLE devices, connect to them and receive json data from the connected devices.</p>