This is an experimental port of the esp_modem to linux.
It mocks some IDF functionality with port/linux
layers (used for modem host test suite) and implements esp_netif
,
which supports tun
interface and uses lwIP ppp
implementation to parse or wrap IP packets to be send/receive
over PPPoS, i.e. over the modem serial line.
LWIP_PATH
: path to the lwip repositoryLWIP_CONTRIB_PATH
: path to the lwip_contrib repositorytun
interface using make_tun_netif
script.tun
interface IP, dns servers, and routing the desired traffic over the tun interface)To create a project from this example, run:
idf.py create-project-from-example "espressif/esp_modem=1.4.0:linux_modem"