LPCXpresso54628 - LWIP - bare metal - CGI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPCXpresso54628 - LWIP - bare metal - CGI

814 Views
alexh95
Contributor I

Hello,

I downloaded the lpcxpresso54628_lwip_httpsrv_bm example from SDK.
I managed to configure a costum webpage, and to display it also on the LCD.

Now i'm trying to send some data from the client (web browser) to my server (LPC Board), but i'm having some troubles.
I managed to activate the CGI in the project (#define LWIP_HTTPD_CGI            1 - httpd_opts.h), but now i'm stuck.

Is there any example how to use the CGI with the html's function GET?

I tried to google it, but apart the functions for CGI present in the httpd.h file, i didn't find anything else.

How and where have i to use this functions?


Thank you in advance

Labels (4)
0 Kudos
1 Reply

671 Views
soledad
NXP Employee
NXP Employee

Hello  Alessandro,

CGI as you already view on the internet pass variables between the Web Page ( HTTP Server) and the Microcontroller application, this means that you can use the CGI when you pass the variable and use this variable in the MCU to for example  Turn On a GPIO, start a TIMER, whatever it is needed in your application

0 Kudos