Merge branch 'bugfix/lwip_mark_ppp_officially_supported' into 'master'

lwip: Mark PPP officially supported

Closes IDFGH-8820

See merge request espressif/esp-idf!21900
This commit is contained in:
David Čermák
2023-01-05 15:57:45 +08:00
2 changed files with 2 additions and 3 deletions

View File

@@ -703,13 +703,11 @@ menu "LWIP"
menuconfig LWIP_PPP_SUPPORT menuconfig LWIP_PPP_SUPPORT
bool "Enable PPP support (new/experimental)" bool "Enable PPP support"
default n default n
help help
Enable PPP stack. Now only PPP over serial is possible. Enable PPP stack. Now only PPP over serial is possible.
PPP over serial support is experimental and unsupported.
config LWIP_PPP_ENABLE_IPV6 config LWIP_PPP_ENABLE_IPV6
bool "Enable IPV6 support for PPP connections (IPV6CP)" bool "Enable IPV6 support for PPP connections (IPV6CP)"
depends on LWIP_PPP_SUPPORT && LWIP_IPV6 depends on LWIP_PPP_SUPPORT && LWIP_IPV6

View File

@@ -21,6 +21,7 @@ Some common lwIP "app" APIs are supported indirectly by ESP-IDF:
- ICMP Ping is supported using a variation on the lwIP ping API. See :doc:`/api-reference/protocols/icmp_echo`. - ICMP Ping is supported using a variation on the lwIP ping API. See :doc:`/api-reference/protocols/icmp_echo`.
- NetBIOS lookup is available using the standard lwIP API. :example:`protocols/http_server/restful_server` has an option to demonstrate using NetBIOS to look up a host on the LAN. - NetBIOS lookup is available using the standard lwIP API. :example:`protocols/http_server/restful_server` has an option to demonstrate using NetBIOS to look up a host on the LAN.
- mDNS uses a different implementation to the lwIP default mDNS (see :doc:`/api-reference/protocols/mdns`), but lwIP can look up mDNS hosts using standard APIs such as ``gethostbyname()`` and the convention ``hostname.local``, provided the :ref:`CONFIG_LWIP_DNS_SUPPORT_MDNS_QUERIES` setting is enabled. - mDNS uses a different implementation to the lwIP default mDNS (see :doc:`/api-reference/protocols/mdns`), but lwIP can look up mDNS hosts using standard APIs such as ``gethostbyname()`` and the convention ``hostname.local``, provided the :ref:`CONFIG_LWIP_DNS_SUPPORT_MDNS_QUERIES` setting is enabled.
- The PPP implementation in lwIP can be used to create PPPoS (PPP over serial) interface in ESP-IDF. Please refer to the documentation of :doc:`/api-reference/network/esp_netif` component to create and configure a PPP network interface, by means of the ``ESP_NETIF_DEFAULT_PPP()`` macro defined in :component_file:`esp_netif/include/esp_netif_defaults.h`. Additional runtime settings are provided via the :component_file:`esp_netif/include/esp_netif_ppp.h`. PPPoS interfaces are typically used to interact with NBIoT/GSM/LTE modems; more application level friendly API is supported by `esp_modem <https://components.espressif.com/component/espressif/esp_modem>`_ library, which uses this PPP lwIP module behind the scenes.
BSD Sockets API BSD Sockets API
--------------- ---------------