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