lwip-users
[Top][All Lists]
Advanced

[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>
<tr style="text-align: center; background-color:white">
   <td >Receiver 1</td>
   <td ><input type="text" name="preRX1" id="ConfNameRX1" size="16" 
value="-"></td>
   <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 
MHz</option>
                                                <option value="1" >7 
MHz</option>
                                                <option value="2" >6 
MHz</option>
                                        </select></td>
   <td ><select name="guard_sel" id="guard_sel" style="text-align: center;">
                                                <option value="-1" >---</option>
                                                <option value="0"  
>1/32</option>
                                                <option value="1"  
>1/16</option>
                                                <option value="2"  >1/8</option>
                                                <option value="3"  >1/4</option>
                                                <option value="4"  
>AUTO</option>
                                        </select></td>
   <td ><select name="pol_sel" id="pol_sel" style="text-align: center;">
                                                <option value="-1" >---</option>
                                                <option value="0"  
>Normal</option>
                                                <option value="1"  
>Inverted</option>
                                        </select></td>
</tr>
<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>
</tr>
</table>

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




reply via email to

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