Home/Support/Support Forum/Serial to UDP or TCP help
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Serial to UDP or TCP help

0 votes
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.

-Sean
asked Jun 23, 2011 in NET+OS by sbaker New to the Community (4 points)
recategorized Dec 5, 2013 by tuxembb

Please log in or register to answer this question.

6 Answers

0 votes
Yes, It is possible.
http://www.digi.com/products/wireless-wired-embedded-solutions/solutions-on-module/digi-connect/digiconnectme.jsp#models
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
http://www.digi.com/support/eservice/login.jsp?p=true
answered Jun 23, 2011 by bobthomas13 Seasoned Professional (182 points)
0 votes
Bob,

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?

Thanks,
Sean
answered Jun 23, 2011 by sbaker New to the Community (4 points)
0 votes
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 ;)
answered Jun 23, 2011 by bobthomas13 Seasoned Professional (182 points)
0 votes
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.

-Sean
answered Jun 23, 2011 by sbaker New to the Community (4 points)
0 votes
Figured it out. I just set the BSP_CLI_COM_PORT to the same as BSP_STDIO_PORT.

Thanks,
Sean
answered Jun 23, 2011 by sbaker New to the Community (4 points)
0 votes
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.

http://code.google.com/p/xig/

(disclaimer: I wrote the udp and osc part)
answered Jun 29, 2011 by axel New to the Community (10 points)
...