Just as a heads up, the solution I posted before (Framework = espidf, arduino - #20 by gkfernandes) does not seem to be working on pio any longer.
I’ve also tried to build the newest development arduino-esp32 version (v2.0.0-alpha) and there are errors that seem to be like some mismatch between the component and ESP-IDF versions, like the log below:
In file included from …/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:2:
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:51:5: error: ‘tcpip_adapter_if_t’ does not name a type
tcpip_adapter_if_t _if;
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:70:5: error: ‘tcpip_adapter_if_t’ does not name a type
tcpip_adapter_if_t interface();
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:115:79: error: ‘tcpip_adapter_if_t’ has not been declared
bool listenMulticast(const ip_addr_t *addr, uint16_t port, uint8_t ttl=1, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~
In file included from …/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:2:
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:116:78: error: ‘tcpip_adapter_if_t’ has not been declared
bool listenMulticast(const IPAddress addr, uint16_t port, uint8_t ttl=1, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:117:80: error: ‘tcpip_adapter_if_t’ has not been declared
bool listenMulticast(const IPv6Address addr, uint16_t port, uint8_t ttl=1, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:125:91: error: ‘tcpip_adapter_if_t’ has not been declared
size_t writeTo(const uint8_t *data, size_t len, const ip_addr_t *addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:126:90: error: ‘tcpip_adapter_if_t’ has not been declared
size_t writeTo(const uint8_t *data, size_t len, const IPAddress addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:127:92: error: ‘tcpip_adapter_if_t’ has not been declared
size_t writeTo(const uint8_t *data, size_t len, const IPv6Address addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:131:66: error: ‘tcpip_adapter_if_t’ has not been declared
size_t broadcastTo(uint8_t *data, size_t len, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:132:58: error: ‘tcpip_adapter_if_t’ has not been declared
size_t broadcastTo(const char * data, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:136:83: error: ‘tcpip_adapter_if_t’ has not been declared
size_t sendTo(AsyncUDPMessage &message, const ip_addr_t *addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:137:82: error: ‘tcpip_adapter_if_t’ has not been declared
size_t sendTo(AsyncUDPMessage &message, const IPAddress addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:138:84: error: ‘tcpip_adapter_if_t’ has not been declared
size_t sendTo(AsyncUDPMessage &message, const IPv6Address addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:141:65: error: ‘tcpip_adapter_if_t’ has not been declared
size_t broadcastTo(AsyncUDPMessage &message, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~
In file included from …/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:2:
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:115:107: error: ‘TCPIP_ADAPTER_IF_MAX’ was not declared in this scope
bool listenMulticast(const ip_addr_t *addr, uint16_t port, uint8_t ttl=1, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:115:107: note: suggested alternative: ‘NETIF_ADDR_IDX_MAX’
bool listenMulticast(const ip_addr_t *addr, uint16_t port, uint8_t ttl=1, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
NETIF_ADDR_IDX_MAX
In file included from …/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:2:
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:116:106: error: ‘TCPIP_ADAPTER_IF_MAX’ was not declared in this scope
bool listenMulticast(const IPAddress addr, uint16_t port, uint8_t ttl=1, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:116:106: note: suggested alternative: ‘NETIF_ADDR_IDX_MAX’
bool listenMulticast(const IPAddress addr, uint16_t port, uint8_t ttl=1, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
NETIF_ADDR_IDX_MAX
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:117:108: error: ‘TCPIP_ADAPTER_IF_MAX’ was not declared in this scope
bool listenMulticast(const IPv6Address addr, uint16_t port, uint8_t ttl=1, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:117:108: note: suggested alternative: ‘NETIF_ADDR_IDX_MAX’
bool listenMulticast(const IPv6Address addr, uint16_t port, uint8_t ttl=1, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
NETIF_ADDR_IDX_MAX
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:125:119: error: ‘TCPIP_ADAPTER_IF_MAX’ was not declared in this scope
size_t writeTo(const uint8_t *data, size_t len, const ip_addr_t *addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:125:119: note: suggested alternative: ‘NETIF_ADDR_IDX_MAX’
size_t writeTo(const uint8_t *data, size_t len, const ip_addr_t *addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
NETIF_ADDR_IDX_MAX
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:126:118: error: ‘TCPIP_ADAPTER_IF_MAX’ was not declared in this scope
size_t writeTo(const uint8_t *data, size_t len, const IPAddress addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:126:118: note: suggested alternative: ‘NETIF_ADDR_IDX_MAX’
size_t writeTo(const uint8_t *data, size_t len, const IPAddress addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
NETIF_ADDR_IDX_MAX
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:127:120: error: ‘TCPIP_ADAPTER_IF_MAX’ was not declared in this scope
size_t writeTo(const uint8_t *data, size_t len, const IPv6Address addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:127:120: note: suggested alternative: ‘NETIF_ADDR_IDX_MAX’
size_t writeTo(const uint8_t data, size_t len, const IPv6Address addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
NETIF_ADDR_IDX_MAX
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:131:94: error: ‘TCPIP_ADAPTER_IF_MAX’ was not declared in this scope
size_t broadcastTo(uint8_t data, size_t len, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:131:94: note: suggested alternative: ‘NETIF_ADDR_IDX_MAX’
size_t broadcastTo(uint8_t data, size_t len, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
NETIF_ADDR_IDX_MAX
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:132:86: error: ‘TCPIP_ADAPTER_IF_MAX’ was not declared in this scope
size_t broadcastTo(const char * data, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:132:86: note: suggested alternative: ‘NETIF_ADDR_IDX_MAX’
size_t broadcastTo(const char * data, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
NETIF_ADDR_IDX_MAX
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:136:111: error: ‘TCPIP_ADAPTER_IF_MAX’ was not declared in this scope
size_t sendTo(AsyncUDPMessage &message, const ip_addr_t addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:136:111: note: suggested alternative: ‘NETIF_ADDR_IDX_MAX’
size_t sendTo(AsyncUDPMessage &message, const ip_addr_t addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
NETIF_ADDR_IDX_MAX
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:137:110: error: ‘TCPIP_ADAPTER_IF_MAX’ was not declared in this scope
size_t sendTo(AsyncUDPMessage &message, const IPAddress addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:137:110: note: suggested alternative: ‘NETIF_ADDR_IDX_MAX’
size_t sendTo(AsyncUDPMessage &message, const IPAddress addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
NETIF_ADDR_IDX_MAX
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:138:112: error: ‘TCPIP_ADAPTER_IF_MAX’ was not declared in this scope
size_t sendTo(AsyncUDPMessage &message, const IPv6Address addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:138:112: note: suggested alternative: ‘NETIF_ADDR_IDX_MAX’
size_t sendTo(AsyncUDPMessage &message, const IPv6Address addr, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
NETIF_ADDR_IDX_MAX
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:141:93: error: ‘TCPIP_ADAPTER_IF_MAX’ was not declared in this scope
size_t broadcastTo(AsyncUDPMessage &message, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.h:141:93: note: suggested alternative: ‘NETIF_ADDR_IDX_MAX’
size_t broadcastTo(AsyncUDPMessage &message, uint16_t port, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX);
^~~~~~~~~~~~~~~~~~~~
NETIF_ADDR_IDX_MAX
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp: In constructor 'AsyncUDPPacket::AsyncUDPPacket(AsyncUDP, pbuf, const ip_addr_t, uint16_t, netif)':
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:285:5: error: ‘_if’ was not declared in this scope
_if = TCPIP_ADAPTER_IF_MAX;
^~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:285:11: error: ‘TCPIP_ADAPTER_IF_MAX’ was not declared in this scope
_if = TCPIP_ADAPTER_IF_MAX;
^~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:285:11: note: suggested alternative: ‘NETIF_ADDR_IDX_MAX’
_if = TCPIP_ADAPTER_IF_MAX;
^~~~~~~~~~~~~~~~~~~~
NETIF_ADDR_IDX_MAX
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:318:35: error: ‘tcpip_adapter_if_t’ was not declared in this scope
tcpip_adapter_get_netif ((tcpip_adapter_if_t)i, &nif);
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:318:35: note: suggested alternative: ‘tcpip_api_call’
tcpip_adapter_get_netif ((tcpip_adapter_if_t)i, &nif);
^~~~~~~~~~~~~~~~~~
tcpip_api_call
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:318:9: error: ‘tcpip_adapter_get_netif’ was not declared in this scope
tcpip_adapter_get_netif ((tcpip_adapter_if_t)i, &nif);
^~~~~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:318:9: note: suggested alternative: ‘ip_addr_get_network’
tcpip_adapter_get_netif ((tcpip_adapter_if_t)i, &nif);
^~~~~~~~~~~~~~~~~~~~~~~
ip_addr_get_network
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp: At global scope:
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:376:1: error: ‘tcpip_adapter_if_t’ does not name a type; did you mean ‘tcpip_api_call’?
tcpip_adapter_if_t AsyncUDPPacket::interface()
^~~~~~~~~~~~~~~~~~
tcpip_api_call
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp: In member function 'virtual size_t AsyncUDPPacket::write(const uint8_t, size_t)‘:
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:452:62: error: ‘_if’ was not declared in this scope
return _udp->writeTo(data, len, &_remoteIp, _remotePort, _if);
^~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp: At global scope:
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:554:71: error: ‘tcpip_adapter_if_t’ has not been declared
static esp_err_t joinMulticastGroup(const ip_addr_t *addr, bool join, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX) ^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:554:99: error: ‘TCPIP_ADAPTER_IF_MAX’ was not declared in this scope
static esp_err_t joinMulticastGroup(const ip_addr_t addr, bool join, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX) ^~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:554:99: note: suggested alternative: ‘NETIF_ADDR_IDX_MAX’
static esp_err_t joinMulticastGroup(const ip_addr_t addr, bool join, tcpip_adapter_if_t tcpip_if=TCPIP_ADAPTER_IF_MAX) ^~~~~~~~~~~~~~~~~~~~
NETIF_ADDR_IDX_MAX
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp: In function 'esp_err_t joinMulticastGroup(const ip_addr_t, bool, int)':
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:557:19: error: ‘TCPIP_ADAPTER_IF_MAX’ was not declared in this scope
if(tcpip_if < TCPIP_ADAPTER_IF_MAX){
^~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:557:19: note: suggested alternative: ‘NETIF_ADDR_IDX_MAX’
if(tcpip_if < TCPIP_ADAPTER_IF_MAX){
^~~~~~~~~~~~~~~~~~~~
NETIF_ADDR_IDX_MAX
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:559:25: error: ‘tcpip_adapter_get_netif’ was not declared in this scope
esp_err_t err = tcpip_adapter_get_netif(tcpip_if, &nif);
^~~~~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:559:25: note: suggested alternative: ‘ip_addr_get_network’
esp_err_t err = tcpip_adapter_get_netif(tcpip_if, &nif);
^~~~~~~~~~~~~~~~~~~~~~~
ip_addr_get_network
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp: At global scope:
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:612:83: error: ‘tcpip_adapter_if_t’ has not been declared
bool AsyncUDP::listenMulticast(const ip_addr_t addr, uint16_t port, uint8_t ttl, tcpip_adapter_if_t tcpip_if)
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:636:99: error: ‘tcpip_adapter_if_t’ has not been declared
size_t AsyncUDP::writeTo(const uint8_t * data, size_t len, const ip_addr_t * addr, uint16_t port, tcpip_adapter_if_t tcpip_if)
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp: In member function 'size_t AsyncUDP::writeTo(const uint8_t, size_t, const ip_addr_t, uint16_t, int)’:
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:655:23: error: ‘TCPIP_ADAPTER_IF_MAX’ was not declared in this scope
if(tcpip_if < TCPIP_ADAPTER_IF_MAX){
^~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:655:23: note: suggested alternative: ‘NETIF_ADDR_IDX_MAX’
if(tcpip_if < TCPIP_ADAPTER_IF_MAX){
^~~~~~~~~~~~~~~~~~~~
NETIF_ADDR_IDX_MAX
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:657:38: error: ‘tcpip_adapter_if_t’ was not declared in this scope
tcpip_adapter_get_netif((tcpip_adapter_if_t)tcpip_if, &nif);
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:657:38: note: suggested alternative: ‘tcpip_api_call’
tcpip_adapter_get_netif((tcpip_adapter_if_t)tcpip_if, &nif);
^~~~~~~~~~~~~~~~~~
tcpip_api_call
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:657:13: error: ‘tcpip_adapter_get_netif’ was not declared in this scope
tcpip_adapter_get_netif((tcpip_adapter_if_t)tcpip_if, &nif);
^~~~~~~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:657:13: note: suggested alternative: ‘ip_addr_get_network’
tcpip_adapter_get_netif((tcpip_adapter_if_t)tcpip_if, &nif);
^~~~~~~~~~~~~~~~~~~~~~~
ip_addr_get_network
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp: At global scope:
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:709:82: error: ‘tcpip_adapter_if_t’ has not been declared
bool AsyncUDP::listenMulticast(const IPAddress addr, uint16_t port, uint8_t ttl, tcpip_adapter_if_t tcpip_if)
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:725:96: error: ‘tcpip_adapter_if_t’ has not been declared
size_t AsyncUDP::writeTo(const uint8_t *data, size_t len, const IPAddress addr, uint16_t port, tcpip_adapter_if_t tcpip_if)
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:749:84: error: ‘tcpip_adapter_if_t’ has not been declared
bool AsyncUDP::listenMulticast(const IPv6Address addr, uint16_t port, uint8_t ttl, tcpip_adapter_if_t tcpip_if)
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:765:98: error: ‘tcpip_adapter_if_t’ has not been declared
size_t AsyncUDP::writeTo(const uint8_t *data, size_t len, const IPv6Address addr, uint16_t port, tcpip_adapter_if_t tcpip_if)
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:791:72: error: ‘tcpip_adapter_if_t’ has not been declared
size_t AsyncUDP::broadcastTo(uint8_t *data, size_t len, uint16_t port, tcpip_adapter_if_t tcpip_if)
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:796:64: error: ‘tcpip_adapter_if_t’ has not been declared
size_t AsyncUDP::broadcastTo(const char * data, uint16_t port, tcpip_adapter_if_t tcpip_if)
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:815:89: error: ‘tcpip_adapter_if_t’ has not been declared
size_t AsyncUDP::sendTo(AsyncUDPMessage &message, const ip_addr_t *addr, uint16_t port, tcpip_adapter_if_t tcpip_if)
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:823:88: error: ‘tcpip_adapter_if_t’ has not been declared
size_t AsyncUDP::sendTo(AsyncUDPMessage &message, const IPAddress addr, uint16_t port, tcpip_adapter_if_t tcpip_if)
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:831:90: error: ‘tcpip_adapter_if_t’ has not been declared
size_t AsyncUDP::sendTo(AsyncUDPMessage &message, const IPv6Address addr, uint16_t port, tcpip_adapter_if_t tcpip_if)
^~~~~~~~~~~~~~~~~~
…/vendors/espressif/esp-idf/components/arduino/libraries/AsyncUDP/src/AsyncUDP.cpp:847:71: error: ‘tcpip_adapter_if_t’ has not been declared
size_t AsyncUDP::broadcastTo(AsyncUDPMessage &message, uint16_t port, tcpip_adapter_if_t tcpip_if)
^~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
ninja failed with exit code 1