LPCXpresso54628 - LWIP - bare metal - CGI

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPCXpresso54628 - LWIP - bare metal - CGI

872件の閲覧回数
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 返信

729件の閲覧回数
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 件の賞賛