This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Add ethernet functionality to project

Part Number: EK-TM4C1294XL
Other Parts Discussed in Thread: ENERGIA

Tool/software: Code Composer Studio

Hellow everybody,

I have made a CCS program for control a buck converter that basically reads with the ADC the output value of the voltage and modulate the PWM in order to fit it to the selected value. Now I would like to improve it and do it from my browser with a simple CGI program. I have worked beafore with Energia to build up this kind of CGI project using the ethernet library and the server and client class, so I was able to show the web pages i create in html and capture different information that the users introduced. The problem is that I hardly find examples of how to make this with CCS projects, and those examples that I find, such as enet.io, where impossible for me to understand, so if please anyone could gave me a more simple example of that or explain me how to add ethermnet class to CCS projects I would be forever thankfull.

  • Hi Ignacio,
    Actually I think enet_io is the best example to illustrate how the server handles the CGI. The example uses the standard HTML forms to pass parameters to CGI handlers running on the board. These handlers process the form data and control the animation and LED as requested before sending a response back to the browser. We don't have any other examples that demonstrates CGI. I will suggest you first run the enet_io example and have a feel of how it works.