LPCXpresso54628 - LWIP - bare metal - CGI

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPCXpresso54628 - LWIP - bare metal - CGI

855 次查看
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

标签 (4)
0 项奖励
1 回复

712 次查看
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 项奖励