Callback_dhcp_failure()

Top  Previous  Next

Description:

Callback procedure, informs of the failure to procure configuration parameters from the DHCP server after DHCP_MAX_RETRIES. Procedure body has to be created elsewhere in the project (externally with respect to the library).

Syntax:

sub callback_dhcp_failure(interface as pl_sock_interfaces, failure_code as en_dhcp_status_codes)

Returns:

---

See Also:

Step-by-step Usage Instructions, Operation Details

 


Part

Description

interface

Network interface on which the DHCP client has failed:

1- PL_SOCK_INTERFACE_NET: Ethernet (net.) interface.

2- PL_SOCK_INTERFACE_WLN: Wi-Fi (wln.) interface.

failure_code

One of the en_dhcp_status_codes

Details

---