openhab-addons/bundles/org.openhab.binding.bluetooth.bluegiga
Pete 7abeb97396
[bluetooth.generic] Enable BLE notification for linked channels (#10122)
* [bluetooth] Add BluetoothDevice.isNotifying()
* [bluetooth] Improve Characteristic properties support
* [bluez] Improve Characteristic properties support
* [bluetooth] Add BluetoothDevice.canNotify()
* [bluez] Also catch DBusExecutionException on read value
* [bluetooth.generic] Activate notifications for linked channels where characteristics are able to notify
* [bluez] Adjust javadoc
* [bluegiga] Add BluetoothDevice.isNotifying() support
* [bluegiga] Fix notification enabled check
* [bluetooth] move canNotify() to Characteristic
* [bluegiga] rename notificationEnabled to notifying
* [bluetooth.generic] use handlerToChannels to subscribe to notifications
* [bluetooth.generic] implement TODOs of canRead()/canWrite()
* [bluetooth.generic] optimize ChannelUID
* [bluetooth.generic] use channelUids for link check

Signed-off-by: Peter Rosenberg <prosenb.dev@gmail.com>
2021-02-16 12:26:34 -08:00
..
src [bluetooth.generic] Enable BLE notification for linked channels (#10122) 2021-02-16 12:26:34 -08:00
NOTICE Fix links and NOTICE files (#9860) 2021-01-18 21:49:06 +01:00
pom.xml Apply Spotless, update skeleton project version, resolve itest runbundles (#9459) 2020-12-22 10:37:44 +01:00
README.md added migrated 2.x add-ons 2020-09-21 03:37:19 +02:00

Bluetooth BlueGiga Adapter

This extension supports Bluetooth access via a BlueGiga (BLED112) USB dongle.

Supported Things

It defines the following bridge type:

Bridge Type ID Description
bluegiga A BlueGiga USB dongle using a BLED112 chip

Discovery

The adapter cannot be discovered; its serial port must be manually configured.

Bridge Configuration

The bluegiga bridge requires the configuration parameter port, which corresponds to the serial port the dongle is connected to. Additionally, the parameter backgroundDiscovery can be set to true/false. When set to true, any Bluetooth device of which broadcasts are received is added to the Inbox.

Example

This is how an BlueGiga adapter can be configured textually in a *.things file:

Bridge bluetooth:bluegiga:1 [ port="/dev/ttyS0", backgroundDiscovery=false ]