Intermec ck1 Reference Guide

Page of 390
Chapter 2 — Configuring the CK1 System 
86 
CK1 SDK Programmer’s Reference Manual 
Requesting PPP Status (continued) 
PPP_STATE_SERVER_CONNECTED 
The PPP server is on and the connection is on. 
PPP_STATE_CLIENT_NOTSTART 
The PPP is configured as a PPP client. This stage is ready for a dial 
attempt. The connection is not on. 
PPP_STATE_CLIENT_CONNECTING 
The PPP client enters this stage after a DialPPPConnection( ) call. The 
connection is not on. 
PPP_STATE_CLIENT_CONNECTED 
The PPP client is on and the connection is on. 
 On-Host Parameters: None 
 
On-Host Return:  Always return PPP_STATE_SERVER_CONNECTING 
Resetting PPP  
 
Purpose:  This ResetPPPConnection( ) always terminates the current PPP 
connection and re-reads the PPP configurations. After modifying the PPP 
configurations or if you want to terminate the current PPP connection, 
apply this API. 
 
Syntax: 
int ResetPPPConnection(void)
 
 On-CK1 Parameters: None 
 
On-CK1 Return: -1 
 Function 
failed 
0 Function 
succeeded 
 On-Host Parameters: None 
 
On-Host Return:  Always return 0 
Dialing the PPP Connection 
 
Purpose:  Make sure that the current PPP connection type is client and the PPP 
status is PPP_STATE_CLIENT_NOTSTART before you dial.  
 
Syntax: 
int DialPPPConnection(void)
 
 On-CK1 Parameters: None 
 
On-CK1 Return: -1 
 Function 
failed 
0 Function 
succeeded 
 On-Host Parameters: None 
 
On-Host Return:  Always return 0