com.github.hypfvieh.paulmann.devices.LampW Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of paulmann-bt-lib Show documentation
Show all versions of paulmann-bt-lib Show documentation
Library to control bluetooth actors manufactured by Paulmann GmbH for usage with Paulmann LED stripes.
The newest version!
package com.github.hypfvieh.paulmann.devices;
import com.github.hypfvieh.bluetooth.wrapper.BluetoothGattService;
import com.github.hypfvieh.paulmann.features.FeatureIdent;
/**
* Concrete PaulmannDevice which describes a white/warm-white LED stripe.
*
* @author David M.
*/
public class LampW extends AbstractPaulmannDevice {
public static final FeatureIdent>[] SUPPORTED_FEATURES = {
FeatureIdent.PAULMANN_BRIGHTNESS_FEATURE,
FeatureIdent.PAULMANN_ON_OFF_FEATURE,
FeatureIdent.PAULMANN_SYSTEMTIME_FEATURE,
FeatureIdent.PAULMANN_REMOTECONTROLMODE_FEATURE,
FeatureIdent.PAULMANN_ON_OFF_TIMER_WITH_OPTIONS_FEATURE,
FeatureIdent.PAULMANN_DEVICE_PASSWORD_FEATURE
};
public static final String DEVICE_ALIAS = "Lamp-W";
public LampW(BluetoothGattService _gattService) {
super(_gattService, SUPPORTED_FEATURES);
}
/**
* {@inheritDoc}
*/
@Override
public FeatureIdent>[] getAllSupportedFeatures() {
return SUPPORTED_FEATURES;
}
/**
* {@inheritDoc}
*/
@Override
public int getMappingId() {
return 211;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy