| uint32_t PN_API_IOD_changeDeviceName | ( | PN_API_IOD_Handle_t *const | pnHandle, |
| int8_t * | stationName, | ||
| uint16_t | stationNameLen | ||
| ) |
Momentarily modifies the device name within the Profinet stack.
Changes device name and sends the new value to Profinet stack to be used. However, the modified name is not retained within the NV memory, so it is lost after device restarts.
| [in] | pnHandle | Profinet API Handle. |
| [in] | stationName | Pointer to the string containing the new station name. |
| [in] | stationNameLen | Length of the string in bytes. |
| PN_API_OK | Success. |
| PN_API_NOT_OK | Something went wrong or an AR is running. |
| PN_API_ERR_PARAM | Invalid parameter. |