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>
This commit is contained in:
Jukka Rissanen 2019-06-24 13:52:38 +03:00
commit a62c6b2b04
2 changed files with 18 additions and 0 deletions

View file

@ -48,6 +48,9 @@ echo-server directory:
This overlay config enables support for two QEMU's when simulating This overlay config enables support for two QEMU's when simulating
IEEE 802.15.4 network that are connected together. 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` - :file:`overlay-tls.conf`
This overlay config enables support for TLS. This overlay config enables support for TLS.

View file

@ -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"