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.

Index page<br />

Interrupt 0xAC service 0x54: PPPSERVER_GET_CFG, Get PPP server configuration<br />

Parameters<br />

AH<br />

ES:DI<br />

Gets the current main configuration data of the PPP server.<br />

0x54 (= PPPSERVER_GET_CFG)<br />

Output Parameter: Pointer to PPP_IPCfg_Data data structure where this function will report the<br />

configuration data.<br />

Return Value<br />

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

DX = 0 The user PPP_IPCfg_Data structure at [ES:DI] is filled with the PPP server configuration data<br />

Related Topics<br />

Top of list<br />

Index page<br />

PPP_IPCfg_Data structure definition<br />

Interrupt 0xAC service 0x55: PPPSERVER_SET_OPTIONS, Set options for PPP server<br />

Parameters<br />

AH<br />

ES:DI<br />

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

0x55 (= PPPSERVER_SET_OPTIONS)<br />

Pointer to an array of PPP_Option data structures. This array is terminated by first PPP_Option structure<br />

with a null optionValuePtr member. (see example below).<br />

Return Value<br />

Comments<br />

AX = -3: PPP Connection already established<br />

AX = -2: PPP server is not installed<br />

AX = -1: Invalid Option(s)<br />

AX = 0: Success<br />

It is only possible to set PPP options when the PPP server is suspended. PPP server must be at status 1.<br />

Setting options while the PPP server is active (state 2,3,4,5) has no effect. The installed options will be<br />

applied as the PPP server is re-activated. The data structures referenced by ES:DI must persists until that<br />

time.<br />

Page 131 / 400

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

Saved successfully!

Ooh no, something went wrong!