← index #5369PR #17008
Related · high · value 0.086
QUERY · ISSUE

esp32: PPP tunel for WiFi

openby emardopened 2019-11-29updated 2019-12-06
port-esp32

HI

say ESP32 connects as client to home WiFi access point.

can ESP32 provide PPP internet access for linux over RX/TX serial?
(or over something similar like SPI channel)

Is there some example for this on micropython, please help

CANDIDATE · PULL REQUEST

ports/esp32: Updated network_ppp.c to match current documentation

closedby thokisopened 2025-03-25updated 2025-05-15
port-esp32

Summary

This MR updates the network.PPP module of the ESP32 port to match the current documentation. The status() method should behave like the common LwIP implementation and the poll() method will raise an RuntimeError indicating that this is not really supported on this port. Also did some minor resorting to match the common LwIP implementation.

This would solve https://github.com/micropython/micropython/issues/16998

Testing

Tested on ESP32_GENERIC and ESP32_GENERIC_S3 boards with SIMCOM800L and SIMCOM7080G modules. At least with ESP32_GENERIC the PPP connection is connected at least 18 hours.
Screenshot from 2025-03-25 20-35-16-obfuscated

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied