How to port tcpip_adapter driver to esp_netif?

cnlohr
Posts: 65
Joined: Sat Dec 03, 2016 5:39 am

How to port tcpip_adapter driver to esp_netif?

Postby cnlohr » Fri Apr 02, 2021 7:47 am

It wasn't too painful to use cnip over, and I have the ESP32C3 working 100% with my system, but it's warning me that tcpip_adapter is being deprecated.

The guide online speaks from the point of view as a user of tcpip_adapter -> esp_netif. But, none speak as the developer.

If I disable CONFIG_ESP_NETIF_TCPIP_ADAPTER_COMPATIBLE_LAYER then my app compiles, but doesn't work. I don't know which functions I need to implement to take the role of the TCP/IP stack, and it's very unclear.

Also - as a side note, if I disable CONFIG_ESP_NETIF_TCPIP_LWIP=y by setting it to n, then the build system forces it back on.

Any pointers? Any direction? Any cliffs notes?

BTW!! This is actually open source this time around! So others can see this as an example.

Who is online

Users browsing this forum: No registered users and 123 guests