| uint32_t PN_API_IOD_setDeviceHWRevision | ( | const PN_API_IOD_Handle_t *const | pnHandle, |
| const uint32_t | hwRevision | ||
| ) |
Momentarily sets device hardware revision within the Profinet stack.
Sets device hardware revision and sends the new value to Profinet stack to be used. However, the modified values are not retained within the NV memory, so they are lost after device restarts.
| [in] | pnHandle | Profinet API Handle. |
| [in] | hwRevision | Device hardware revision. |
| PN_API_OK | Success. |
| PN_API_NOT_OK | Something went wrong or an AR is running. |
| PN_API_ERR_PARAM | Invalid parameter. |