From 37b694559f6b5c6f2a0e05cc9f5faedd418b797a Mon Sep 17 00:00:00 2001 From: David Cermak Date: Tue, 23 Mar 2021 19:39:37 +0100 Subject: [PATCH] esp_modem: Add option to support for LCP keepalive Closes https://github.com/espressif/esp-idf/issues/6562 --- examples/protocols/pppos_client/main/Kconfig.projbuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/protocols/pppos_client/main/Kconfig.projbuild b/examples/protocols/pppos_client/main/Kconfig.projbuild index f0237c6d98..aa8848b7fe 100644 --- a/examples/protocols/pppos_client/main/Kconfig.projbuild +++ b/examples/protocols/pppos_client/main/Kconfig.projbuild @@ -54,6 +54,14 @@ menu "Example Configuration" Enter the peer phone number that you want to send message to. endif + config EXAMPLE_LCP_ECHO + bool "Enable LCP ECHO" + default n + select LWIP_ENABLE_LCP_ECHO + help + Enable this option to make use of LCP keepalive using + LCP_ECHO_INTERVAL and LCP_MAXECHOFAILS to default values + menu "UART Configuration" config EXAMPLE_MODEM_UART_TX_PIN int "TXD Pin Number"