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.

265 No route to host<br />

-1 socket call failed<br />

0 no error<br />

PPP client error codes<br />

Top of list<br />

Index page<br />

// Possible client error codes<br />

#define PPP_INV_COMPORT -1 // Invalid port number or PPP server is active at this port.<br />

// This error code also occurs, if<br />

// the PPP client is interrupted while dialing<br />

// (e.g. user break by setting the flag modem_break<br />

// in the pppclient_init structure<br />

// or another modem error.<br />

#define PPP_INUSE -2 // Client is already active.<br />

#define PPP_INV_USER -3 // Invalid user or password<br />

#define PPP_OPEN_FAIL -4 // Opening the interface failed.<br />

#define PPP_INV_DEV -5 // Interface was not found.<br />

#define PPP_IPCFG_FAIL -6 // Got an invalid IP from the peer.<br />

#define PPP_CONNECT_FAIL -7 // Connection to the peer failed.<br />

#define PPP_CLOSETIMEOUT -8 // Closing connection timed out.<br />

PPP client status codes<br />

// Possible states of a PPP client connection<br />

#define PPP_NOTAVAIL -1 // Client is not running<br />

#define PPP_LNKDOWN 0 // Link is down<br />

#define PPP_LNKWILLOPEN 1 // Link opening in progress<br />

#define PPP_LNKUP 2 // Link is established<br />

Top of list<br />

Index page<br />

TCP/IP API Listing<br />

End of document<br />

Page 158 / 400

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

Saved successfully!

Ooh no, something went wrong!