getCommand method
- int commandId
override
Implementation
@override
BleCommandEnvelope getCommand(int commandId) {
final args = <dynamic>[
dataSource.value,
cloudId,
value,
];
if (dataSourceUid != null && dataSourceUid!.isNotEmpty) {
args.add(dataSourceUid);
}
return BleCommandEnvelope(
commandType: BleCommand.paramSetSingle.value,
commandId: commandId,
args: args,
);
}