Hi everyone.
I’m migrating an working firmware from ArduinoIDE to PlatformIO. During the change I found out that UIPEthernet was replaced by a native lwip lib for ENC28j60. That’s great! I tried and it works very nicely.
PROBLEM: I can’t find a way to make WiFi work when ethernet is initialized. I can run the ENC library and use the asyncWebServer very nicely. The whole thing also works well with WiFi, even with SoftAP. The problem is that after calling
eth.begin(ethMac)
Wifi do not work properly anymore. Not even ping works once eth is started. The ETH interface keeps working properly, it’s only WiFi that breaks.
The calls:
WiFi.softAP() WiFi.begin() WiFi.WiFi.softAPIP() and WiFi.localIP()
all return true, but there’s no connection (on SoftAP the network doesn’t show up).
Any light from you Network Mages will be super appreciated!
Environment:
- Hardware: ESP8266
- framework-arduinoespressif8266 3.30002.0 (3.0.2)
- Operating System: Windows10
- Module: WEMOS D1 R1
- lwip Variant: lwIP_enc28j60 @ 1