From 31e183d357538b64c3be57654ea5538a9a26985b Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Fri, 20 Sep 2019 18:14:29 +0200 Subject: [PATCH] - IEC 61850 client: added additional error code to provide diagnostic information when data set cannot be created because of a non existing data set element --- src/iec61850/client/ied_connection.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/iec61850/client/ied_connection.c b/src/iec61850/client/ied_connection.c index 5f9d2124..fc2adea8 100644 --- a/src/iec61850/client/ied_connection.c +++ b/src/iec61850/client/ied_connection.c @@ -102,6 +102,9 @@ iedConnection_mapMmsErrorToIedError(MmsError mmsError) case MMS_ERROR_OUTSTANDING_CALL_LIMIT: return IED_ERROR_OUTSTANDING_CALL_LIMIT_REACHED; + case MMS_ERROR_DEFINITION_OBJECT_UNDEFINED: + return IED_ERROR_OBJECT_UNDEFINED; + default: return IED_ERROR_UNKNOWN; }