Selecting MQTT interface [IDF-1576]
Posted: Mon Apr 13, 2020 6:44 pm
Hello,
I'm trying to use the MQTT library from ESP-IDF, but I need to be able to dynamically choose between WiFi, Ethernet and PPPoS.
I can't find anywhere in the documentation how to choose which interface is used by the library.
Actually, as a more general question, I couldn't find anywhere in the documentation how to choose the interface for any TCP socket connection using LWIP
Does anyone know how to do this?
Thank you!
I'm trying to use the MQTT library from ESP-IDF, but I need to be able to dynamically choose between WiFi, Ethernet and PPPoS.
I can't find anywhere in the documentation how to choose which interface is used by the library.
Actually, as a more general question, I couldn't find anywhere in the documentation how to choose the interface for any TCP socket connection using LWIP
Does anyone know how to do this?
Thank you!