Working UDP client on any version of IDF?
Posted: Sat Aug 10, 2019 4:01 pm
Does any one have a working udp client example? The udp_client example in the examples/protocols/socket/udp_client doesn't seem to work. I've used Wireshark to try to capure the message sent but it doesn't send. The udp_server example works but I want an example that doesn't rely on getting its destination from the packet it receives. I just want to be able to setup a client with a destination ipv4 address, port and send packets. I suspect that there is a arp problem which would explain why the client doesn't send the packet. Maybe I'm the only one with this problem?
I've even tried compiling Linux udp client examples as well but they don't seem to work either. I'm using a ESP32-lyraT v4.3 board and esp idf v3.2.2. I plan on using the esp32 as a WiFi access point and it seems work with the udp_server code. I never thought that UDP would be this difficult to implement on the ESP32 compared to the ESP8266. The only reason I switched from the esp8266 to the esp32-lyrat board was because of its audio streaming capabilities that I will latter use to stream audio over UDP. Not being able to send UDP packets is no go for me. My development environment is run under Linux Mint 19.2. Anyone having any luck with UDP sendto
I've even tried compiling Linux udp client examples as well but they don't seem to work either. I'm using a ESP32-lyraT v4.3 board and esp idf v3.2.2. I plan on using the esp32 as a WiFi access point and it seems work with the udp_server code. I never thought that UDP would be this difficult to implement on the ESP32 compared to the ESP8266. The only reason I switched from the esp8266 to the esp32-lyrat board was because of its audio streaming capabilities that I will latter use to stream audio over UDP. Not being able to send UDP packets is no go for me. My development environment is run under Linux Mint 19.2. Anyone having any luck with UDP sendto