www.beck-ipc.com

@CHIP-RTOS C Library - TCP/IP API


PPP_Server_GetStatus

Get the current state of the PPP server.

int PPP_Server_GetStatus ( void );

Parameters

-- none --

Return Value

PPP server state defined below

Comments

PPP server states:
    -1   Error state, should not happen
    1    Server disabled
    2    Server enabled, waiting for connection
    3    PPP connection is established
    4    Server tries to hang up modem
    5    Server tries to initialize modem
    6    Server halted by a call of PPP_Server_Pause()

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3SC2x
    V1.00V1.00V1.00V0.90V1.00

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document