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