[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Submit response

From: samv
Subject: [lwip-users] Submit response
Date: Mon, 16 Jul 2012 11:51:36 -0400 (GMT-04:00)

I am using lwip on a TI LM3S6965 without RTOS.

I have a web page with 12 checkboxes and a couple of select lists within a form
that is handled by a CGI handler in the program.

I know that a checkbox only sends data when it is checked.

If I check all 12 boxes and press the submit button the page immediately
shows an error. "unable to display page" and the CGI never gets called.

If I only check 10 or less boxes the CGI gets called and all is fine.

I have tried increasing MEMP_NUM_PBUF to 36 and increasing MEM_SIZE to 24K in 
the lwipopt.h file.
But it didn't help.  I suspect it has something to do with memory.

Is there any other param or setting I should check?

Here is the HTML code:

<form action="saveconf.cgi" method="GET" style="margin-left:30px">
<table border>
<tr style="text-align: center; background-color:white">
   <td width="150">Configuration</td>
   <td width="100">Preset Name</td>
   <td width="70">Input Freq.</td>
   <td width="45">En A</td>
   <td width="45">En B</td>
   <td width="45">En C</td>
   <td width="45">En D</td>
   <td width="45">En E</td>
   <td width="45">En F</td>
   <td width="50">BW</td>
   <td width="50">Guard</td>
   <td width="50">Polarity</td>
<tr style="text-align: center; background-color:white">
   <td >Receiver 1</td>
   <td ><input type="text" name="preRX1" id="ConfNameRX1" size="16" 
   <td ><input type="text" name="freqRX1" id="RX1Freq" size="8" 
style="text-align: center;" value="-"></td>
   <td ><input type="checkbox" name="enARX1" id="enARX1" value="1"></td>
   <td ><input type="checkbox" name="enBRX1" id="enBRX1" value="1"></td>
   <td ><input type="checkbox" name="enCRX1" id="enCRX1" value="1"></td>
   <td ><input type="checkbox" name="enDRX1" id="enDRX1" value="1"></td>
   <td ><input type="checkbox" name="enERX1" id="enERX1" value="1"></td>
   <td ><input type="checkbox" name="enFRX1" id="enFRX1" value="1"></td>
   <td ><select name="bw_sel" id="bw_sel" style="text-align: center;">
                                                <option value="-1" > - </option>
                                                <option value="0" >8 
                                                <option value="1" >7 
                                                <option value="2" >6 
   <td ><select name="guard_sel" id="guard_sel" style="text-align: center;">
                                                <option value="-1" >---</option>
                                                <option value="0"  
                                                <option value="1"  
                                                <option value="2"  >1/8</option>
                                                <option value="3"  >1/4</option>
                                                <option value="4"  
   <td ><select name="pol_sel" id="pol_sel" style="text-align: center;">
                                                <option value="-1" >---</option>
                                                <option value="0"  
                                                <option value="1"  
<tr style="text-align: center; background-color:white">
   <td >Receiver 2</td>
   <td ></td>
   <td ></td>
   <td ><input type="checkbox" name="enARX2" id="enARX2" value="1"></td>
   <td ><input type="checkbox" name="enBRX2" id="enBRX2" value="1"></td>
   <td ><input type="checkbox" name="enCRX2" id="enCRX2" value="1"></td>
   <td ><input type="checkbox" name="enDRX2" id="enDRX2" value="1"></td>
   <td ><input type="checkbox" name="enERX2" id="enERX2" value="1"></td>
   <td ><input type="checkbox" name="enFRX2" id="enFRX2" value="1"></td>
   <td ></td>
   <td ></td>
   <td ></td>

<p><font face="Arial">
<input type="submit" name="butsel" value="Submit">
<input type="reset" value="Reset">

reply via email to

[Prev in Thread] Current Thread [Next in Thread]