Package | com.distriqt.extension.bluetoothle.objects |
Class | public class Characteristic |
Inheritance | Characteristic ![]() |
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
Characteristic(uuid:String, properties:Array = null, permissions:Array = null)
Constructor
| Characteristic | ||
fromObject(data:Object):Characteristic [static] | Characteristic |
Constant | Defined 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 |
permissions | property |
public var permissions:Array
The permissions of the characteristic value
Characteristic permissions represent the read, write, and encryption permissions for a characteristic’s value
properties | property |
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
uuid | property |
public var uuid:String
The Bluetooth-specific UUID of the characteristic
value | property |
public var value:ByteArray
The value of the characteristic
Characteristic | () | Constructor |
public function Characteristic(uuid:String, properties:Array = null, permissions:Array = null)
Constructor
Parametersuuid:String | |
properties:Array (default = null )
| |
permissions:Array (default = null )
|
fromObject | () | method |
public static function fromObject(data:Object):Characteristic
Parameters
data:Object |
Characteristic |
PERMISSION_READABLE | Constant |
public static const PERMISSION_READABLE:String = readable
PERMISSION_READENCRYPTIONMITM | Constant |
public static const PERMISSION_READENCRYPTIONMITM:String = readEncryptionMITM
PERMISSION_READENCRYPTIONREQUIRED | Constant |
public static const PERMISSION_READENCRYPTIONREQUIRED:String = readEncryptionRequired
PERMISSION_WRITEABLE | Constant |
public static const PERMISSION_WRITEABLE:String = writeable
PERMISSION_WRITEENCRYPTIONMITM | Constant |
public static const PERMISSION_WRITEENCRYPTIONMITM:String = writeEncryptionMITM
PERMISSION_WRITEENCRYPTIONREQUIRED | Constant |
public static const PERMISSION_WRITEENCRYPTIONREQUIRED:String = writeEncryptionRequired
PERMISSION_WRITESIGNED | Constant |
public static const PERMISSION_WRITESIGNED:String = writeSigned
PERMISSION_WRITESIGNEDMITM | Constant |
public static const PERMISSION_WRITESIGNEDMITM:String = writeSignedMITM
PROPERTY_AUTHENTICATEDSIGNEDWRITERS | Constant |
public static const PROPERTY_AUTHENTICATEDSIGNEDWRITERS:String = authenticatedSignedWrites
PROPERTY_BROADCAST | Constant |
public static const PROPERTY_BROADCAST:String = broadcast
PROPERTY_EXTENDED | Constant |
public static const PROPERTY_EXTENDED:String = extended
PROPERTY_INDICATE | Constant |
public static const PROPERTY_INDICATE:String = indicate
PROPERTY_INDICATEENCRYPTIONREQUIRED | Constant |
public static const PROPERTY_INDICATEENCRYPTIONREQUIRED:String = indicateEncryptionRequired
PROPERTY_NOTIFY | Constant |
public static const PROPERTY_NOTIFY:String = notify
PROPERTY_NOTIFYENCRYPTIONREQUIRED | Constant |
public static const PROPERTY_NOTIFYENCRYPTIONREQUIRED:String = notifyEncryptionRequired
PROPERTY_READ | Constant |
public static const PROPERTY_READ:String = read
PROPERTY_WRITE | Constant |
public static const PROPERTY_WRITE:String = write
PROPERTY_WRITEWITHOUTRESPONSE | Constant |
public static const PROPERTY_WRITEWITHOUTRESPONSE:String = writeWithoutResponse