getCommand method
- int commandId
override
Implementation
@override
BleCommandEnvelope getCommand(int commandId) {
final args = <dynamic>[
CborBytes(chunkBytes),
fletcher32Checksum,
sequenceId,
];
if (txType != null) {
args.add(txType!.value);
}
return BleCommandEnvelope(
commandType: BleCommand.bulkWrite.value,
commandId: commandId,
args: args,
);
}