java.lang.Object
com.gluonhq.attach.ble.BleCharacteristic
public class BleCharacteristic
extends java.lang.Object
Characteristics are defined attribute types that contain a single logical value.
A BleCharacteristic is defined by an UUID, a list of properties, a value, and
a list of descriptors
- See Also:
BleDescriptor
-
Property Summary
Properties Type Property Description javafx.beans.property.ObjectProperty<byte[]>value -
Constructor Summary
Constructors Constructor Description BleCharacteristic(java.util.UUID uuid) -
Method Summary
Modifier and Type Method Description javafx.collections.ObservableList<BleDescriptor>getDescriptors()java.lang.StringgetProperties()java.util.UUIDgetUuid()byte[]getValue()Gets the value of the property value.voidsetProperties(java.lang.String properties)voidsetValue(byte[] value)Sets the value of the property value.java.lang.StringtoString()javafx.beans.property.ObjectProperty<byte[]>valueProperty()
-
Property Details
-
value
public final javafx.beans.property.ObjectProperty<byte[]> valueProperty- See Also:
getValue(),setValue(byte[])
-
-
Constructor Details
-
BleCharacteristic
public BleCharacteristic(java.util.UUID uuid)
-
-
Method Details
-
getUuid
public java.util.UUID getUuid() -
getProperties
public java.lang.String getProperties() -
setProperties
public void setProperties(java.lang.String properties) -
getValue
public final byte[] getValue()Gets the value of the property value.- Property description:
-
setValue
public final void setValue(byte[] value)Sets the value of the property value.- Property description:
-
valueProperty
public final javafx.beans.property.ObjectProperty<byte[]> valueProperty()- See Also:
getValue(),setValue(byte[])
-
getDescriptors
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-