This post came from QnA of WIZnet website
I have a WIZ200WEB EVB and it works great but I need to be able to control external devices via the serial ports. For example I have a media player that can be controlled by RS232, so I would like to simply press a button on a webpage, send the data through one of the serial ports and then get a response to process and display on the webpage. ( for exmple press PLAY, send it down, get a response and convert to the word Playing on the page ) I can send data out using the same scheme as the LED controls but has to be hard coded and will get messy after many buttons.
So my idea was to perhaps have a look up table ( in a .xml file maybe) that links the button with data to be sent. Have tried many different things with varied success and I must admit my html coding is down near the newbie level and there are not too many comments in the example code so some it can be a hard to follow. So I can’t even figure out how to a fseek!
Any ideas on how to send and receive serial data would be much appreciated.