There was a patch for earlier versions of esp-idf but it was removed when PPPoS support was include in esp-idf. You can still get it if you checkout commit 8eedcc29d8dc58040f0b9302a489f3c5505fa13b from ESP32-PPPOS-EXAMPLE.
What is the reason you don't want to use esp-idf v2.1 ?

many gratitudes for your quick response.
however, there's no any strong reason for not movig for v2.1. but for my application, i've carried out all the tests and feasibility on v2.0 only. so i'm trying to get this support for this version only(if possible).
i check out the codes provided by you for more clarity on ppp.

using v2.0 could keep me away form having full fledged support of pppos?

PPP over serial support is marked as unsupported in V2.1 and in the current master branch V3.0-dev versions.

The reason for marking it as unsupported is as follows: It was community developed and contributed (thanks loboris). We thought it was so useful (and it requires modifications to the IDF core), therefore we merged the support to our main repository.

However, although we ran some of our own tests with PPP/Serial we (Espressif) don't produce any reference designs or lists of supported serial devices which work with IDF PPP over Serial. We also don't run the same suite of automated & manual tests for PPP that we do for WiFi and Ethernet.

The PPP over Serial support is also not fully integrated into the "tcpip_adapter" which sends events for connection/disconnection/etc of other kinds of network interfaces (ie WiFi, Ethernet).

If you need PPP support then I suggest enabling this functionality and using it. If you experience issues with a particular PPP/Serial configuration then we'll do our best to help you solve them. However if you experience problems you will need to be prepared to "get your hands dirty" and debug some of the LWIP PPP code yourself. All of the relevant source code is available as part of ESP-IDF.

On a general note, I'd recommend updating to IDF V2.1 if you can. The release notes have a list of possible compatibility issues, but this list is not long (V2.1 was a minor release.)

Who is online

About Us

Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.