Callback_pppoe_failure()

Description:

Callback procedure, informs that PPPoE login/configuration or established link failed. Procedure body has to be created elsewhere in the project (externally with respect to the library).

Syntax:

sub callback_pppoe_failure(pppoe_code as en_pppoe_status_codescodes)

Returns:

---

See Also:

Step-by-step Usage Instructions, Operation Details


Parameter

Description

pppoe_state

Reason for failure:

3- PPPOE_TIMEOUT: timeout while waiting for the reply from the ADSL modem (access concentrator).

4- PPPOE_CONFIGURATION_ERROR: something went wrong... and on the PPPoE many things can go wrong. Perhaps, login name or password should be re-checked?.

5- PPPOE_STOPPED: pppoe_stop() was called.

Details

As follows from the above, this procedure is called even if your application "manually" aborts PPPoE by calling pppoe_stop().