Packagecom.distriqt.extension.bluetoothle.objects
Classpublic class Characteristic
InheritanceCharacteristic Inheritance Object



Public Properties
 PropertyDefined By
  permissions : Array
The permissions of the characteristic value Characteristic permissions represent the read, write, and encryption permissions for a characteristic’s value
Characteristic
  properties : Array
The properties of the characteristic The properties of a characteristic determine how the characteristic’s value and descriptors can be used and accessed
Characteristic
  uuid : String
The Bluetooth-specific UUID of the characteristic
Characteristic
  value : ByteArray
The value of the characteristic
Characteristic
Public Methods
 MethodDefined By
  
Characteristic(uuid:String, properties:Array = null, permissions:Array = null)
Constructor
Characteristic
  
[static]
Characteristic
Public Constants
 ConstantDefined By
  PERMISSION_READABLE : String = readable
[static]
Characteristic
  PERMISSION_READENCRYPTIONMITM : String = readEncryptionMITM
[static]
Characteristic
  PERMISSION_READENCRYPTIONREQUIRED : String = readEncryptionRequired
[static]
Characteristic
  PERMISSION_WRITEABLE : String = writeable
[static]
Characteristic
  PERMISSION_WRITEENCRYPTIONMITM : String = writeEncryptionMITM
[static]
Characteristic
  PERMISSION_WRITEENCRYPTIONREQUIRED : String = writeEncryptionRequired
[static]
Characteristic
  PERMISSION_WRITESIGNED : String = writeSigned
[static]
Characteristic
  PERMISSION_WRITESIGNEDMITM : String = writeSignedMITM
[static]
Characteristic
  PROPERTY_AUTHENTICATEDSIGNEDWRITERS : String = authenticatedSignedWrites
[static]
Characteristic
  PROPERTY_BROADCAST : String = broadcast
[static]
Characteristic
  PROPERTY_EXTENDED : String = extended
[static]
Characteristic
  PROPERTY_INDICATE : String = indicate
[static]
Characteristic
  PROPERTY_INDICATEENCRYPTIONREQUIRED : String = indicateEncryptionRequired
[static]
Characteristic
  PROPERTY_NOTIFY : String = notify
[static]
Characteristic
  PROPERTY_NOTIFYENCRYPTIONREQUIRED : String = notifyEncryptionRequired
[static]
Characteristic
  PROPERTY_READ : String = read
[static]
Characteristic
  PROPERTY_WRITE : String = write
[static]
Characteristic
  PROPERTY_WRITEWITHOUTRESPONSE : String = writeWithoutResponse
[static]
Characteristic
Property Detail
permissionsproperty
public var permissions:Array

The permissions of the characteristic value

Characteristic permissions represent the read, write, and encryption permissions for a characteristic’s value

propertiesproperty 
public var properties:Array

The properties of the characteristic

The properties of a characteristic determine how the characteristic’s value and descriptors can be used and accessed

uuidproperty 
public var uuid:String

The Bluetooth-specific UUID of the characteristic

valueproperty 
public var value:ByteArray

The value of the characteristic

Constructor Detail
Characteristic()Constructor
public function Characteristic(uuid:String, properties:Array = null, permissions:Array = null)

Constructor

Parameters
uuid:String
 
properties:Array (default = null)
 
permissions:Array (default = null)
Method Detail
fromObject()method
public static function fromObject(data:Object):Characteristic

Parameters

data:Object

Returns
Characteristic
Constant Detail
PERMISSION_READABLEConstant
public static const PERMISSION_READABLE:String = readable

PERMISSION_READENCRYPTIONMITMConstant 
public static const PERMISSION_READENCRYPTIONMITM:String = readEncryptionMITM

PERMISSION_READENCRYPTIONREQUIREDConstant 
public static const PERMISSION_READENCRYPTIONREQUIRED:String = readEncryptionRequired

PERMISSION_WRITEABLEConstant 
public static const PERMISSION_WRITEABLE:String = writeable

PERMISSION_WRITEENCRYPTIONMITMConstant 
public static const PERMISSION_WRITEENCRYPTIONMITM:String = writeEncryptionMITM

PERMISSION_WRITEENCRYPTIONREQUIREDConstant 
public static const PERMISSION_WRITEENCRYPTIONREQUIRED:String = writeEncryptionRequired

PERMISSION_WRITESIGNEDConstant 
public static const PERMISSION_WRITESIGNED:String = writeSigned

PERMISSION_WRITESIGNEDMITMConstant 
public static const PERMISSION_WRITESIGNEDMITM:String = writeSignedMITM

PROPERTY_AUTHENTICATEDSIGNEDWRITERSConstant 
public static const PROPERTY_AUTHENTICATEDSIGNEDWRITERS:String = authenticatedSignedWrites

PROPERTY_BROADCASTConstant 
public static const PROPERTY_BROADCAST:String = broadcast

PROPERTY_EXTENDEDConstant 
public static const PROPERTY_EXTENDED:String = extended

PROPERTY_INDICATEConstant 
public static const PROPERTY_INDICATE:String = indicate

PROPERTY_INDICATEENCRYPTIONREQUIREDConstant 
public static const PROPERTY_INDICATEENCRYPTIONREQUIRED:String = indicateEncryptionRequired

PROPERTY_NOTIFYConstant 
public static const PROPERTY_NOTIFY:String = notify

PROPERTY_NOTIFYENCRYPTIONREQUIREDConstant 
public static const PROPERTY_NOTIFYENCRYPTIONREQUIRED:String = notifyEncryptionRequired

PROPERTY_READConstant 
public static const PROPERTY_READ:String = read

PROPERTY_WRITEConstant 
public static const PROPERTY_WRITE:String = write

PROPERTY_WRITEWITHOUTRESPONSEConstant 
public static const PROPERTY_WRITEWITHOUTRESPONSE:String = writeWithoutResponse