| typedef void(* PN_API_IOD_reportNewIpAddrCbf) (PN_API_IOD_Handle_t *const pnHandle, const uint32_t ipAddr, const uint32_t subnetMask, const uint32_t defaultGw) |
Callback function prototype to inform the user about new IP address.
When the stack changes the IP address of the IO device, it calls this callback function which needs to be implemented by the user application to notify the user about this update. The implementation can be as simple as a printf.
| [in] | pnHandle | Profinet API Handle. |
| [in] | ipAddr | IP address. |
| [in] | subnetMask | Subnet mask. |
| [in] | defaultGw | Default gateway. |