uint32_t EI_API_ADP_setHwSettings | ( | T * | pAdp_p, |
bool | hwSettingsEnabled_p, | ||
bool | dhcpEnabled_p | ||
) |
Set the current HW settings.
Let the EtherNet/IP stack know that that the hardware settings are enabled or not. And if so that DHCP is enabled by hardware settings or not.
[in] | pAdp_p | Pointer to the adapter. |
[in] | hwSettingsEnabled_p | Hardware setting disabled/enabled (0/1). |
[in] | dhcpEnabled_p | DHCP disabled/enabled (0/1). |
EI_API_ADP_eERR_OK | Success. |
EI_API_ADP_eERR_GENERAL | General error. |