Serial to UDP or TCP help


First, I apologize if this question is in the wrong category. I am very new to this and need some help pointing me in the right direction.

I have a device that outputs a string of data via RS422. I would like to send that data by UDP or TCP. My end goal would to be able to view the data on the Java Applet or a telnet connection. I imagine it would work like connecting to the correct IP address and viola there is the data.

I’m I over my head on this? I do have limited C programming experience, its been a while so its a little rusty.

Thank you in advance.


Yes, It is possible.
You can buy DC-ME-01T-S and you do not have to program it.
Its plug-n-play ready to use.

Better talk to Digi sales they will help you in selecting your exact device.
Or email to Digi Support

There is python router software which you can install on the ConnectPort series. it routes URL strings to either http(s) or udp.
There’s also an option to reroute the data to multiple udp servers.

(disclaimer: I wrote the udp and osc part)


Thank you for the quick response. I should have mentioned that I currently have the DigiConnect ME9210 development board. Should I get the Plug and Play DigiConnect ME instead?


Good. Then if you are using NET+OS you are lucky.
You has got “TCP-Serial Tunnel Application” sample in ESP.
try it out.

If linux i guess you gotta write a code for it.
May be google it you will get source code :wink:

So I do have NET+OS 7.5. I tried the TCP-Serial Tunnel Application sample. I get the dev board to communicate through the serial port (as seen on the terminal window in debug), and I can connect to the DigiConnect ME9210 through telnet. I have yet to figure a way to get data back and forth. Do I need to add some more code? I will continue to tinker.

Thank you so much for your help.


Figured it out. I just set the BSP_CLI_COM_PORT to the same as BSP_STDIO_PORT.