diff --git a/src/iec61850/inc/iec61850_client.h b/src/iec61850/inc/iec61850_client.h index 0cecd640..c033dea0 100644 --- a/src/iec61850/inc/iec61850_client.h +++ b/src/iec61850/inc/iec61850_client.h @@ -1823,6 +1823,8 @@ IedConnection_getDataDirectoryByFC(IedConnection self, IedClientError* error, co * This function can be used to get the MMS variable type specification for an IEC 61850 data attribute. It is an extension * of the ACSI that may be required by generic client applications. * + * NOTE: API user is responsible to free the resources (see \ref MmsVariableSpecification_destroy) + * * \param self the connection object * \param error the error code if an error occurs * \param dataAttributeReference string that represents the DA reference diff --git a/src/iec61850/inc/iec61850_server.h b/src/iec61850/inc/iec61850_server.h index 5a5c66d1..8fdd91ee 100644 --- a/src/iec61850/inc/iec61850_server.h +++ b/src/iec61850/inc/iec61850_server.h @@ -856,6 +856,8 @@ typedef enum { * a control operation has been invoked by the client. This callback function is * intended to perform the static tests. It should check if the interlock conditions * are met if the interlockCheck parameter is true. + * This handler can also be check if the client has the required permissions to execute the + * operation and allow or deny the operation accordingly. * * \param parameter the parameter that was specified when setting the control handler * \param ctlVal the control value of the control operation. diff --git a/src/mms/inc/mms_common.h b/src/mms/inc/mms_common.h index 59d172b4..ed5a8836 100644 --- a/src/mms/inc/mms_common.h +++ b/src/mms/inc/mms_common.h @@ -102,7 +102,7 @@ typedef enum } MmsError; -typedef enum ATTRIBUTE_PACKED +typedef enum { /*! this represents all MMS array types (arrays contain uniform elements) */ MMS_ARRAY = 0, diff --git a/src/mms/inc/mms_types.h b/src/mms/inc/mms_types.h index 61fdab48..b2689620 100644 --- a/src/mms/inc/mms_types.h +++ b/src/mms/inc/mms_types.h @@ -26,7 +26,7 @@ #include "libiec61850_common_api.h" -typedef enum ATTRIBUTE_PACKED { +typedef enum { MMS_VALUE_NO_RESPONSE, MMS_VALUE_OK, MMS_VALUE_ACCESS_DENIED,