Registers the "Discover message sent" DHCP event handler callback.
- Parameters
-
desc | DHCP client descriptor. |
callback_discover | Pointer to the callback function defined by fnet_dhcp_cln_callback_t. |
cookie | Optional application-specific parameter.
It's passed to the callback_discover callback function as input parameter. |
- See also
- FNET_CFG_DHCP_CLN_RESPONSE_TIMEOUT
This function registers the callback_discover
callback function for the "Discover message sent" event. This event occurs when the DHCP client sends the DHCP discover message. A user interface program may use it for indication of retransmission attempts.
To stop the event handling, set the callback_discover
parameter to zero value.