openhab/openhab2 — pull request #79 by pamapa (2014-12-12 10:25:26+00:00)
Title: added initial BluetoothLE binding

This is a first try to support Bluetooth low energy devices.

Unfortunately there exists no java library for Linux to support Bluetooth low energy. Therefore i have decided to write a small bridge c program. The bridge does a low energy scan and translates the bluetooth low energy advertisments frames to UDP packets.

Currently only the "FreeTec Bluetooth 4.0-Thermometer" is supported, it will be very easy to support more
"ADV_NONCONN_IND - Non connectable undirected advertising (3)" devices. The c bridge code might be extended later to also support other devices classes (e.g ADV_DIRECT_IND).

I am a bit uncertain about the timings in the bridge c program. In order to safe energy on the device i try to scan not too often. This will need more considerings.