ESP8266-transparent-bridge icon indicating copy to clipboard operation
ESP8266-transparent-bridge copied to clipboard

Feature request: Support UDP in addition to TCP

Open kubark42 opened this issue 10 years ago • 7 comments

Currently the transparent-bridge firmware only supports TCP on port 23. Being able to choose to transmit UDP instead would be desirable for real-time applications, such as receiving video and audio from a robot.

kubark42 avatar Dec 19 '14 20:12 kubark42

Thanks. Can you elaborate on how this would work? The UDP server would receive request messages and reply with the current state?

beckdac avatar Dec 20 '14 02:12 beckdac

The UART<-->WiFi bridge would function identically as it does now. The only change would be to send and receive packets over UDP sockets instead of TCP sockets.

There is an existing UDP mode in the ESP8266, which can be configured with the AT+CIPSTART command, such as AT+CIPSTART=4,"UDP","220.181.111.85","80".

kubark42 avatar Dec 20 '14 03:12 kubark42

UDP would be great for a telemetry application I'm currently forcing to TCP. +1 for this proposal.

stronnag avatar Apr 19 '15 19:04 stronnag

+2...definitely need udp

onyxashanti avatar Jan 12 '16 06:01 onyxashanti

+1 for UDP as well. ie. send UDP packets to any client that connects to the Access Point. The reason I ask is that when you connect using an iPhone if the device is connect to using TCP, all data traffic is routed to the WiFi connection. This means downloading of map tiles or email etc... is routed to the access point and obviously will fail. If you use UDP, iPhone (iOS) keeps the LTE/3G connection as an option so it can use that as the route to pull external internet data,

In anycase, thanks for the effort put in to create this FW. :+1:

billbonney avatar Feb 05 '16 17:02 billbonney

Could definately use UDP for d-ronin/dronin telemetry

tgreer avatar Feb 22 '16 01:02 tgreer

+1

nicopace avatar Apr 25 '16 04:04 nicopace