saxe
August 20, 2013, 8:50pm
1
Hi there,
I am new to BBB, but I’ve used many microprocessors before, and in my first BBB project, I need to turn BBB in to a UART to telnet bridge.
To begin with, I need to
Open one UART
BBB will acquire an IP via DHCP
The user connects to BBB via TCP, such as telnet
After that, BBB will serve as the bridge, passing data from user to UART and returning data from UART to user, all via TCP
I don’t think bonescript will get the job done. Could anyone give me a pointer where to look/start?
Thanks!
How about the ser2net project: http://sourceforge.net/projects/ser2net/ ? I’ve used this on x86 Linux with good results, but not tried it on an ARM board.
Mark
Socat is another similar tool that might work for you. http://www.dest-unreach.org/socat/
saxe
August 22, 2013, 1:33pm
4
Mark & George,
Thanks for your suggestion!
Do you happen to know the performance (bandwidth) of your project?
Sorry, I don’t have performance numbers. I had recently used socat only as a quick demo to make a UART device available over TCP. My UART device has a variable latency (up to 100ms) that is dependent on the request. Hard to generalize that.
George