Class BleCharacteristic

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.String getProperties()  
    java.util.UUID getUuid()  
    byte[] getValue()
    Gets the value of the property value.
    void setProperties​(java.lang.String properties)  
    void setValue​(byte[] value)
    Sets the value of the property value.
    java.lang.String toString()  
    javafx.beans.property.ObjectProperty<byte[]> valueProperty()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Property Details

  • Constructor Details

  • 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

      public final javafx.collections.ObservableList<BleDescriptor> getDescriptors()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object