Skip to content
Permalink
Browse files

samples: net: echo-server: Add PPP overlay config file

A sample overlay config file for PPP added.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
  • Loading branch information...
jukkar committed Jun 24, 2019
1 parent 19a09bf commit a62c6b2b041046093fe6c00effb49722ad0e5418
Showing with 18 additions and 0 deletions.
  1. +3 −0 samples/net/sockets/echo_server/README.rst
  2. +15 −0 samples/net/sockets/echo_server/overlay-ppp.conf
@@ -48,6 +48,9 @@ echo-server directory:
This overlay config enables support for two QEMU's when simulating
IEEE 802.15.4 network that are connected together.

- :file:`overlay-ppp.conf`
This overlay config enables support for PPP (Point-to-Point Protocol).

- :file:`overlay-tls.conf`
This overlay config enables support for TLS.

@@ -0,0 +1,15 @@
CONFIG_NET_PPP=y
CONFIG_NET_L2_PPP=y
CONFIG_NET_STATISTICS_PPP=y
CONFIG_NET_STATISTICS_USER_API=y

# Wait milliseconds before starting ppp handshakes
CONFIG_NET_L2_PPP_DELAY_STARTUP_MS=5000

# Debug options in order to see the sent and received packets
#CONFIG_NET_PPP_LOG_LEVEL_DBG=y
#CONFIG_NET_L2_PPP_LOG_LEVEL_DBG=y
#CONFIG_UART_CONSOLE_LOG_LEVEL_DBG=y

# Set the serial connection device if needed (default is UART_1)
#CONFIG_UART_PIPE_ON_DEV_NAME="UART_1"

0 comments on commit a62c6b2

Please sign in to comment.
You can’t perform that action at this time.