User`s guide
KwikNet PPP Option
K
A
DAK
237
6.5 Adding PPP to Your Application
Before you add the PPP protocol to your application, you must have a working KwikNet IP
stack (with or without TCP) operating with your RT/OS and your serial device driver. It
is imperative that you start with a tested TCP/IP stack with functioning device drivers
before you add PPP. If these components are not operational, the KwikNet PPP option
cannot operate correctly.
KwikNet Library
Begin by deciding which PPP features must be supported. Review the PPP property page
described in Chapter 2.3 and the PPP Options... dialog described in Chapter 2.6. In
particular, omit support for link quality monitoring and EAP and MS-CHAP
authentication unless you actually have such a need. The memory savings are significant.
If any of your PPP network interfaces must support PAP, CHAP, MS-CHAP or EAP
authentication, edit file KN_PPPAA.C in KwikNet directory PPP as described in Chapter 6.4
to provide access to your administration function kn_ppp_admin().
Armed with your PPP feature list, use the KwikNet Configuration Manager to edit your
application's KwikNet Network Parameter File to include the PPP protocol. If desired,
define all PPP network interfaces to be prebuilt by KwikNet when it starts. Then rebuild
your KwikNet Library. The library extension may be .A or .LIB or some other extension
dictated by the toolset which you are using.