use of org.eclipse.smarthome.binding.bluetooth.bluez.handler.BlueZBridgeHandler in project smarthome by eclipse.
the class BlueZHandlerFactory method createHandler.
@Override
protected ThingHandler createHandler(Thing thing) {
ThingTypeUID thingTypeUID = thing.getThingTypeUID();
if (thingTypeUID.equals(BlueZAdapterConstants.THING_TYPE_BLUEZ)) {
BlueZBridgeHandler handler = new BlueZBridgeHandler((Bridge) thing);
registerBluetoothAdapter(handler);
return handler;
} else {
return null;
}
}
Aggregations