Intermec ck1 Reference Guide
Chapter 2 — Configuring the CK1 System
80
CK1 SDK Programmer’s Reference Manual
break;
}
getchar();
getchar();
//clear stdin buffer
}
exit (0);
}
exit (0);
}
PPP API Illustrations
There are four PPP configuration files for each PPP connect type:
• PPP server over modem
• PPP client over modem
• PPP server over null modem
• PPP client over null modem
You can write or read these settings by calling WritePPPConfig( ) or
ReadPPPConfig( ) and by specifying its connection type. You can set the
current PPP connection type by calling WritePPPCurrentType( ). New
settings become active only if following status is satisfied.
ReadPPPConfig( ) and by specifying its connection type. You can set the
current PPP connection type by calling WritePPPCurrentType( ). New
settings become active only if following status is satisfied.
Requirements for Settings to Become Active
If a server mode is configured, the PPP server starts automatically.
To find out if the PPP connection is on, you can call RequestPPPStatus().
A reply value of
A reply value of
PPP_STATE_SERVER_CONNECTED
indicates that the
connection is on. Other reply values indicate the connection is off or an
error has occurred.
error has occurred.
To terminate current connection, call ResetPPPConnection( ).