A UDP to UART bridge implementation for ESP32 using ESP-IDF to relay MavLink packets between computer and drone.
- WiFi Station mode connectivity
- UDP server on port 8888
- UART bridge with 921600 baud rate
- Non-blocking socket operations
- Install ESP-IDF
- Configure WiFi credentials:
idf.py menuconfig
- Build and flash:
idf.py build flash
- Make sure the wifi credentials are set correctly in udp_server.c
- Once code is flashed to ESP32, relay should be start once WiFi connection is achieved.
- To communicate with PX4 FC, get the IP address of the ESP32 (use idf.py monitor), and establish a MAVROS connection with the IP on port 8888