GetDeviceStateCommand class

Inheritance

Constructors

GetDeviceStateCommand()

Properties

commandId int
The unique command identifier byte.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
requiresAuth bool
Whether this command requires prior authentication.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout Duration
Command timeout duration. Override to customize.
no setterinherited

Methods

buildRequest() Uint8List
Build the request bytes to send to the device.
override
execute(BluetoothCharacteristic writeCharacteristic, BluetoothCharacteristic replyCharacteristic) Future<VtjCommandResult<GetDeviceStateResult>>
Execute the command on the device.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseResponse(Uint8List response) VtjCommandResult<GetDeviceStateResult>
Parse the response bytes from the device.
override
toString() String
A string representation of this object.
inherited
validate() VtjCommandResult<GetDeviceStateResult>?
Optional pre-execution validation hook. Return a failure result to abort execution, or null to proceed.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited