From b58394c2f26a4f9ecb1383c24e8474019360e423 Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Mon, 13 Jul 2020 12:37:18 +0200 Subject: [PATCH] - IEC 61850 client: fixed bug - IedConnection_setRCBValuesAsync always return 0 instead of invoke-ID --- src/iec61850/client/client_report_control.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/iec61850/client/client_report_control.c b/src/iec61850/client/client_report_control.c index 5373c417..d1ba6ede 100644 --- a/src/iec61850/client/client_report_control.c +++ b/src/iec61850/client/client_report_control.c @@ -999,6 +999,9 @@ IedConnection_setRCBValuesAsync(IedConnection self, IedClientError* error, Clien if (err != MMS_ERROR_NONE) { iedConnection_releaseOutstandingCall(self, call); } + else { + invokeId = call->invokeId; + } goto exit_function; }