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