Skip to content

Commit 572bb68

Browse files
committed
Added more functions
1 parent 937d221 commit 572bb68

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

BmwDeepObd/BmwRpcCoding.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,21 @@ public async Task<bool> VehicleFunctions(PsdzOperationType operationType)
708708
}
709709
}
710710

711+
public async Task<bool> CancelOperation()
712+
{
713+
try
714+
{
715+
await _psdzRpcClient.RpcService.CancelOperation().ConfigureAwait(false);
716+
return true;
717+
}
718+
catch (Exception ex)
719+
{
720+
_ediabasProxyClient?.EdiabasLogFormat(EdiabasNet.EdLogLevel.Ifh, "CancelOperation: Exception={0}",
721+
EdiabasNet.GetExceptionText(ex, false, false));
722+
return false;
723+
}
724+
}
725+
711726
public async Task DisposeRpcClient()
712727
{
713728
try

0 commit comments

Comments
 (0)