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.

The PPPDial structure is used during PPP client dial-up.<br />

Related Topics<br />

Top of list<br />

Index page<br />

API function PPPCLIENT_OPEN - Open PPP client session<br />

PPPClient_Init PPP client open data structure<br />

PPP_IPCfg_Data<br />

Comments<br />

typedef struct tag_pppipcfg_data<br />

{<br />

char IP[16]; // PPP server IP<br />

char RemIP[16]; // Remote IP (given to the client, if connected)<br />

char Netmask[16]; // Subnet mask<br />

char Gateway[16]; // Gateway<br />

unsigned int comport; // COM port: EXT=0, COM=1<br />

unsigned int papauth; // 0: no authentication 1:PAP 2:CHAP<br />

unsigned int modem; // Analog Modem=1, Null Modem cable=0<br />

unsigned int flow; // Flow control<br />

long baud; // BAUD rate<br />

} PPP_IPCfg_Data;<br />

The PPP_IPCfg_Data structure is used to read out the configuration of the PPP server.<br />

Related Topics<br />

Top of list<br />

Index page<br />

API function PPPSERVER_GET_CFG - Get PPP server configuration<br />

PPP_ModemHangup<br />

Comments<br />

typedef struct tag_pppclie_hangup<br />

{<br />

char far *modemcmdmode; // string for switching modem into command mode e.g. +++<br />

int delay; // delay time after switching in seconds<br />

PPPDial pppdial[PPP_MAX_DIAL]; // modem commands and answer for hang-up procedure<br />

}PPP_ModemHangup;<br />

The PPP_ModemHangup structure is used when closing a PPP modem connection.<br />

Related Topics<br />

Top of list<br />

API function PPPCLIENT_OPEN - Open PPP client session<br />

PPPClient_Init PPP client open data structure<br />

Page 173 / 400

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

Saved successfully!

Ooh no, something went wrong!