Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: V3.3.1.0
-
Fix Version/s: V3.3.6.0
-
Component/s: None
-
Labels:None
-
Account:SPC Object Dictionary (SPCOBJECTD)
Description
ODV3_GET_SUBOBJECT_INFO_REQ bRequestedValueInfo and bValueInfo are handled incorrect
the API should use the following defines:
#define ODV3_GET_SUBOBJECT_INFO_REQ_VALUE_INFO_NAME 0x01
#define ODV3_GET_SUBOBJECT_INFO_REQ_VALUE_INFO_ECAT_UNIT 0x10
#define ODV3_GET_SUBOBJECT_INFO_REQ_VALUE_INFO_DEFAULT_VALUE 0x20
#define ODV3_GET_SUBOBJECT_INFO_REQ_VALUE_INFO_MINIMUM_VALUE 0x40 /* always uses max length */
#define ODV3_GET_SUBOBJECT_INFO_REQ_VALUE_INFO_MAXIMUM_VALUE 0x80 /* always uses max length */
#define ODV3_GET_SUBOBJECT_INFO_CNF_VALUE_INFO_NAME 0x01
#define ODV3_GET_SUBOBJECT_INFO_CNF_VALUE_INFO_ECAT_UNIT 0x10
#define ODV3_GET_SUBOBJECT_INFO_CNF_VALUE_INFO_DEFAULT_VALUE 0x20
#define ODV3_GET_SUBOBJECT_INFO_CNF_VALUE_INFO_MINIMUM_VALUE 0x40 /* always uses max length */
#define ODV3_GET_SUBOBJECT_INFO_CNF_VALUE_INFO_MAXIMUM_VALUE 0x80 /* always uses max length */