Not able to connect to FC using ESP32 Dronebridge telemetry

Hello,

I’ve flashed a NODEMCU-32 with dronebridge (v2.1.0 stable). This is the pinout:

And these are my settings:

I have this ESP32 on the drone to which I intend to connect over WiFi from my PC and I configured the following parameters:

Please verify whether I got the pin numbering correct. I did connect the TX of the ESP32 to RX of the Pixhawk 2.4.8.

When I try to connect via UDP in MissionPlanner, the configuration page for dronebridge shows a UDP client has been connected. But MissionPlanner doesn’t connect to the FC. I also tried TCP and its the same. QGC doesn’t work either.

Any help is appreciated. Thanks!

EDIT: I ran tcpdump and I see no packets from the drone. When I try to connect via MissionPlanner, I can see that MissionPlanner sends out packets of length 14 and 17 but there are no packets incoming

Solved it by using the secondary UART. The primary UART is also used by the Serial-USB interface and has a CH340 in its path which interferes.