Open avillacis opened 2 years ago
PPP has been removed from Arduino Core 2.0.0 to 2.0.1, if I remember. The reason is that it consumes a lot of Flash and users were complaining about the size of the final binary.
My suggestion for solving this specific case would be to use Arduino as Component in an IDF project and then enable PPP in the LWIP menuconfig manually. Another option would be use Arduino Core 2.0.0 which has PPP enabled.
Yes, I remember that. I was one of the users who complained about the excessive size of the binary.
I will look into alternate ways to use the code, as suggested.
hey guys, I find it frustrating not being able to implement the ppp_client and resolve it using third-party libraries. TinyGsm is a great library, but there's a simpler solution compatible with native esp APIs. please add support for this feature in platformio.
Hello, can we have macros to enable pppos or any other method? How to include esp protocols modem in arduino library?
Hello, can we have macros to enable pppos or any other method? How to include esp protocols modem in arduino library?
It has to be enabled first when the libs are built by the esp32-arduino-lib-builder. You can file a ticket there and we can look at the options and consequences of enabling it for the future. If you want to do it now, you can try to use Arduino as IDF component route.
Related area
Networking
Hardware specification
Support for GSM/GPRS modules via serial connection
Is your feature request related to a problem?
Currently, the Arduino IDE support for ESP32 (as of version 2.0.4) does not enable support for APIs that allow integration of PPPoS connections through GSM/GPRS cellular modules (or any other PPP source/sink), with the lwIP stack available from Espressif:
This forces anyone who wants to integrate PPPoS into the lwIP stack to recompile Arduino-ESP32 on their own. Otherwise errors like these appear (example with https://github.com/vshymanskyy/ESP32_PPPoS):
Describe the solution you'd like
Oficially enable relevant PPP support in the networking support for Arduino-ESP32, so that code linking into it can work correctly. No new code appears to be necessary, only enabling conditional compilation of existing source code.
Describe alternatives you've considered
There are some external libraries, such as TinyGSM that allow opening of Arduino-compatible Client objects usable for some libraries. However, if a project is already commited to socket-based networking, it is awkward to duplicate network support through WiFi and through GSM.
Additional context
This support has already been requested by some other reports, without apparent success: https://github.com/espressif/arduino-esp32/issues/1858 https://github.com/espressif/arduino-esp32/issues/5345
I have checked existing list of Feature requests and the Contribution Guide