Details
Description
In order to set some identification parameters (e.g. Softwareversion, VendorID, ...) there are two different parametertypes of service SetOemParameters defined (type 14 and 15).
However, these types will in addition set parameters that are no longer supported to be set protocol specific (hardwarerevision, OrderID).
Thus a new parametertype shall be added and implemented that contains the remainig parmeters.
#define PNS_IF_SET_OEM_PARAMETERS_TYPE_18 0x12 typedef __HIL_PACKED_PRE struct PNS_IF_SET_OEM_PARAMETERS_TYPE_18_Ttag { /* VendorID to be used (instead of the one contained in configuration database file) */ uint16_t usVendorId; /* DeviceID to be used (instead of the one contained in configuration database file) */ uint16_t usDeviceId; /* SoftwareVersion for usage in I&M0, RPC EndPointMapper and SNMP sysDescr */ PNS_IF_IM_SWVERSION_T tSoftwareRevision; /* DeviceType to be used (instead of the one contained in configuration database file) - (ignore the last 3 padding bytes */ uint8_t abDeviceType[PNS_IF_MAX_DEVICE_TYPE_LEN +3]; } __HIL_PACKED_POST PNS_IF_SET_OEM_PARAMETERS_TYPE_18_T;
Attachments
Issue Links
- blocks
-
PSPNSV5-118 Update Profinet Device Interface to V1.2.0.1
- Closed
- relates to
-
PSPNDIF-91 Implement new behavior for OEM DeviceDataProvider parameter handling
- Closed