BASIC Programmability 
Freedom of Programming Expression
Programmable Controllers


Code & Applications > Setup & Examples > Simple Device Server

Simple Device Server

Release Date:20 April 2007
Project files:
Source Code without active open, without buffer redirection
Source Code without active open, with buffer redirection
Source Code with active open, without buffer redirection
Source Code with active open, with buffer redirection
Platform: EM20x, EM1000, EM1202
Try it on: EM203/EM203A, EM1000, DS1000, EM1000-EV, EM1000-TEV, EM1202, EM1202-EV

About The Application

This project implements the simplest "serial device server" possible. There is a single TCP connection. Once this connection is established, whatever is received through TCP is sent out via the serial port and vice versa.

The project comes in four different variations - each progressively more sophisticated.

  • Without active opens, without buffer redirection
  • Without active opens, with buffer redirection
  • With active opens, without buffer redirection
  • With active opens, with buffer redirection
Support Form