| uint32_t PN_API_IOD_setDeviceOrderId | ( | const PN_API_IOD_Handle_t *const | pnHandle, |
| const char *const | orderId | ||
| ) |
Momentarily sets device order ID within the Profinet stack.
Sets device order ID 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] | orderId | Device order ID. |
| PN_API_OK | Success. |
| PN_API_NOT_OK | Something went wrong or an AR is running. |
| PN_API_ERR_PARAM | Invalid parameter. |