01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

AH<br />

BX<br />

0x52 (= PPPSERVER_ACTIVATE)<br />

Timeout seconds<br />

Return Value<br />

Comments<br />

AX = 0, DX = 0 PPP server is activated<br />

AX != 0, DX != 0 Activating PPP server failed, PPP server is not installed or timeout<br />

This API will not activate the PPP server disabled from start up by the CHIP.INI configuration entry.<br />

On success, the PPP server is now able to serve a connection.<br />

Note that the timeout value in BX depends on your timeout entries for the modem commands specified in<br />

CHIP.INI. If this call returns with -1 in AX and DX, the most likely reason for this is that the modem commands<br />

were not finished within the timeout period specified in BX.<br />

Related Topics<br />

Top of list<br />

Index page<br />

PPPSERVER_SUSPEND API - Suspend PPP server<br />

PPPSERVER HANGUPTIMEOUTx - CHIP.INI timeout for wait on answer from modem<br />

Interrupt 0xAC service 0x53: PPPSERVER_GET_STATUS, Get server state<br />

Parameters<br />

AH<br />

Gets the current state of the PPP server.<br />

0x53 (= PPPSERVER_GET_STATUS)<br />

Return Value<br />

Comments<br />

Top of list<br />

DX != 0: PPP server is not installed<br />

DX = 0: AX contains the current PPP server state listed below<br />

PPP server states:<br />

-1 Error state, should not happen<br />

1 Server disabled<br />

2 Server enabled, waiting for connection<br />

3 PPP connection is established<br />

4 Server tries to hang up modem<br />

5 Server tries to initialize modem<br />

Page 130 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!