@CHIP-RTOS C Library V2.00 - TCP/IP API
PPP_Server_Activate
Activate the PPP server. int PPP_Server_Activate ( int timeoutsecs, int *error ); Parameters
timeoutsecs
- Time-out in seconds.
error
- Output parameter: Failure
code, 0 on success.
Return Value
- 0 = success
Non-zero = Failure (see error
output parameter)
Comments
- If successful, the PPP server is now able to serve a connection.
Note that the time-out value in timeoutsecs
depends on your time-out entries for the modem commands
specified in chip.ini. If this call returns with -1, the most
likely reason is that the modem commands are not finished after
specified time-out.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Related Topics
-
- Chip.ini entry: PPPSERVER HANGUPTIMEOUTx
time-out in seconds for wait on answer from modem
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|