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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Comments<br />

AX = -2 (=API_NOT_SUPPORTED), DX =- 2: PPP client task is not running<br />

AX = -1 (=API_ERROR), DX = PPP client status<br />

AX >= 0, then AX = PPP client status, DX unchanged<br />

If the PPP client is not supported in this <strong>@CHIP</strong>-<strong>RTOS</strong> version, then the value returned in AX is zero and DX is<br />

set to -1 (=API_ERROR). In this case an error message is issued to the console.<br />

Related Topics<br />

Top of list<br />

Index page<br />

PPPCLIENT_INSTALLED API - <strong>@CHIP</strong>-<strong>RTOS</strong> feature check<br />

Interrupt 0xAC service 0x44: PPPCLIENT_GET_DNSIP, Get DNS IP address<br />

Parameters<br />

AH<br />

BX<br />

ES:DI<br />

Returns the Domain Name System (DNS) addresses as negotiated by the remote PPP server.<br />

0x44 (= PPPCLIENT_GET_DNSIP)<br />

1: Get primary DNS address, 2: Get secondary address<br />

Output Parameter: Pointer to an unsigned long variable where the requested DNS IP address will be stored<br />

by this API.<br />

Return Value<br />

Comments<br />

Top of list<br />

Index page<br />

AX = -2 (=API_NOT_SUPPORTED), DX = -2: PPP client is not installed.<br />

AX = -1 (=API_ERROR) DX contains error code.<br />

AX = 0, then unsigned long at [ES:DI] holds the DNS IP address.<br />

The IP address output to [ES:DI] is in network byte order.<br />

Interrupt 0xAC service 0x45: PPPCLIENT_SET_OPTIONS, Set options for the PPP client<br />

Parameters<br />

Sets the PPP options for the PPP client.<br />

Page 127 / 400

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

Saved successfully!

Ooh no, something went wrong!