Network Component  Version 0.1
MDK-Professional Middleware for IP Networking
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Serial Line Internet Protocol (SLIP)

Configuring the SLIP interface

The SLIP interface is configured using the Net_Config_SLIP_n.h file. n stands for the number of the SLIP interface. In case an application uses one SLIP interface only, the file will be called Net_Config_SLIP_0.h. The options are set in the file directly or using the Configuration Wizard.

IP Address Assignment

This is a simple protocol and does not allow automatic configuration, therefore only one configuration mode is supported:

  • Static IP
    The IP address, network mask and default gateway are configured in the Net_Config_SLIP_0.h file. It is possible to change the IP address at runtime. The static configuration specifies also a primary and (optional) secondary DNS server.
Note
  • If both SLIP and Ethernet interfaces are used simultaneously, you must not set the same network group address for both.
  • All available functions for using SLIP are explained in Serial Line Internet Protocol (SLIP) section of the Reference.