Ver Fonte

Merge branch 'master' of github.com:EIPStackGroup/OpENer

Martin Melik Merkumians há 6 anos atrás
pai
commit
fa13addae5

+ 9 - 1
source/src/ports/MINGW/sample_application/opener_user_conf.h

@@ -96,7 +96,15 @@ typedef unsigned short in_port_t;
   #define OPENER_ETHLINK_CNTRS_ENABLE 0
 #endif
 
-
+/** @brief Set this define if you need Interface Control for Ethernet Link object
+ *
+ * This define enables the Interface Control attribute (#6) as a settable
+ *  attribute which is required for a DLR device. This also enables the storage
+ *  of the attribute in NV data storage area.
+ */
+#ifndef OPENER_ETHLINK_IFACE_CTRL_ENABLE
+  #define OPENER_ETHLINK_IFACE_CTRL_ENABLE 0
+#endif
 
 /** @brief Define the number of objects that may be used in connections
  *

+ 9 - 0
source/src/ports/WIN32/sample_application/opener_user_conf.h

@@ -99,6 +99,15 @@ typedef unsigned short in_port_t;
   #define OPENER_ETHLINK_CNTRS_ENABLE 0
 #endif
 
+/** @brief Set this define if you need Interface Control for Ethernet Link object
+ *
+ * This define enables the Interface Control attribute (#6) as a settable
+ *  attribute which is required for a DLR device. This also enables the storage
+ *  of the attribute in NV data storage area.
+ */
+#ifndef OPENER_ETHLINK_IFACE_CTRL_ENABLE
+  #define OPENER_ETHLINK_IFACE_CTRL_ENABLE 0
+#endif
 
 /** @brief Define the number of objects that may be used in connections
  *