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.

Return Value<br />

Comments<br />

DX: 0 AX: 0, success [ES:DI] contains the needed IP data for further TCP/IP socket communication<br />

DX: -1 AX: contains error code, open failed<br />

Refer to the PPPCLIE.C example for how to use this API. Also see the PPPClient_Init data structure<br />

documentation.<br />

Note: Only one PPP client connection can be open at a time!!<br />

Related Topics<br />

Top of list<br />

Index page<br />

PPPCLIENT_CLOSE - Closes PPP client connection<br />

Interrupt 0xAC service 0x42: PPPCLIENT_CLOSE, Close a PPP client connection<br />

Parameters<br />

AH<br />

Closes a PPP client connection.<br />

0x42 (= PPPCLIENT_CLOSE)<br />

Return Value<br />

Comments<br />

Top of list<br />

Index page<br />

DX: 0, AX =0: PPP client connection is closed<br />

DX: -1, AX contains error code, Connection close timed out<br />

At the close call the PPP client also executes after closing the PPP session the modem hang-up commands<br />

specified in the PPPClient_Init structure referenced at the PPPCLIENT_OPEN call.<br />

Therefore we recommend waiting approximately 10 seconds before opening a subsequent PPP connection.<br />

Interrupt 0xAC service 0x43: PPPCLIENT_GET_STATUS, Get PPP client status<br />

Parameters<br />

AH<br />

Gets PPP client's current status.<br />

0x43 (= PPPCLIENT_GET_STATUS)<br />

Return Value<br />

Page 126 / 400

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

Saved successfully!

Ooh no, something went wrong!