PPP_GetState Function

C

bool PPP_GetState(DRV_HANDLE hMac, PPP_STATE state[2]);

Returns

true - if the call succeeded

false - if there was an error

Description

This function gets the PPP current state for the LCP and IPCP

Remarks

None

Preconditions

The PPP module must be initialized.

Parameters

hMac - driver handle (obtained by calling TCPIP_MAC_Open/DRV_PPP_MAC_Open)

state - address to receive the current LCP and IPCP states. Must be able to hold both instances.